|
From: | tbaeder at redhat dot com |
Subject: | [Bug ld/28040] libLLVM.so fails to link using LTO with ld.bfd + LLVMGold plugin |
Date: | Fri, 02 Jul 2021 07:05:23 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=28040 --- Comment #2 from Timm Bäder <tbaeder at redhat dot com> --- On Fedora 34, in a fresh LLVM checkout on the main branch, I can reproduce this via: CC=clang CXX=clang++ cmake ../llvm -GNinja -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_ENABLE_LTO=ON The build eventually fails with: /usr/bin/ld: cannot find lib/libLLVMSupport.a: Too many open files /usr/bin/ld: cannot find lib/libLLVMTarget.a: Too many open files /usr/bin/ld: cannot find -lpthread /usr/bin/ld: cannot find lib/libLLVMAArch64Desc.a: Too many open files /usr/bin/ld: cannot find lib/libLLVMAArch64Info.a: Too many open files /usr/bin/ld: cannot find lib/libLLVMAArch64Utils.a: Too many open files etc. I'm not sure what's different to your cmake invocation though. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |