bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/14533] large (88M) ICC compiled .obj files inside .a archive c


From: ccoutant at google dot com
Subject: [Bug gold/14533] large (88M) ICC compiled .obj files inside .a archive confuse / error the gold linker
Date: Fri, 31 Aug 2012 18:08:49 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=14533

--- Comment #6 from Cary Coutant <ccoutant at google dot com> 2012-08-31 
18:08:49 UTC ---
> /tmp/gold-dev/bin/ld: libsomething.a(AnObjectFile.o): invalid string offset
> 25281974 >= 48 for section `.shstrtab'
> /tmp/gold-dev/bin/ld: libsomething.a(AnObjectFile.o): invalid string offset 79
>>= 48 for section `(null)'
> /tmp/gold-dev/bin/ld: libsomething.a(AnObjectFile.o): invalid string offset
> 25281974 >= 48 for section `.shstrtab'
> /tmp/gold-dev/bin/ld: libsomething.a(AnObjectFile.o): invalid string offset 79
>>= 48 for section `(null)'
> libsomething.a: member libsomething.a(AnObjectFile.o) in archive is not an
> object

These do not look like gold error messages.

> /tmp/gold-dev/bin/ld.gold: error: AnObjectFile.o: section name section has
> wrong type: 4
> /tmp/gold-dev/bin/ld.gold: error: AnObjectFile.o: symbol table name section 
> has
> wrong type: 4
> /tmp/gold-dev/bin/ld.gold: error: AnObjectFile.o: bad section name offset for
> section 1: 79
> /tmp/gold-dev/bin/ld.gold: error: AnObjectFile.o: extended index for symbol
> 70238 out of range: 92838
> /tmp/gold-dev/bin/ld.gold: error: AnObjectFile.o: extended index for symbol
> 70239 out of range: 92839
> /tmp/gold-dev/bin/ld.gold: error: AnObjectFile.o: extended index for symbol
> 70240 out of range: 92840
> /tmp/gold-dev/bin/ld.gold: error: AnObjectFile.o: extended index for symbol
> 70241 out of range: 92841

These do look like gold error messages. I think you have a gnu ld at
/tmp/gold-dev/bin/ld, and gold is at /tmp/gold-dev/bin/ld.gold.

If you can run readelf -SW on your file, and extract lines that match
"66722" and "STRTAB", I think we might be able to prove that this file
exhibits the large section table bug.

-cary

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]