[llvm-dev] Compiling LLC into one huge binary
Rick Veens via llvm-dev
llvm-dev at lists.llvm.org
Fri Nov 10 07:44:56 PST 2017
I'm trying to compile LLC into one huge binary.
I'd like to send LLC to someone who uses RHEL 4.4 from 2006.
Has anyone attempted this before?
I tried the following:
cmake -DCMAKE_EXE_LINKER_FLAGS="-static" -DBUILD_SHARED_LIBS=OFF
Which results in an error:
/home/rick/Documents/llvm/lib/Support/DynamicLibrary.cpp:60: warning: Using
'dlopen' in statically linked applications requires at runtime the shared
libraries from the glibc version used for linking
/usr/bin/ld: dynamic STT_GNU_IFUNC symbol `strcmp' with pointer equality in
can not be used when making an executable; recompile with -fPIE and relink
Anyone have a clue?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev