Hi Roger,
In archive outdir/debug/libxvtxmapi.a:
objdump: tapp.o: File format not recognized
[EMAIL PROTECTED] xvtxmapid.dir]$ objdump -p tapp.o
tapp.o: file format elf32-i386
Oh dear. So it would appear that tapp.o is being corrupted when it is
added to the libxvtmapi.a archive.
I
--- Additional Comments From nickc at redhat dot com 2008-08-26 11:13
---
Hi Aaron,
OK then. I have checked the patch into the sources so it will be in the next
official release of the binutils.
Cheers
Nick
PS. For the record this is the ChangeLog entry I included when I checked
The old linker enabled --allow-shlib-undefined behaviour when the -shared option
is passed. Gold doesn't currently do that, causing various projects to not
build correctly.
The patch to fix this problem is quite trivial:
RCS file: /cvs/src/src/gold/options.cc,v
retrieving revision 1.75
diff -r1.
Gold handles explicitly undefined symbols (-u ) differently from
how the old GNU linker handles then. With gold, if the symbol does not
appear defined in any input object, it is added to both the symtab (symbol
table) and the dynsym (dynamic symbol table) as an undefined symbol.
Hi Nick,
On Tue, 26 Aug 2008, Nick Clifton wrote:
> >>> In archive outdir/debug/libxvtxmapi.a:
> >>> objdump: tapp.o: File format not recognized
>
> > [EMAIL PROTECTED] xvtxmapid.dir]$ objdump -p tapp.o
> > tapp.o: file format elf32-i386
>
>
> Oh dear. So it would appear that tapp.o is b