-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linking fails with various undefined reference to *AARCH64* (x86_64 build on x86_64) #417
Comments
I was able to work around this by:
|
Fixes/works around: intel#417 The other way around would be to link against all the Targets that LLVM Supports.
This is fallout caused by switching from Previously that was My guess is that the component list given to |
Address this issue in #439 |
#439 is merged into ocl-open-160 branch, @frantisekz @anbe42 could you please help to check if this issue is resolved? |
Yes, the issue is resolved, thanks! |
I am trying to build opencl-clang as standalone library with:
/usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DPREFERRED_LLVM_VERSION=16.0.0
I have #415 and #416 applied on top of the 16.0.0 tag here to be able to even start the build process. spirv-llvm-translator is taken from system (separate .so, not part of llvm). The linking fails with:
The text was updated successfully, but these errors were encountered: