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: work around libtool to fix alpha libgcj build


On Feb 12, 2005, "David Daney" <ddaney@avtrex.com> wrote:

> What I meant by 'fix' was to change libtool so that it does not use incremental linking when command line length limits are exceeded.
 
Aah.  Yes, possible, just tricky.  I'm sure a patch to fix this would
be very welcome.

> If libtools knows how to properly link convenience libraries, why not have it work in the "normal" (i.e. the way libgcj was linked before rth's patch) case.
 
On some platforms in which --whole-archive is not supported, it will
have to extract the objects from the library and then use piecewise
linking anyway.

Which makes matters even worse on platforms whose `ar' are POSIX
compliant and drop the dirname of object filenames.  In this case, if
multiple object files have the same basename, when they're extracted,
you lose.

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}


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