[llvm-dev] Cannot compile LLVM suite with clang+binutils/ld

Leslie Zhai via llvm-dev llvm-dev at lists.llvm.org
Mon Jan 21 23:00:38 PST 2019


I experienced the similar issue 

When building LLVM toolchain with clang-9 + binutils/ld:

CMakeFiles/SecondLib.dir/PipSqueak.cpp.o: In function `SetStrings':
PipSqueak.cpp:(.text.SetStrings+0xc8): undefined reference to 

----- 8< -------- 8< -------- 8< -------- 8< -------- 8< -------- 8< ---

Andreas said he got the *same* errors at the end of the build process 
even added those options suggested by Petr.

And there was already a bug report several years ago 

But why no response about Yuanfang's work? https://reviews.llvm.org/D53553

My cmake option mentioned here 


Leslie Zhai

More information about the llvm-dev mailing list