-
Notifications
You must be signed in to change notification settings - Fork 804
Closed
Labels
Description
Describe the bug
To reproduce:
Here is the configure line:
CUDA_LIB_PATH=${CUDA_HOME} CC=`which gcc` CXX=`which g++` python3 $DPCPP_HOME/llvm/buildbot/configure.py --shared-libs --cmake-gen "Unix Makefiles" -DCUDAToolkit_ROOT=${CUDA_HOME} -DCMAKE_INSTALL_PREFIX=/soft/compilers/oneapi/upstream/install-${cuda_version}_${NOW} -DCMAKE_C_COMPILER=`which gcc` -DCMAKE_CXX_COMPILER=`which g++` --native_cpu --cuda -t Release --llvm-external-projects openmp
(sample) Errors:
/usr/lib64/gcc/x86_64-suse-linux/14/../../../../x86_64-suse-linux/bin/ld: sub_group_analysis.cpp:(.text._ZN8compiler5utils18GlobalSubgroupInfoC2ERN4llvm6ModuleERNS0_11BuiltinInfoE+0x999): undefined reference to `llvm::SmallPtrSetImplBase::insert_imp_big(void const*)'
/usr/lib64/gcc/x86_64-suse-linux/14/../../../../x86_64-suse-linux/bin/ld: sub_group_analysis.cpp:(.text._ZN8compiler5utils18GlobalSubgroupInfoC2ERN4llvm6ModuleERNS0_11BuiltinInfoE+0x9dc): undefined reference to `llvm::SmallPtrSetImplBase::insert_imp_big(void const*)'
/usr/lib64/gcc/x86_64-suse-linux/14/../../../../x86_64-suse-linux/bin/ld: sub_group_analysis.cpp:(.text._ZN8compiler5utils18GlobalSubgroupInfoC2ERN4llvm6ModuleERNS0_11BuiltinInfoE+0xdce): undefined reference to `llvm::deallocate_buffer(void*, unsigned long, unsigned long)'
/usr/lib64/gcc/x86_64-suse-linux/14/../../../../x86_64-suse-linux/bin/ld: sub_group_analysis.cpp:(.text._ZN8compiler5utils18GlobalSubgroupInfoC2ERN4llvm6ModuleERNS0_11BuiltinInfoE+0x12a2): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/lib64/gcc/x86_64-suse-linux/14/../../../../x86_64-suse-linux/bin/ld: sub_group_analysis.cpp:(.text._ZN8compiler5utils18GlobalSubgroupInfoC2ERN4llvm6ModuleERNS0_11BuiltinInfoE+0x12c5): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/lib64/gcc/x86_64-suse-linux/14/../../../../x86_64-suse-linux/bin/ld: sub_group_analysis.cpp:(.text._ZN8compiler5utils18GlobalSubgroupInfoC2ERN4llvm6ModuleERNS0_11BuiltinInfoE+0x1420): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/lib64/gcc/x86_64-suse-linux/14/../../../../x86_64-suse-linux/bin/ld: sub_group_analysis.cpp:(.text._ZN8compiler5utils18GlobalSubgroupInfoC2ERN4llvm6ModuleERNS0_11BuiltinInfoE+0x1446): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
/usr/lib64/gcc/x86_64-suse-linux/14/../../../../x86_64-suse-linux/bin/ld: sub_group_analysis.cpp:(.text._ZN8compiler5utils18GlobalSubgroupInfoC2ERN4llvm6ModuleERNS0_11BuiltinInfoE+0x1469): undefined reference to `llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)'
Attached is the full log of the error:
To reproduce
- Include a code snippet that is as short as possible
- Specify the command which should be used to compile the program
- Specify the command which should be used to launch the program
- Indicate what is wrong and what was expected
Environment
- OS: [e.g Windows/Linux]
- Target device and vendor: [e.g. Intel GPU]
- DPC++ version: [e.g. commit hash or output of
clang++ --version
] - Dependencies version: [e.g. the output of
sycl-ls --verbose
]
Additional context
No response