[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

Hi all,

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:


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
with -pie

Anyone have a clue?

Best regards,

Rick Veens
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171110/666d7cfb/attachment.html>

More information about the llvm-dev mailing list