This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Bootstrap difficulties on powerpc-apple-darwin6.8 (Mac OS X 10.2.8)


>>>>> "Peter" == Peter O'Gorman <peter@pogma.com> writes:

Peter> Sorry that it took me so long to reply, I tried just adding this back
Peter> and it did not work, however the attached patch built perfectly fine
Peter> (on my Mac OS X 10.3 system which already worked anyway).

Just to clear up any vagueness that might linger: after adding the
patch to Makefile.am, did you re-run automake?  And if so did it then
fail in the same way (command line too long)?  It wasn't clear to me.

I'll test this patch here too, I'll probably add it back as it seems
like the only reasonable way to address PR 17222.

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

Don't worry about these.

Peter> ld: warning multiple definitions of symbol _sqrt
Peter> ./.libs/libgcj.dylib(libgcj.la-6.o) definition of _sqrt
Peter> /usr/lib/libpthread.dylib(sqrt970.o) definition of _sqrt
Peter> (the _sqrt warnings were there before too).

Yeah, we define our own sqrt() (from fdlibm).  I'm amenable to
renaming it if that is needed on your platform, if you want to write a
patch.  Usually we just slap a "_Jv_" prefix on things and add a
comment explaining why.

Tom


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