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>