petersktang opened a new issue, #20042:
URL: https://github.com/apache/tvm/issues/20042

   Encounter below error during `pip install .`
   ```
         
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/optional:900:7: 
error: satisfaction of constraint 'is_constructible_v<_Tp, _Up>' depends on 
itself
           900 |           && is_constructible_v<_Tp, _Up>
               |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
         
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/type_traits:3683:70:
 note: while checking constraint satisfaction for template 'optional<const 
tvm::ffi::Optional<tvm::ffi::VisitInterrupt> &>' required here
          3683 |   inline constexpr bool is_constructible_v = 
__is_constructible(_Tp, _Args...);
               |                                                                
      ^~~~~
         
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/type_traits:3683:70:
 note: while substituting deduced template arguments into function template 
'optional' [with _Up = const tvm::ffi::Optional<tvm::ffi::VisitInterrupt> &]
         
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/optional:900:7: 
note: in instantiation of variable template specialization 
'std::is_constructible_v<tvm::ffi::VisitInterrupt, const 
tvm::ffi::Optional<tvm::ffi::VisitInterrupt> &>' requested here
           900 |           && is_constructible_v<_Tp, _Up>
               |              ^
         
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/optional:900:7: 
note: while substituting template arguments into constraint expression here
           900 |           && is_constructible_v<_Tp, _Up>
               |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
         
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/type_traits:3718:41:
 note: while checking constraint satisfaction for template 'optional<const 
tvm::ffi::Optional<tvm::ffi::VisitInterrupt> &>' required here
          3718 |     = __is_trivially_constructible(_Tp, __add_lval_ref_t<const 
_Tp>);
               |                                         ^~~~~~~~~~~~~~~~
         
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/type_traits:3718:41:
 note: while substituting deduced template arguments into function template 
'optional' [with _Up = const tvm::ffi::Optional<tvm::ffi::VisitInterrupt> &]
         
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/optional:499:12: 
note: in instantiation of variable template specialization 
'std::is_trivially_copy_constructible_v<tvm::ffi::Optional<tvm::ffi::VisitInterrupt>>'
 requested here
           499 |            bool = is_trivially_copy_constructible_v<_Tp>,
               |                   ^
         
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/optional:806:15: 
note: in instantiation of default argument for 
'_Optional_base<tvm::ffi::Optional<tvm::ffi::VisitInterrupt>>' required here
           806 |     : private _Optional_base<_Tp>,
               |               ^~~~~~~~~~~~~~~~~~~
   ```
   
   ### Environment
   
   Ubuntu 26.04 LTS (Linux  7.0.0-28-generic 28-Ubuntu SMP PREEMPT_DYNAMIC Sun 
Jun 21 01:01:36 UTC 2026 x86_64 GNU/Linux)
   - AMD Ryzen AI 9 HX 370, ROCM 7.14
   - conda virtual environment [python 3.12.13]
   
   ```
   USE_CUDA = "ON"
   USE_ROCM = "ON"
   USE_LLVM = "ON"
   # USE_CUBLAS = "ON"
   # USE_HIPBLAS = "ON"
   # USE_CUDNN = "ON"
   CMAKE_C_COMPILER = "/opt/rocm/llvm/bin/clang"
   CMAKE_CXX_COMPILER = "/opt/rocm/llvm/bin/clang++"
   ```
   
   * needs-triage
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to