This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

-findirect-dispatch and -Bsymbolic


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]