You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failure to build 1.0.8744 : IGC/VectorCompiler/CMCL/tools/Translator/Main.cpp:46: undefined reference to `cmcl::translateBuiltins(llvm::Module&)' unless '-z,undefs' specified as LD flag #212
I am experimenting a bit with packaging bunch of Intel packages into Fedora (with ultimate goal of getting the media-driver there, including the kernels compilation). I need to use system llvm (13) for this instead of bundled llvm.
I am currently stuck with:
/usr/bin/ld: /tmp/ccc4Kh4i.ltrans0.ltrans.o: in function `main':
/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.8744/IGC/VectorCompiler/CMCL/tools/Translator/Main.cpp:46: undefined reference to `cmcl::translateBuiltins(llvm::Module&)'
collect2: error: ld returned 1 exit status
gmake[2]: *** [IGC/VectorCompiler/CMCL/tools/Translator/CMakeFiles/CMCLTranslatorTool.dir/build.make:103: IGC/Release/CMCLTranslatorTool] Error 1
gmake[2]: Leaving directory '/builddir/build/BUILD/intel-graphics-compiler-igc-1.0.8744/redhat-linux-build'
gmake[1]: *** [CMakeFiles/Makefile2:2775: IGC/VectorCompiler/CMCL/tools/Translator/CMakeFiles/CMCLTranslatorTool.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
The entire buildlog could be viewed here: build-igc.log
I've had to add bunch of other fixes (namely some -Wno-error and a fix around clang-opencl soname not being parsed correctly). I'll create issues for these later if that's desired.
I can upload the entire src.rpm set if that's necessary.