[Bug gold/14536] Unnecessary GOT usages

2012-08-31 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14536 --- Comment #2 from H.J. Lu 2012-08-31 21:50:14 UTC --- (In reply to comment #1) > I think this is related to the discussion here: > >http://sourceware.org/ml/binutils/2011-03/msg00220.html. > It looks this way although I only discuss G

[Bug gold/14536] Unnecessary GOT usages

2012-08-31 Thread ccoutant at google dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14536 --- Comment #1 from Cary Coutant 2012-08-31 21:19:20 UTC --- I think this is related to the discussion here: http://sourceware.org/ml/binutils/2011-03/msg00220.html. -cary On Fri, Aug 31, 2012 at 2:11 PM, hjl.tools at gmail dot com wro

[Bug gold/14536] New: Unnecessary GOT usages

2012-08-31 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14536 Bug #: 14536 Summary: Unnecessary GOT usages Product: binutils Version: 2.23 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gold Assigned

[Bug gold/14533] large (88M) ICC compiled .obj files inside .a archive confuse / error the gold linker

2012-08-31 Thread bsergean at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14533 --- Comment #8 from Benjamin Sergeant 2012-08-31 18:26:36 UTC --- OK. So basically we're out of luck and we need to fix the program that generated that .obj file, right ? I'm gonna dig in our code base and see how that .obj file is generated.

[Bug gold/14533] large (88M) ICC compiled .obj files inside .a archive confuse / error the gold linker

2012-08-31 Thread ccoutant at google dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14533 --- Comment #7 from Cary Coutant 2012-08-31 18:18:30 UTC --- > 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 bu

[Bug gold/14533] large (88M) ICC compiled .obj files inside .a archive confuse / error the gold linker

2012-08-31 Thread ccoutant at google dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14533 --- Comment #6 from Cary Coutant 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

[Bug gold/14533] large (88M) ICC compiled .obj files inside .a archive confuse / error the gold linker

2012-08-31 Thread ccoutant at google dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14533 --- Comment #4 from Benjamin Sergeant 2012-08-31 17:42:16 UTC --- Found that when I googled for "large section ICC bug" http://sourceware.org/bugzilla/show_bug.cgi?id=5900 --- Comment #5 from Cary Coutant 2012-08-31 17:42:52 UTC --- > Soun

[Bug gold/14533] large (88M) ICC compiled .obj files inside .a archive confuse / error the gold linker

2012-08-31 Thread bsergean at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14533 --- Comment #4 from Benjamin Sergeant 2012-08-31 17:42:16 UTC --- Found that when I googled for "large section ICC bug" http://sourceware.org/bugzilla/show_bug.cgi?id=5900 -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?t

[Bug gold/14533] large (88M) ICC compiled .obj files inside .a archive confuse / error the gold linker

2012-08-31 Thread ccoutant at google dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14533 --- Comment #3 from Cary Coutant 2012-08-31 17:22:08 UTC --- Sounds to me like a large section table bug in ICC. I believe we've seen that before. -cary On Fri, Aug 31, 2012 at 10:14 AM, bsergean at gmail dot com wrote: > http://sourceware

[Bug gold/14533] large (88M) ICC compiled .obj files inside .a archive confuse / error the gold linker

2012-08-31 Thread bsergean at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14533 --- Comment #2 from Benjamin Sergeant 2012-08-31 17:14:34 UTC --- 1) If I strip the .obj file the error seems to go away. 2) Here's the error. /tmp/gold-dev/bin/ld: libsomething.a(AnObjectFile.o): invalid string offset 25281974 >= 48 for sec

[Bug ld/14525] __executable_start isn't defined for PIE

2012-08-31 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14525 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|