Bootstrap difficulties on powerpc-apple-darwin6.8 (Mac OS X 10.2.8)

Peter O'Gorman peter@pogma.com
Mon Sep 27 15:33:00 GMT 2004


Tom Tromey wrote:

>>>>>>"Peter" == Peter O'Gorman <peter@pogma.com> writes:
> 
> 
> Peter> The really annoying thing about this one is that it was fixed in 2001
> Peter> but was unfixed again here:
> 
> Peter> Part of the diff is here:
> Peter> [ ... ]
> 
> Could you try putting that code back and seeing if it helps?
> If so I'll check it in.

Sorry that it took me so long to reply, I tried just adding this back and it 
did not work, however the attached patch built perfectly fine (on my Mac OS 
X 10.3 system which already worked anyway). I retested having edited the 
generated libtool's idea of max_cmd_len to 16 Kb and removing my libgcj.la 
files and it built using ld -r and ar cq with a couple of warnings:

using piecewise archive linking...
libtool: link: warning: object name conflicts; overriding AR_FLAGS to 'cq'
libtool: link: warning: to ensure that POSIX-compatible ar will work

and

ld: warning multiple definitions of symbol _sqrt
./.libs/libgcj.dylib(libgcj.la-6.o) definition of _sqrt
/usr/lib/libpthread.dylib(sqrt970.o) definition of _sqrt

(the _sqrt warnings were there before too).

Hope this helps someone somewhere :)

Peter
-- 
Peter O'Gorman - http://www.pogma.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libjava_Makefile_am.diff
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20040927/21074114/attachment.ksh>


More information about the Gcc mailing list