[LLVMdev] Dynamic loading on x86-Linux
ccarter at cs.uiuc.edu
Fri Sep 13 12:13:01 PDT 2002
ISSUE: By default, symbols are not exported from an executable unless
they are linked against a DSO. What this means is that dlopen()ed DSOs
cannot link to symbols in the main executable unless that executable was
linked with --export-dynamic.
ACTION: Ensure that opt is linked with "-Wl,--export-dynamic" on the G++
command line by defining "ExportSymbols" in Makefile.common. For
Solaris this definition should be commented out.
PATCH: top-level, patch -p0.
Casey at Carter.net
ccarter at uiuc.edu
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the llvm-dev