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]

RE: locks on X86


Hans wrote:
> That would certainly be nicer.  But we would need to factor out the small
> piece of libgcj that's affected.  We don't want to have to distribute 2
> copies of the full libgcj.so.

We could just leave it up to the system vendor / installer.

Hello is a gcj built program...

$ LD_DEBUG=libs ./Hello

this results in a bunch of output including...

02327:    trying file=/usr/etc/i686/mmx/libm.so.6
02327:    trying file=/usr/etc/i686/libm.so.6
02327:    trying file=/usr/etc/mmx/libm.so.6
02327:    trying file=/usr/etc/libm.so.6

So it seems ld.so already knows to look for special mmx and i686 variants of
libraries on x86 Linux.  If ld.so were changed to look for "up"
(uniprocessor) variants then we could just tell system vendors / installers
to configure with --enable-uniprocessor and install the library in the right
place.

AG


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