Open pwo opened 14 years ago
This needs additional work on the compiler-rt build front.
Now the patch ends up with:
llvm[2]: Linking Release Shared Library LTO.so
/usr/bin/ld: /usr/opt/llvm/lib/clang/1.1/lib/freebsd/libclang_rt.x86_64.a(powidf2.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
/usr/opt/llvm/lib/clang/1.1/lib/freebsd/libclang_rt.x86_64.a: could not read symbols: Bad value
Extended Description
Here are two initial patch for compiler_rt and clang to use it on FreeBSD. This was modeled after the Darwin support. Tested with a buildworld on FreeBSD.
Integration in FreeBSD sources will probably look different.