http://sourceware.org/bugzilla/show_bug.cgi?id=12952
--- Comment #11 from interfaSys sàrl
2011-07-04 08:56:10 UTC ---
I've just tried with a snapshot and I get a segmentation fault, right at the
start, but it could be a general problem with gold in 2.21.52 as it seems even
recompiling binutils w
Windows DLLs use 16-bit ordinals to name exports, but when ld is told
to export more than 65536 exports from a DLL it does not fail.
Instead, it generates a broken DLL which correctly exports the
alphabetically-first 65k exports but also contains bogus "junk"
exports for the remaining exports.
At
http://sourceware.org/bugzilla/show_bug.cgi?id=12952
--- Comment #12 from Ian Lance Taylor 2011-07-04 16:18:02
UTC ---
Can you get a backtrace of the segfault? I'm not seeing that at all.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving th
http://sourceware.org/bugzilla/show_bug.cgi?id=12952
--- Comment #13 from interfaSys sàrl
2011-07-04 16:26:21 UTC ---
I just looked at the backtrace and there was nothing of use in it due to the
CFLAGS probably, then I removed -flto6 and it started to compile.
After a few seconds, it crashed at
http://sourceware.org/bugzilla/show_bug.cgi?id=12952
Ian Lance Taylor changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=12848
Dave Martin changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=12848
--- Comment #6 from Dave Martin 2011-07-04
15:56:08 UTC ---
Created attachment 5831
--> http://sourceware.org/bugzilla/attachment.cgi?id=5831
Extended testcase
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--
http://sourceware.org/bugzilla/show_bug.cgi?id=12848
--- Comment #7 from Dave Martin 2011-07-04
15:58:14 UTC ---
Created attachment 5832
--> http://sourceware.org/bugzilla/attachment.cgi?id=5832
Patch which attempts to tidy up branch range checks, and fix the outstanding
failures
--
Configur
http://sourceware.org/bugzilla/show_bug.cgi?id=12952
--- Comment #15 from interfaSys sàrl
2011-07-04 17:45:06 UTC ---
I added "-Wl,-debug --save-temps" to the CFLAGS, but the output on screen was
the same.
I've just packed the whole folder, so that we can be sure I've not forgotten
anything:
ht