Skip to content

llvm-project build failing on link stage #167

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

Closed
qaco opened this issue Mar 11, 2020 · 3 comments
Closed

llvm-project build failing on link stage #167

qaco opened this issue Mar 11, 2020 · 3 comments

Comments

@qaco
Copy link
Contributor

qaco commented Mar 11, 2020

Hello, I am building llvm-project on my laptop (Ubuntu 18.04, amd64, kernel 4.15). But it fails at the end of the process (linking) with this output :

[ 98%] Building CXX object tools/llvm-lto/CMakeFiles/llvm-lto.dir/llvm-lto.cpp.o
[ 98%] Building CXX object tools/lto/CMakeFiles/LTO.dir/lto.cpp.o
[100%] Linking CXX executable ../../../../bin/mlir-opt
/usr/bin/ld : can't find -lLLVMNVPTXCodeGen
/usr/bin/ld : can't find -lLLVMNVPTXDesc
/usr/bin/ld : can't find -lLLVMNVPTXInfo
clang: error: linker command failed with exit code 1 (use -v to see invocation)
tools/mlir/tools/mlir-opt/CMakeFiles/mlir-opt.dir/build.make:228: recipe for target 'bin/mlir-opt' failed
make[2]: *** [bin/mlir-opt] Error 1

Do you know this issue ?

Regards,

Hugo

@stephenneuendorffer
Copy link
Contributor

Hi Hugo,

This should be fixed yesterday (f80c6d8). Or you can work around it by enabling the NVPTX target.

Steve

@qaco
Copy link
Contributor Author

qaco commented Mar 12, 2020

Thank you very much !

@nunoplopes
Copy link
Member

Closing, bug was fixed already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants