-findirect-dispatch and -Bsymbolic
Andrew Haley
aph@redhat.com
Mon Jan 24 17:31:00 GMT 2005
It's come to my attention that people out there are trying to build
shared libraries using -findirect-dispatch but without using the
linker option -Bsymbolic.
This won't work.
I don't want to go into all the gory details, but you can look at the
"man ld" page to see what Bsymbolic does.
I really need to do some configury hacking to make this automatic, but
in the meantime, hear this:
If you are using "-findirect-dispatch" and "-shared" you MUST also add
"-Wl,-Bsymbolic" when you creat the shared object.
OK?
Andrew.
More information about the Java
mailing list