http://sourceware.org/bugzilla/show_bug.cgi?id=12971
--- Comment #4 from interfaSys sàrl
2011-11-14 18:01:39 UTC ---
This is still an issue with today's snapshot.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
Y
http://sourceware.org/bugzilla/show_bug.cgi?id=12968
--- Comment #18 from interfaSys sàrl
2011-07-09 22:35:36 UTC ---
That's correct. I did some tests and aspell per example would seg fault without
the flag.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- Y
http://sourceware.org/bugzilla/show_bug.cgi?id=12968
--- Comment #16 from interfaSys sàrl
2011-07-09 16:39:35 UTC ---
Good news: I've just tried the latest snapshot and it doesn't generate a broken
binary any more when using -Wl,--no-ctors-in-init-array.
Does that mean that this LDFLAG should b
http://sourceware.org/bugzilla/show_bug.cgi?id=12952
--- Comment #26 from interfaSys sàrl
2011-07-09 16:31:17 UTC ---
I've managed to compile a working binary on FreeBSD by not using portmaster
(building tool). I have no idea why portmaster cannot be used to build ffmpeg
with gold, but that's on
http://sourceware.org/bugzilla/show_bug.cgi?id=12968
--- Comment #15 from interfaSys sàrl
2011-07-09 16:26:19 UTC ---
I don't have the expertise to walk through programs and unless there is an easy
way to download all the snapshots released between June 5th and June 19th, I
probably won't be abl
http://sourceware.org/bugzilla/show_bug.cgi?id=12968
--- Comment #13 from interfaSys sàrl
2011-07-09 05:58:11 UTC ---
You're right. It turns out that the ports Makefile was overriding custom
LDFLAGS...
So, after fixing the Makefile, I gave it another go and got the same results
(seg fault).
I'v
http://sourceware.org/bugzilla/show_bug.cgi?id=12968
--- Comment #11 from interfaSys sàrl
2011-07-08 15:52:30 UTC ---
Of course, here it is, including a core dump:
https://sigma.interfasys.net/ld.broken.bz2
Built with:
LDFLAGS+=-Wl,--no-ctors-in-init-array
--
Configure bugmail: http://sourcew
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
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:
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)
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
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
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
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.
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
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
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
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:
http://sourceware.org/bugzilla/show_bug.cgi?id=12952
--- Comment #24 from interfaSys sàrl
2011-07-06 14:20:42 UTC ---
Great news :). I'll try it out as soon as it's available via a snapshot and
hopefully, this experience will make it easier for me to report issues in the
future :)
--
Configure
http://sourceware.org/bugzilla/show_bug.cgi?id=12952
--- Comment #19 from interfaSys sàrl
2011-07-05 21:49:42 UTC ---
The libs are in comment #15, but I'm going to run the command with the -t
option, so that I can hopefully provide you with what you need.
The version was in comment #13:
GNU gol
http://sourceware.org/bugzilla/show_bug.cgi?id=12952
--- Comment #18 from interfaSys sàrl
2011-07-05 21:41:45 UTC ---
I did add it to the CFLAGS as you can see in the archive (all the temp files
are there), so the command worked, but there isn't much more info on screen.
I just did another atte
http://sourceware.org/bugzilla/show_bug.cgi?id=12952
--- Comment #21 from interfaSys sàrl
2011-07-05 22:33:27 UTC ---
OK, so the libs are here:
https://sigma.interfasys.net/avlibs.bz2
And the objects here:
http://sigma.interfasys.net/libavformat.bz2
Here is the list of files:
libavformat/4xm.
http://sourceware.org/bugzilla/show_bug.cgi?id=12952
--- Comment #20 from interfaSys sàrl
2011-07-05 21:58:26 UTC ---
And I think I finally read your posts properly...
Here is what I get when I run the gcc command with the recommended options:
Convert string
'/usr/local/libexec/gcc46/gcc/x86_64
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
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
--- 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
http://sourceware.org/bugzilla/show_bug.cgi?id=12952
--- Comment #8 from interfaSys sàrl
2011-07-02 01:01:49 UTC ---
Would that help if I provided you with an archive containing all the libs?
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving
http://sourceware.org/bugzilla/show_bug.cgi?id=12952
--- Comment #5 from interfaSys sàrl
2011-06-30 17:06:27 UTC ---
Here is the command file:
gcc46 -shared -Wl,-soname,libavformat.so.1 -Wl,-Bsymbolic
-Wl,--version-script,libavformat/libavformat.ver -Llibavcodec -Llibavdevice
-Llibavfilter -Llib
http://sourceware.org/bugzilla/show_bug.cgi?id=12952
--- Comment #4 from interfaSys sàrl
2011-06-30 16:54:16 UTC ---
Nice to know that it works flawlessly on Linux :), but things are usually a bit
different on FreeBSD, so I'll try your suggestion.
When I did a search it seemed to me that the pro
http://sourceware.org/bugzilla/show_bug.cgi?id=12952
--- Comment #6 from interfaSys sàrl
2011-06-30 17:10:30 UTC ---
The input objects are here:
http://sigma.interfasys.net/libavformat.tgz
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving th
http://sourceware.org/bugzilla/show_bug.cgi?id=12952
--- Comment #2 from interfaSys sàrl
2011-06-30 13:09:19 UTC ---
The source file is here:
http://ffmpeg.mplayerhq.hu/releases/ffmpeg-0.7.1.tar.bz2
The Makefile used to build it on FreeBSD is here:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/mu
http://sourceware.org/bugzilla/show_bug.cgi?id=12952
Summary: Cannot compile ffmpeg with gold on FreeBSD 8 64bit
Product: binutils
Version: 2.22 (HEAD)
Status: NEW
Severity: critical
Priority: P2
Component: gold
Assi
32 matches
Mail list logo