[LLVMbugs] [Bug 525] NEW: Linking native shared libraries with bytecode libary in the -L path
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon Feb 21 15:00:15 PST 2005
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=525
Summary: Linking native shared libraries with bytecode libary in
the -L path
Product: tools
Version: trunk
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: gccld
AssignedTo: unassignedbugs at nondot.org
ReportedBy: manyoso at yahoo.com
A directory in our -L path has a libFoo.so native library that we need to
link. It also contains a libBar.so bytecode library.
Another directory in our -L path has a bytecode version of libFoo.so and a
native version of libBar.so.
What do we do?
llvm-g++ -Wl,-native -shared -o libtest.so test.o -L/foobar -lfoo -L/barfoo
-lbar
/foobar
libFoo.so --native
libBar.so --bytecode
/barfoo
libFoo.so --bytecode
libBar.so --native
Now, it is possible to test for this situation, but even if we know that it is
going to happen, how do we tell gcc or the system linker how to do the
correct thing?
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list