[Bug gold/12968] gold generates broken binaries on FreeBSD 8.2

2011-07-07 Thread ian at airs dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12968 --- Comment #10 from Ian Lance Taylor 2011-07-08 04:36:03 UTC --- Can you point me at a copy of the binary built using --no-ctors-in-init-array which fails on your system? I'm trying to eliminate possible problems. -- Configure bugmail: htt

[Bug gold/12971] Segmentation fault: 11 when using -flto=6 on FreeBSD 8.2

2011-07-07 Thread website-sourceware at interfasys dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12971 --- Comment #3 from interfaSys sàrl 2011-07-08 02:38:45 UTC --- (gdb) bt full #0 0x0008006cea7d in _pthread_mutex_init_calloc_cb () from /lib/libc.so.7 No symbol table info available. #1 0x0008006cf75e in _pthread_mutex_init_calloc_c

[Bug gold/12968] gold generates broken binaries on FreeBSD 8.2

2011-07-07 Thread website-sourceware at interfasys dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12968 --- Comment #9 from interfaSys sàrl 2011-07-08 02:38:01 UTC --- OK, I added that to LDFLAGS, but I got the same result. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because:

[Bug gold/12968] gold generates broken binaries on FreeBSD 8.2

2011-07-07 Thread ian at airs dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12968 --- Comment #8 from Ian Lance Taylor 2011-07-07 22:51:11 UTC --- It's a linker option, not a configure option. E.g., gcc -o x x.o -Wl,--no-ctors-in-init-array I recently changed gold's default behaviour for global constructors. Using the -

[Bug gas/12972] New: Document the interaction between -gdwarf2 and .file

2011-07-07 Thread wiml at hhhh dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=12972 Summary: Document the interaction between -gdwarf2 and .file Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: minor Priority: P2 Component: gas Assigne

[Bug gold/12968] gold generates broken binaries on FreeBSD 8.2

2011-07-07 Thread website-sourceware at interfasys dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12968 --- Comment #7 from interfaSys sàrl 2011-07-07 21:19:33 UTC --- Where should this be used? This is what I get: ===> Configuring for binutils-2.21.52 configure: error: unrecognized option: `--no-ctors-in-init-array' (In reply to comment #6)

[Bug gold/12971] Segmentation fault: 11 when using -flto=6 on FreeBSD 8.2

2011-07-07 Thread website-sourceware at interfasys dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12971 --- Comment #2 from interfaSys sàrl 2011-07-07 21:09:33 UTC --- This command with less CFLAGS and without the vorbis dependency gives the same result: # gcc46 -O2 -pipe -funroll-loops -flto=6 -march=native -fno-strict-aliasing -I/usr/local/inc

[Bug gold/12968] gold generates broken binaries on FreeBSD 8.2

2011-07-07 Thread ian at airs dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12968 Ian Lance Taylor changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #6 from Ian La

[Bug gold/12971] Segmentation fault: 11 when using -flto=6 on FreeBSD 8.2

2011-07-07 Thread website-sourceware at interfasys dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12971 interfaSys sàrl changed: What|Removed |Added Version|2.22 (HEAD) |2.21 --- Comment #1 from interfaSys

[Bug gold/12971] New: Segmentation fault: 11 when using -flto=6 on FreeBSD 8.2

2011-07-07 Thread website-sourceware at interfasys dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12971 Summary: Segmentation fault: 11 when using -flto=6 on FreeBSD 8.2 Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal Priority: P2 Comp

[Bug gold/12952] Cannot compile ffmpeg with gold on FreeBSD 8 64bit

2011-07-07 Thread website-sourceware at interfasys dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12952 --- Comment #25 from interfaSys sàrl 2011-07-07 20:31:29 UTC --- OK, so this time, I was able to compile ffmpeg. Thank you very much for solving this. There are two remaining issues with ffmpeg, but I don't think they're related to this bug.

[Bug gold/12968] gold generates broken binaries on FreeBSD 8.2

2011-07-07 Thread website-sourceware at interfasys dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12968 --- Comment #5 from interfaSys sàrl 2011-07-07 16:58:13 UTC --- The problem is that it doesn't always fail, so I'm not sure what triggers it. I compiled a simple C++ hello world example and it worked fine. -- Configure bugmail: http://sourc

[Bug gold/12968] gold generates broken binaries on FreeBSD 8.2

2011-07-07 Thread ian at airs dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12968 --- Comment #4 from Ian Lance Taylor 2011-07-07 16:41:52 UTC --- Can you find a simpler program than gold itself? E.g., does a "hello, world" program fail when linked with gold? -- Configure bugmail: http://sourceware.org/bugzilla/userprefs

[Bug gold/12968] gold generates broken binaries on FreeBSD 8.2

2011-07-07 Thread website-sourceware at interfasys dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12968 --- Comment #3 from interfaSys sàrl 2011-07-07 16:31:56 UTC --- OK, so here are the files: https://sigma.interfasys.net/ld.gold.bz2 ld.gold.2.21.ok is generated using gold 2.21 ld.gold.2.22.broken is generated using gold 2.22 ld.gold.2.22.o

[Bug gold/12968] gold generates broken binaries on FreeBSD 8.2

2011-07-07 Thread website-sourceware at interfasys dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12968 --- Comment #2 from interfaSys sàrl 2011-07-07 16:10:46 UTC --- I'll compile binutils and post a working ld.gold and a broken one -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mai

[Bug gold/12968] gold generates broken binaries on FreeBSD 8.2

2011-07-07 Thread ian at airs dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12968 --- Comment #1 from Ian Lance Taylor 2011-07-07 16:07:20 UTC --- I suspect these are two unrelated problems. Can you find a simple binary which fails with gold but works with GNU ld? Then compare the two binaries and see what gold is doing w

[Bug ld/12969] New: ld silently generates bad DLL when there are more than 65536 exports

2011-07-07 Thread batterseapower at hotmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12969 Summary: ld silently generates bad DLL when there are more than 65536 exports Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal Priority: P2

[Bug gold/12968] New: gold generates broken binaries on FreeBSD 8.2

2011-07-07 Thread website-sourceware at interfasys dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12968 Summary: gold generates broken binaries on FreeBSD 8.2 Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gold AssignedTo: