I'm on FreeBSD 8 (GCC 4.2.1) and building TOT compiler-rt using cmake. This is what i get: [ 89%] Building C object test/CMakeFiles/powidf2_test.dir/Unit/powidf2_test.c.o Linking C executable powidf2_test CMakeFiles/powidf2_test.dir/Unit/powidf2_test.c.o(.text+0x47): In function `test__powidf2': : undefined reference to `__signbit' -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110514/567d704c/attachment.html>
Passing -lm to the linker fixes issue. Will you accept patch for CMakeLists.txt which checks if OS is FreeBSD and adds this flag? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110514/0208695a/attachment.html>
Maybe Matching Threads
- [LLVMdev] [compiler-rt] trunk fails ctest on X86_64 Linux
- [LLVMdev] Building Compiler-RT on Windows
- [LLVMdev] Building Compiler-RT on Windows
- [LLVMdev] Building Compiler-RT on Windows
- [LLVMdev] [PATCH] compiler-rt patch for clean build on Solaris 10 / x86