This is the mail archive of the java-patches@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]

Re: [BC] Link libs with -Bsymbolic


Andrew Haley wrote:

> I've been assuming that for 4.0 we would stick pretty closely to
> what we've done all along and not make changes to how our shared
> libraries are built or linked (or split into pieces).  (In other
> words, not merge the library splitting patch from the GUI branch.)
> It is pretty late to consider big changes here, and the indirect
> dispatch code is new enough that I'd rather not enable it for the
> core.

If indirect dispatch is to work, all libraries except perhaps libgcj
itself muct be compiled with -Bsymbolic.



If libgcj isn't compiled with -Bsymbolic, won't it still be possible for a libgcj symbol to resolve to another shared object, if the other shared object contains symbols that conflict? My understanding of -Bsymbolic is that it will resolve symbols internally where possible, but they will still be exported and thus valid link targets from other .so's.


Bryce


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