Brad and Peter,
On 2005 Jan 10 , at 19.17, Peter W. Draper wrote:
> On Sun, 9 Jan 2005, Brad Cavanagh wrote:
>
>> With a fresh checkout of GAIA from CVS, I get the following errors
>> when
>> building:
>>
>> [...]
>> ld: /sw/lib/gcc/powerpc-apple-darwin7.5.0/3.4.1/libgcc.a(unwind-dw2.o)
>> section's (__TEXT,__eh_frame) type S_REGULAR does not match previous
>> objects type S_COALESCED
>> [...]
I think this is a separate issue from the restFP/saveFP one.
Quote from the Mach-O Architecture manual:
> A coalesced symbol is a symbol that may be defined in multiple object
> files, but that the static linker generates only one copy of in the
> output file. This can save a lot of memory with certain C++ language
> features that the compiler must generate for each individual object
> file, such as virtual function tables, runtime type information (RTTI)
> and C++ template instantiations. The compiler determines which
> constructs should be coalesced; no work on the part of the application
> developer is required.
On the basis of this and other remarks within that document, it appears
that some symbol is defined in a library section containing ordinary
symbols in libgcc.a(unwind-dw2.o), but was somehow a coelesced symbol
before, and _that_ suggests some sort of compiler version skew. I have
seen this before somewhere, but I recall it went away....
Have you by any chance changed compiler versions recently? Is there
any way you can think of there being a version incompatibility?
>> ld: warning multiple definitions of symbol _matherr
>> /usr/lib/libSystem.dylib(matherr.o) definition of _matherr
>> /local-star/lib/libprm_a.dylib(num_han.o) definition of _matherr
The issue here is that num_han.cdefault wants to override matherr to do
nothing, but the OSX linker isn't happy about that sort of thing.
However these are only warnings, not errors.
Norman
--
----------------------------------------------------------------------
Norman Gray : Physics & Astronomy, Glasgow University, UK
http://www.astro.gla.ac.uk/users/norman/ : www.starlink.ac.uk
|