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

2011-11-14 Thread website-sourceware at interfasys dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12971

--- Comment #4 from interfaSys sàrl website-sourceware at interfasys dot ch 
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: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


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

2011-07-09 Thread website-sourceware at interfasys dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12968

--- Comment #15 from interfaSys sàrl website-sourceware at interfasys dot ch 
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 able to help :(

-- 
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.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


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

2011-07-09 Thread website-sourceware at interfasys dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12952

--- Comment #26 from interfaSys sàrl website-sourceware at interfasys dot ch 
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 one solution for other people encountering the same
problem.

-- 
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.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


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

2011-07-09 Thread website-sourceware at interfasys dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12968

--- Comment #16 from interfaSys sàrl website-sourceware at interfasys dot ch 
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 be used as a global flag then in order
to prevent generating broken binaries?

-- 
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.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


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

2011-07-09 Thread website-sourceware at interfasys dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12968

--- Comment #18 from interfaSys sàrl website-sourceware at interfasys dot ch 
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
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


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

2011-07-08 Thread website-sourceware at interfasys dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12968

--- Comment #11 from interfaSys sàrl website-sourceware at interfasys dot ch 
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://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


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

2011-07-08 Thread website-sourceware at interfasys dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12968

--- Comment #13 from interfaSys sàrl website-sourceware at interfasys dot ch 
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've updated the files:
https://sigma.interfasys.net/ld.broken.bz2

-- 
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.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[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: i...@airs.com
ReportedBy: website-sourcew...@interfasys.ch


For a few weeks now, gold has been broken on FreeBSD. Binaries produced crash
or are faulty.

If I compile binutils itself with the latest snapshot I get a core dump when I
do: ld -v

And here is the trace:
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libthr.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /usr/local/lib/libz.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libz.so.1
Reading symbols from /usr/local/lib/gcc46/libstdc++.so.6...done.
Loaded symbols for /usr/local/lib/gcc46/libstdc++.so.6
Reading symbols from /lib/libm.so.5...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /usr/local/lib/gcc46/libgcc_s.so.1...done.
Loaded symbols for /usr/local/lib/gcc46/libgcc_s.so.1
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x00555aa4 in std::operator+char, std::char_traitschar,
std::allocatorchar  ()
[New Thread 8010041c0 (LWP 100676/initial thread)]
(gdb) bt full
#0  0x00555aa4 in std::operator+char, std::char_traitschar,
std::allocatorchar  ()
No symbol table info available.
#1  0x00563a12 in std::operator+char, std::char_traitschar,
std::allocatorchar  ()
No symbol table info available.
#2  0x00415576 in ?? ()
No symbol table info available.
#3  0x00404a2e in ?? ()
No symbol table info available.
#4  0x000800759000 in ?? ()
No symbol table info available.
#5  0x in ?? ()
No symbol table info available.
...
#79 0x0009 in ?? ()
No symbol table info available.
#80 0x004049a0 in ?? ()
No symbol table info available.
Invalid binary operation on numbers.


There probably isn't enough information here to help, so let me know what I can
do to help pinpoint the problem.

Another example:
The ffmpeg binary is not linked properly to all the libraries:
# ldd /usr/local/bin/ffmpeg
/usr/local/bin/ffmpeg:
libavdevice.so.1 = /usr/local/lib/libavdevice.so.1 (0x80044f000)
libavfilter.so.1 = /usr/local/lib/libavfilter.so.1 (0x800455000)
libavformat.so.1 = not found (0x0)
libavcodec.so.1 = not found (0x0)
libpostproc.so.1 = not found (0x0)
libswscale.so.1 = /usr/local/lib/libswscale.so.1 (0x80055e000)
libavutil.so.1 = not found (0x0)
libm.so.5 = /lib/libm.so.5 (0x8005d)
libthr.so.3 = /lib/libthr.so.3 (0x8006f)
libc.so.7 = /lib/libc.so.7 (0x800808000)
libavformat.so.1 = not found (0x0)
libavcodec.so.1 = not found (0x0)
libavutil.so.1 = not found (0x0)
libX11.so.6 = /usr/local/lib/libX11.so.6 (0x800a41000)
libXext.so.6 = /usr/local/lib/libXext.so.6 (0x800501000)
libXfixes.so.3 = /usr/local/lib/libXfixes.so.3 (0x800523000)
libavformat.so.1 = not found (0x0)
libavcodec.so.1 = not found (0x0)
libavutil.so.1 = not found (0x0)
libopencv_core.so.2 = /usr/local/lib/libopencv_core.so.2 (0x800bc4000)
libopencv_imgproc.so.2 = not found (0x0)
libfreetype.so.9 = /usr/local/lib/libfreetype.so.9 (0x800ee2000)
libavutil.so.1 = not found (0x0)
libxcb.so.2 = /usr/local/lib/libxcb.so.2 (0x80052a000)
librpcsvc.so.5 = /usr/lib/librpcsvc.so.5 (0x800f9a000)
libXau.so.6 = /usr/local/lib/libXau.so.6 (0x8010a2000)
libXdmcp.so.6 = /usr/local/lib/libXdmcp.so.6 (0x8010a6000)
libz.so.5 = /lib/libz.so.5 (0x8010ad000)
libstdc++.so.6 = /usr/local/lib/gcc46/libstdc++.so.6 (0x8011c1000)
libgcc_s.so.1 = /usr/local/lib/gcc46/libgcc_s.so.1 (0x8012ef000)


These problems don't occur with the latest release version or with the gnu
linker.

-- 
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.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[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 website-sourceware at interfasys dot ch 
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 mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[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 website-sourceware at interfasys dot ch 
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.ok is generated using gnu ld 2.22

I have no idea how to compare binaries...

-- 
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.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[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 website-sourceware at interfasys dot ch 
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://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[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 website-sourceware at interfasys dot ch 
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.
1) The generated binary cannot be used because libraries are not properly
linked

2) Adding -flto=6 crashes the compiler during the configuration tests. It works
fine with the gnu linker, but maybe that parameter is ignored.
http://sourceware.org/bugzilla/show_bug.cgi?id=12971

-- 
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.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[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
 Component: gold
AssignedTo: i...@airs.com
ReportedBy: website-sourcew...@interfasys.ch


I've managed to reproduce this with this one liner

int main(void){ return 0; }


Here are the commands:
# gcc46 -O2 -pipe -funroll-loops -ftracer -Ofast -floop-interchange
-floop-strip-mine -floop-block -flto=6 -march=native -fno-strict-aliasing -msse
-I/usr/local/include/vorbis -I/usr/local/include -c -o check_cc.o check_cc.c

# gcc46 -L/usr/local/lib -o check_cc check_cc.o -pthread


Hopefully this makes a helpful, valid test case

-- 
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.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[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 website-sourceware at interfasys dot ch changed:

   What|Removed |Added

Version|2.22 (HEAD) |2.21

--- Comment #1 from interfaSys sàrl website-sourceware at interfasys dot ch 
2011-07-07 20:48:24 UTC ---
This happens with the released version of binutils:
GNU gold (GNU Binutils 2.21.1) 1.11

-- 
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.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[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 website-sourceware at interfasys dot ch 
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/include -c -o check_cc.o check_cc.c

-- 
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.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[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 website-sourceware at interfasys dot ch 
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)
 Does it make any difference if you use the gold option
 --no-ctors-in-init-array?

-- 
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.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[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 website-sourceware at interfasys dot ch 
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: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[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 website-sourceware at interfasys dot ch 
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_cb () from /lib/libc.so.7
No symbol table info available.
#2  0x0008006d03c7 in _pthread_mutex_init_calloc_cb () from /lib/libc.so.7
No symbol table info available.
#3  0x0008006d05c0 in _pthread_mutex_init_calloc_cb () from /lib/libc.so.7
No symbol table info available.
#4  0x0008006d5a59 in malloc () from /lib/libc.so.7
No symbol table info available.
#5  0x000800553eff in pthread_kill () from /lib/libthr.so.3
No symbol table info available.
#6  0x000800554883 in pthread_join () from /lib/libthr.so.3
No symbol table info available.
#7  0x00080055707f in __error () from /lib/libthr.so.3
No symbol table info available.
#8  0x7fffe500 in ?? ()
No symbol table info available.
#9  0x00080052f0d0 in ?? () from /libexec/ld-elf.so.1
No symbol table info available.
#10 0x0008004302c0 in ?? ()
No symbol table info available.
#11 0x00080054cc9e in ?? () from /lib/libthr.so.3
No symbol table info available.
#12 0x00080052f0d0 in ?? () from /libexec/ld-elf.so.1
No symbol table info available.
#13 0x000800408867 in dlsym () from /libexec/ld-elf.so.1
No symbol table info available.
#14 0x000800409c05 in dlopen () from /libexec/ld-elf.so.1
No symbol table info available.
#15 0x000800404759 in ?? () from /libexec/ld-elf.so.1
No symbol table info available.
#16 0x in ?? ()
No symbol table info available.
#17 0x in ?? ()
No symbol table info available.
#18 0x in ?? ()
No symbol table info available.
#19 0x0001 in ?? ()
No symbol table info available.

-- 
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.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


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

2011-07-05 Thread website-sourceware at interfasys dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12952

--- Comment #20 from interfaSys sàrl website-sourceware at interfasys dot ch 
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-portbld-freebsd8.2/4.6.2/:/usr/local/libexec/gcc46/gcc/x86_64-portbld-freebsd8.2/4.6.2/:/usr/local/libexec/gcc46/gcc/x86_64-portbld-freebsd8.2/:/usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd8.2/4.6.2/:/usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd8.2/:/usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd8.2/4.6.2/../../../../../x86_64-portbld-freebsd8.2/bin/'
into prefixes, separator = ':'
  - add prefix: /usr/local/libexec/gcc46/gcc/x86_64-portbld-freebsd8.2/4.6.2/
  - add prefix: /usr/local/libexec/gcc46/gcc/x86_64-portbld-freebsd8.2/4.6.2/
  - add prefix: /usr/local/libexec/gcc46/gcc/x86_64-portbld-freebsd8.2/
  - add prefix: /usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd8.2/4.6.2/
  - add prefix: /usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd8.2/
  - add prefix:
/usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd8.2/4.6.2/../../../../../x86_64-portbld-freebsd8.2/bin/
Convert string
'/usr/local/libexec/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin'
into prefixes, separator = ':'
  - add prefix: /usr/local/libexec/ccache/
  - add prefix: /usr/local/sbin/
  - add prefix: /usr/local/bin/
  - add prefix: /sbin/
  - add prefix: /bin/
  - add prefix: /usr/sbin/
  - add prefix: /usr/bin/
Looking for 'gnm'
Looking for 'gnm'
Looking for 'nm'
Looking for 'gstrip'
Looking for 'gstrip'
Looking for 'strip'
Looking for '/usr/local/bin/gcc46'
  - found: absolute path
collect2 version 4.6.2 20110701 (prerelease) (FreeBSD/x86-64 ELF)
ld_file_name= /usr/local/bin/ld
c_file_name = /usr/local/bin/gcc46
nm_file_name=
/usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd8.2/4.6.2/../../../../../x86_64-portbld-freebsd8.2/bin/nm
strip_file_name =
/usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd8.2/4.6.2/../../../../../x86_64-portbld-freebsd8.2/bin/strip
c_file  = /var/tmp//cczgZnvl.c
o_file  = /var/tmp//ccbOQdS3.o
COLLECT_GCC_OPTIONS = '-save-temps' '-shared' '-Llibavcodec' '-Llibavdevice'
'-Llibavfilter' '-Llibavformat' '-Llibavutil' '-Llibpostproc' '-Llibswscale'
'-L/usr/local/lib' '-o' 'libavformat/libavformat.so.1' '-L/usr/local/lib'
'-L/usr/local/lib' '-L/usr/local/lib' '-L/usr/local/lib' '-pthread'
'-mtune=generic' '-march=x86-64'
COLLECT_GCC = /usr/local/bin/gcc46
COMPILER_PATH   =
/usr/local/libexec/gcc46/gcc/x86_64-portbld-freebsd8.2/4.6.2/:/usr/local/libexec/gcc46/gcc/x86_64-portbld-freebsd8.2/4.6.2/:/usr/local/libexec/gcc46/gcc/x86_64-portbld-freebsd8.2/:/usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd8.2/4.6.2/:/usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd8.2/:/usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd8.2/4.6.2/../../../../../x86_64-portbld-freebsd8.2/bin/
LIBRARY_PATH=
/usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd8.2/4.6.2/:/usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd8.2/4.6.2/../../../../../x86_64-portbld-freebsd8.2/lib/:/usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd8.2/4.6.2/../../../:/lib/:/usr/lib/

/usr/local/bin/ld --eh-frame-hdr -Bshareable -o libavformat/libavformat.so.1
/usr/lib/crti.o
/usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd8.2/4.6.2/crtbeginS.o
-Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavutil
-Llibpostproc -Llibswscale -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib
-L/usr/local/lib -L/usr/local/lib
-L/usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd8.2/4.6.2
-L/usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd8.2/4.6.2/../../../../../x86_64-portbld-freebsd8.2/lib
-L/usr/local/lib/gcc46/gcc/x86_64-portbld-freebsd8.2/4.6.2/../../.. -soname
libavformat.so.1 -Bsymbolic --version-script libavformat/libavformat.ver
--as-needed --warn-common -rpath-link libpostproc -rpath-link libswscale
-rpath-link libavfilter -rpath-link libavdevice -rpath-link libavformat
-rpath-link libavcodec -rpath-link libavutil libavformat/4xm.o
libavformat/a64.o libavformat/aacdec.o libavformat/ac3dec.o
libavformat/adtsenc.o libavformat/aea.o libavformat/aiffdec.o
libavformat/aiffenc.o libavformat/allformats.o libavformat/amr.o
libavformat/anm.o libavformat/apc.o libavformat/ape.o libavformat/apetag.o
libavformat/applehttp.o libavformat/applehttpproto.o libavformat/asf.o
libavformat/asfcrypt.o libavformat/asfdec.o libavformat/asfenc.o
libavformat/assdec.o libavformat/assenc.o libavformat/au.o
libavformat/audiointerleave.o libavformat/avc.o libavformat/avi.o
libavformat/avidec.o libavformat/avienc.o libavformat/avio.o
libavformat/aviobuf.o libavformat/avlanguage.o libavformat/avs.o
libavformat/bethsoftvid.o libavformat/bfi.o libavformat/bink.o
libavformat/c93.o libavformat/caf.o libavformat/cafdec.o libavformat/cafenc.o
libavformat/cavsvideodec.o libavformat/cdg.o libavformat/concat.o

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

2011-07-05 Thread website-sourceware at interfasys dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12952

--- Comment #21 from interfaSys sàrl website-sourceware at interfasys dot ch 
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.o
libavformat/a64.o
libavformat/aacdec.o
libavformat/ac3dec.o
libavformat/adtsenc.o
libavformat/aea.o
libavformat/aiffdec.o
libavformat/aiffenc.o
libavformat/allformats.o
libavformat/amr.o
libavformat/anm.o
libavformat/apc.o
libavformat/ape.o
libavformat/apetag.o
libavformat/applehttp.o
libavformat/applehttpproto.o
libavformat/asf.o
libavformat/asfcrypt.o
libavformat/asfdec.o
libavformat/asfenc.o
libavformat/assdec.o
libavformat/assenc.o
libavformat/au.o
libavformat/audiointerleave.o
libavformat/avc.o
libavformat/avi.o
libavformat/avidec.o
libavformat/avienc.o
libavformat/avio.o
libavformat/aviobuf.o
libavformat/avlanguage.o
libavformat/avs.o
libavformat/bethsoftvid.o
libavformat/bfi.o
libavformat/bink.o
libavformat/c93.o
libavformat/caf.o
libavformat/cafdec.o
libavformat/cafenc.o
libavformat/cavsvideodec.o
libavformat/cdg.o
libavformat/concat.o
libavformat/crcenc.o
libavformat/crypto.o
libavformat/cutils.o
libavformat/daud.o
libavformat/dfa.o
libavformat/diracdec.o
libavformat/dnxhddec.o
libavformat/dsicin.o
libavformat/dtsdec.o
libavformat/dv.o
libavformat/dvenc.o
libavformat/dxa.o
libavformat/eacdata.o
libavformat/electronicarts.o
libavformat/ffmdec.o
libavformat/ffmenc.o
libavformat/ffmetadec.o
libavformat/ffmetaenc.o
libavformat/file.o
libavformat/filmstripdec.o
libavformat/filmstripenc.o
libavformat/flacdec.o
libavformat/flacenc.o
libavformat/flacenc_header.o
libavformat/flic.o
libavformat/flvdec.o
libavformat/flvenc.o
libavformat/framecrcenc.o
libavformat/gif.o
libavformat/gopher.o
libavformat/gxf.o
libavformat/gxfenc.o
libavformat/h261dec.o
libavformat/h263dec.o
libavformat/h264dec.o
libavformat/http.o
libavformat/httpauth.o
libavformat/id3v1.o
libavformat/id3v2.o
libavformat/idcin.o
libavformat/idroqdec.o
libavformat/idroqenc.o
libavformat/iff.o
libavformat/img2.o
libavformat/ingenientdec.o
libavformat/ipmovie.o
libavformat/isom.o
libavformat/iss.o
libavformat/iv8.o
libavformat/ivfdec.o
libavformat/ivfenc.o
libavformat/jvdec.o
libavformat/lmlm4.o
libavformat/lxfdec.o
libavformat/m4vdec.o
libavformat/matroska.o
libavformat/matroskadec.o
libavformat/matroskaenc.o
libavformat/md5enc.o
libavformat/md5proto.o
libavformat/metadata.o
libavformat/metadata_compat.o
libavformat/microdvddec.o
libavformat/microdvdenc.o
libavformat/mm.o
libavformat/mmf.o
libavformat/mms.o
libavformat/mmsh.o
libavformat/mmst.o
libavformat/mov.o
libavformat/movenc.o
libavformat/movenchint.o
libavformat/mp3dec.o
libavformat/mp3enc.o
libavformat/mpc.o
libavformat/mpc8.o
libavformat/mpeg.o
libavformat/mpegenc.o
libavformat/mpegts.o
libavformat/mpegtsenc.o
libavformat/mpegvideodec.o
libavformat/mpjpeg.o
libavformat/msnwc_tcp.o
libavformat/mtv.o
libavformat/mvi.o
libavformat/mxf.o
libavformat/mxfdec.o
libavformat/mxfenc.o
libavformat/mxg.o
libavformat/ncdec.o
libavformat/nsvdec.o
libavformat/nullenc.o
libavformat/nut.o
libavformat/nutdec.o
libavformat/nutenc.o
libavformat/nuv.o
libavformat/oggdec.o
libavformat/oggenc.o
libavformat/oggparsecelt.o
libavformat/oggparsedirac.o
libavformat/oggparseflac.o
libavformat/oggparseogm.o
libavformat/oggparseskeleton.o
libavformat/oggparsespeex.o
libavformat/oggparsetheora.o
libavformat/oggparsevorbis.o
libavformat/oma.o
libavformat/options.o
libavformat/os_support.o
libavformat/pcm.o
libavformat/pcmdec.o
libavformat/pcmenc.o
libavformat/pmpdec.o
libavformat/psxstr.o
libavformat/pva.o
libavformat/qcp.o
libavformat/r3d.o
libavformat/rawdec.o
libavformat/rawenc.o
libavformat/rawvideodec.o
libavformat/rdt.o
libavformat/riff.o
libavformat/rl2.o
libavformat/rm.o
libavformat/rmdec.o
libavformat/rmenc.o
libavformat/rpl.o
libavformat/rso.o
libavformat/rsodec.o
libavformat/rsoenc.o
libavformat/rtmppkt.o
libavformat/rtmpproto.o
libavformat/rtp.o
libavformat/rtpdec.o
libavformat/rtpdec_amr.o
libavformat/rtpdec_asf.o
libavformat/rtpdec_h263.o
libavformat/rtpdec_h264.o
libavformat/rtpdec_latm.o
libavformat/rtpdec_mpeg4.o
libavformat/rtpdec_qcelp.o
libavformat/rtpdec_qdm2.o
libavformat/rtpdec_qt.o
libavformat/rtpdec_svq3.o
libavformat/rtpdec_vp8.o
libavformat/rtpdec_xiph.o
libavformat/rtpenc.o
libavformat/rtpenc_aac.o
libavformat/rtpenc_amr.o
libavformat/rtpenc_chain.o
libavformat/rtpenc_h263.o
libavformat/rtpenc_h264.o
libavformat/rtpenc_latm.o
libavformat/rtpenc_mpv.o
libavformat/rtpenc_vp8.o
libavformat/rtpenc_xiph.o
libavformat/rtpproto.o
libavformat/rtsp.o
libavformat/rtspdec.o
libavformat/rtspenc.o
libavformat/sapdec.o
libavformat/sapenc.o
libavformat/sauce.o
libavformat/sdp.o
libavformat/seek.o
libavformat/segafilm.o
libavformat/sierravmd.o
libavformat/siff.o
libavformat/smacker.o
libavformat/sol.o
libavformat/soxdec.o
libavformat/soxenc.o
libavformat/spdif.o
libavformat

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

2011-07-05 Thread website-sourceware at interfasys dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12952

--- Comment #18 from interfaSys sàrl website-sourceware at interfasys dot ch 
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 attempt with make.conf 

YASMlibavcodec/x86/vp8dsp.o
gcc46: warning: -pipe ignored because -save-temps specified
gcc46: warning: -pipe ignored because -save-temps specified
In file included from cmdutils.c:32:0:
libavformat/avformat.h:151:1: warning: 'AVMetadata' is deprecated (declared at
./libavutil/dict.h:40) [-Wdeprecated-declarations]
cmdutils.c: In function 'opt_default':
cmdutils.c:347:9: warning: 'av_find_opt' is deprecated (declared at
libavutil/opt.h:111) [-Wdeprecated-declarations]
cmdutils.c:354:9: warning: 'av_find_opt' is deprecated (declared at
libavutil/opt.h:111) [-Wdeprecated-declarations]
cmdutils.c:361:9: warning: 'av_find_opt' is deprecated (declared at
libavutil/opt.h:111) [-Wdeprecated-declarations]
cmdutils.c: In function 'set_context_opts':
cmdutils.c:494:13: warning: 'av_find_opt' is deprecated (declared at
libavutil/opt.h:111) [-Wdeprecated-declarations]
LD  libavcodec/libavcodec.so.1
AR  libavcodec/libavcodec.a
LD  libavformat/libavformat.so.1
/usr/local/bin/ld: internal error in override_version, at resolve.cc:61
collect2: ld returned 1 exit status
gmake: *** [libavformat/libavformat.so.1] Error 1


(In reply to comment #16)
 You should add -Wl,-debug --save-temps to the gcc46 command line in comment
 #13.

-- 
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.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


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

2011-07-05 Thread website-sourceware at interfasys dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12952

--- Comment #19 from interfaSys sàrl website-sourceware at interfasys dot ch 
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 gold (GNU Binutils 2.21.52.20110703) 1.11

Since the current snapshots create broken binaries, I always download the
latest to test with, so today it's
GNU gold (GNU Binutils 2.21.52.20110705) 1.11

Thank you

(In reply to comment #17)
 Thanks for sending the directory, but it still doesn't help.  There are many
 missing libraries:
...
 
 These libraries are not part of ffmpeg, but they are presumably found on your
 system.
 
 I know you are doing your best, but you are sending me lots and lots of files
 that I do not need, and you are not sending me the files that I do need.
 
 If you run the gcc command with the option -Wl,-debug --save-temps, it will
 show the exact command line being used for the linker.  If you run that exact
 linker command line with the -t option, it will show you the exact set of 
 files
 which the linker opens.  I need all those files, and no others.  That will
 include files which are in directories like /lib, etc.; I need those files 
 too.
 
 I also want to confirm again that you are using the current development 
 sources
 of gold, as the patch I committed 2011-07-01 fixes a bug which would show
 exactly this symptom for this kind of input.
 
 Thanks.

-- 
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.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


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

2011-07-04 Thread website-sourceware at interfasys dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12952

--- Comment #11 from interfaSys sàrl website-sourceware at interfasys dot ch 
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 with this snapshots will create a broken ld.

Here is where it fails with ffmpeg:
BEGIN /home/tmp/ffconf.QPAcoEVR.c
1   int main(void){ return 0; }
END /home/tmp/ffconf.QPAcoEVR.c
gcc46 -O2 -pipe -funroll-loops -ftracer -Ofast -floop-interchange
-floop-strip-mine -floop-block -flto=6 -march=native -fno-strict-aliasing -msse
-I/usr/local/include/vorbis -I/usr/local/include -c -o
/home/tmp/ffconf.Jwt8C8fl.o /home/tmp/ffconf.QPAcoEVR.c
gcc46 -L/usr/local/lib -o /home/tmp/ffconf.u4bKBmuw /home/tmp/ffconf.Jwt8C8fl.o
-pthread
C compiler test failed.

If I switch to ld.bfd, then things work as usual.

-- 
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.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


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

2011-07-04 Thread website-sourceware at interfasys dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12952

--- Comment #13 from interfaSys sàrl website-sourceware at interfasys dot ch 
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 exactly the same point as before:

gcc46 -shared -Wl,-soname,libavformat.so.1 -Wl,-Bsymbolic
-Wl,--version-script,libavformat/libavformat.ver -Llibavcodec -Llibavdevice
-Llibavfilter -Llibavformat -Llibavutil -Llibpostproc -Llibswscale
-L/usr/local/lib -Wl,--as-needed -Wl,--warn-common -Wl,-rpath-link,libpostproc
-Wl,-rpath-link,libswscale -Wl,-rpath-link,libavfilter
-Wl,-rpath-link,libavdevice -Wl,-rpath-link,libavformat
-Wl,-rpath-link,libavcodec -Wl,-rpath-link,libavutil -o
libavformat/libavformat.so.1 libavformat/4xm.o libavformat/a64.o
libavformat/aacdec.o libavformat/ac3dec.o libavformat/adtsenc.o
libavformat/aea.o libavformat/aiffdec.o libavformat/aiffenc.o
libavformat/allformats.o libavformat/amr.o libavformat/anm.o libavformat/apc.o
libavformat/ape.o libavformat/apetag.o libavformat/applehttp.o
libavformat/applehttpproto.o libavformat/asf.o libavformat/asfcrypt.o
libavformat/asfdec.o libavformat/asfenc.o libavformat/assdec.o
libavformat/assenc.o libavformat/au.o libavformat/audiointerleave.o
libavformat/avc.o libavformat/avi.o libavformat/avidec.o libavformat/avienc.o
libavformat/avio.o libavformat/aviobuf.o libavformat/avlanguage.o
libavformat/avs.o libavformat/bethsoftvid.o libavformat/bfi.o
libavformat/bink.o libavformat/c93.o libavformat/caf.o libavformat/cafdec.o
libavformat/cafenc.o libavformat/cavsvideodec.o libavformat/cdg.o
libavformat/concat.o libavformat/crcenc.o libavformat/crypto.o
libavformat/cutils.o libavformat/daud.o libavformat/dfa.o
libavformat/diracdec.o libavformat/dnxhddec.o libavformat/dsicin.o
libavformat/dtsdec.o libavformat/dv.o libavformat/dvenc.o libavformat/dxa.o
libavformat/eacdata.o libavformat/electronicarts.o libavformat/ffmdec.o
libavformat/ffmenc.o libavformat/ffmetadec.o libavformat/ffmetaenc.o
libavformat/file.o libavformat/filmstripdec.o libavformat/filmstripenc.o
libavformat/flacdec.o libavformat/flacenc.o libavformat/flacenc_header.o
libavformat/flic.o libavformat/flvdec.o libavformat/flvenc.o
libavformat/framecrcenc.o libavformat/gif.o libavformat/gopher.o
libavformat/gxf.o libavformat/gxfenc.o libavformat/h261dec.o
libavformat/h263dec.o libavformat/h264dec.o libavformat/http.o
libavformat/httpauth.o libavformat/id3v1.o libavformat/id3v2.o
libavformat/idcin.o libavformat/idroqdec.o libavformat/idroqenc.o
libavformat/iff.o libavformat/img2.o libavformat/ingenientdec.o
libavformat/ipmovie.o libavformat/isom.o libavformat/iss.o libavformat/iv8.o
libavformat/ivfdec.o libavformat/ivfenc.o libavformat/jvdec.o
libavformat/lmlm4.o libavformat/lxfdec.o libavformat/m4vdec.o
libavformat/matroska.o libavformat/matroskadec.o libavformat/matroskaenc.o
libavformat/md5enc.o libavformat/md5proto.o libavformat/metadata.o
libavformat/metadata_compat.o libavformat/microdvddec.o
libavformat/microdvdenc.o libavformat/mm.o libavformat/mmf.o libavformat/mms.o
libavformat/mmsh.o libavformat/mmst.o libavformat/mov.o libavformat/movenc.o
libavformat/movenchint.o libavformat/mp3dec.o libavformat/mp3enc.o
libavformat/mpc.o libavformat/mpc8.o libavformat/mpeg.o libavformat/mpegenc.o
libavformat/mpegts.o libavformat/mpegtsenc.o libavformat/mpegvideodec.o
libavformat/mpjpeg.o libavformat/msnwc_tcp.o libavformat/mtv.o
libavformat/mvi.o libavformat/mxf.o libavformat/mxfdec.o libavformat/mxfenc.o
libavformat/mxg.o libavformat/ncdec.o libavformat/nsvdec.o
libavformat/nullenc.o libavformat/nut.o libavformat/nutdec.o
libavformat/nutenc.o libavformat/nuv.o libavformat/oggdec.o
libavformat/oggenc.o libavformat/oggparsecelt.o libavformat/oggparsedirac.o
libavformat/oggparseflac.o libavformat/oggparseogm.o
libavformat/oggparseskeleton.o libavformat/oggparsespeex.o
libavformat/oggparsetheora.o libavformat/oggparsevorbis.o libavformat/oma.o
libavformat/options.o libavformat/os_support.o libavformat/pcm.o
libavformat/pcmdec.o libavformat/pcmenc.o libavformat/pmpdec.o
libavformat/psxstr.o libavformat/pva.o libavformat/qcp.o libavformat/r3d.o
libavformat/rawdec.o libavformat/rawenc.o libavformat/rawvideodec.o
libavformat/rdt.o libavformat/riff.o libavformat/rl2.o libavformat/rm.o
libavformat/rmdec.o libavformat/rmenc.o libavformat/rpl.o libavformat/rso.o
libavformat/rsodec.o libavformat/rsoenc.o libavformat/rtmppkt.o
libavformat/rtmpproto.o libavformat/rtp.o libavformat/rtpdec.o
libavformat/rtpdec_amr.o libavformat/rtpdec_asf.o libavformat/rtpdec_h263.o
libavformat/rtpdec_h264.o libavformat/rtpdec_latm.o libavformat/rtpdec_mpeg4.o
libavformat/rtpdec_qcelp.o libavformat/rtpdec_qdm2.o libavformat/rtpdec_qt.o
libavformat/rtpdec_svq3.o libavformat/rtpdec_vp8.o libavformat/rtpdec_xiph.o
libavformat/rtpenc.o libavformat/rtpenc_aac.o libavformat/rtpenc_amr.o
libavformat

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

2011-07-04 Thread website-sourceware at interfasys dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12952

--- Comment #15 from interfaSys sàrl website-sourceware at interfasys dot ch 
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:
https://sigma.interfasys.net/ffmpeg.bz2

And here are the libs (.so and .a files):
https://sigma.interfasys.net/avlibs.bz2

I'm not sure what you mean by 'version script'?

The FreeBSD Makefile is here:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/multimedia/ffmpeg/Makefile?rev=1.133;content-type=text%2Fplain

Bare with me, I'm not a C programmer ;)


(In reply to comment #14)
 OK, if you're still seeing the original crash, then I need you to run the gcc
 command with the options -Wl,-debug --save-temps.  That will show you 
 exactly
 how gcc is invoking gold.  Then I'll need to be able to get a copy of all the
 input files, including all the libraries.  I don't need the source code, just
 the .o, .a, .so files that are gold inputs, and also any version script.
 
 Basically, I need it to be the case then I can run gold on my system and see
 the crash.  Otherwise I won't be able to fix this.  Thanks.

-- 
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.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


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

2011-07-01 Thread website-sourceware at interfasys dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12952

--- Comment #8 from interfaSys sàrl website-sourceware at interfasys dot ch 
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 this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


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

2011-06-30 Thread website-sourceware at interfasys dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12952

--- Comment #2 from interfaSys sàrl website-sourceware at interfasys dot ch 
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/multimedia/ffmpeg/Makefile?rev=1.133

The patches used are here:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/multimedia/ffmpeg/files/

-- 
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.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


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

2011-06-30 Thread website-sourceware at interfasys dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12952

--- Comment #6 from interfaSys sàrl website-sourceware at interfasys dot ch 
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 this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


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

2011-06-30 Thread website-sourceware at interfasys dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12952

--- Comment #4 from interfaSys sàrl website-sourceware at interfasys dot ch 
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 problem could be similar to what
someone on Solaris was experiencing.


(In reply to comment #3)
 I downloaded ffmpeg 0.7.1 and was able to build it with gold on Ubuntu Lucid.
 
 I'm afraid that I don't have the patience to figure out how to use the patches
 and Makefile you reference.  You should be able to use make V=1 to see the
 command which failed.  Can you please post that command here, and make
 available a tar ball of all the input files?  Thanks.

-- 
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.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


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

2011-06-30 Thread website-sourceware at interfasys dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12952

--- Comment #5 from interfaSys sàrl website-sourceware at interfasys dot ch 
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 -Llibavformat -Llibavutil -Llibpostproc -Llibswscale
-L/usr/local/lib -Wl,--as-needed -Wl,--warn-common -Wl,-rpath-link,libpostproc
-Wl,-rpath-link,libswscale -Wl,-rpath-link,libavfilter
-Wl,-rpath-link,libavdevice -Wl,-rpath-link,libavformat
-Wl,-rpath-link,libavcodec -Wl,-rpath-link,libavutil -o
libavformat/libavformat.so.1 libavformat/4xm.o libavformat/a64.o
libavformat/aacdec.o libavformat/ac3dec.o libavformat/adtsenc.o
libavformat/aea.o libavformat/aiffdec.o libavformat/aiffenc.o
libavformat/allformats.o libavformat/amr.o libavformat/anm.o libavformat/apc.o
libavformat/ape.o libavformat/apetag.o libavformat/applehttp.o
libavformat/applehttpproto.o libavformat/asf.o libavformat/asfcrypt.o
libavformat/asfdec.o libavformat/asfenc.o libavformat/assdec.o
libavformat/assenc.o libavformat/au.o libavformat/audiointerleave.o
libavformat/avc.o libavformat/avi.o libavformat/avidec.o libavformat/avienc.o
libavformat/avio.o libavformat/aviobuf.o libavformat/avlanguage.o
libavformat/avs.o libavformat/bethsoftvid.o libavformat/bfi.o
libavformat/bink.o libavformat/c93.o libavformat/caf.o libavformat/cafdec.o
libavformat/cafenc.o libavformat/cavsvideodec.o libavformat/cdg.o
libavformat/concat.o libavformat/crcenc.o libavformat/crypto.o
libavformat/cutils.o libavformat/daud.o libavformat/dfa.o
libavformat/diracdec.o libavformat/dnxhddec.o libavformat/dsicin.o
libavformat/dtsdec.o libavformat/dv.o libavformat/dvenc.o libavformat/dxa.o
libavformat/eacdata.o libavformat/electronicarts.o libavformat/ffmdec.o
libavformat/ffmenc.o libavformat/ffmetadec.o libavformat/ffmetaenc.o
libavformat/file.o libavformat/filmstripdec.o libavformat/filmstripenc.o
libavformat/flacdec.o libavformat/flacenc.o libavformat/flacenc_header.o
libavformat/flic.o libavformat/flvdec.o libavformat/flvenc.o
libavformat/framecrcenc.o libavformat/gif.o libavformat/gopher.o
libavformat/gxf.o libavformat/gxfenc.o libavformat/h261dec.o
libavformat/h263dec.o libavformat/h264dec.o libavformat/http.o
libavformat/httpauth.o libavformat/id3v1.o libavformat/id3v2.o
libavformat/idcin.o libavformat/idroqdec.o libavformat/idroqenc.o
libavformat/iff.o libavformat/img2.o libavformat/ingenientdec.o
libavformat/ipmovie.o libavformat/isom.o libavformat/iss.o libavformat/iv8.o
libavformat/ivfdec.o libavformat/ivfenc.o libavformat/jvdec.o
libavformat/lmlm4.o libavformat/lxfdec.o libavformat/m4vdec.o
libavformat/matroska.o libavformat/matroskadec.o libavformat/matroskaenc.o
libavformat/md5enc.o libavformat/md5proto.o libavformat/metadata.o
libavformat/metadata_compat.o libavformat/microdvddec.o
libavformat/microdvdenc.o libavformat/mm.o libavformat/mmf.o libavformat/mms.o
libavformat/mmsh.o libavformat/mmst.o libavformat/mov.o libavformat/movenc.o
libavformat/movenchint.o libavformat/mp3dec.o libavformat/mp3enc.o
libavformat/mpc.o libavformat/mpc8.o libavformat/mpeg.o libavformat/mpegenc.o
libavformat/mpegts.o libavformat/mpegtsenc.o libavformat/mpegvideodec.o
libavformat/mpjpeg.o libavformat/msnwc_tcp.o libavformat/mtv.o
libavformat/mvi.o libavformat/mxf.o libavformat/mxfdec.o libavformat/mxfenc.o
libavformat/mxg.o libavformat/ncdec.o libavformat/nsvdec.o
libavformat/nullenc.o libavformat/nut.o libavformat/nutdec.o
libavformat/nutenc.o libavformat/nuv.o libavformat/oggdec.o
libavformat/oggenc.o libavformat/oggparsecelt.o libavformat/oggparsedirac.o
libavformat/oggparseflac.o libavformat/oggparseogm.o
libavformat/oggparseskeleton.o libavformat/oggparsespeex.o
libavformat/oggparsetheora.o libavformat/oggparsevorbis.o libavformat/oma.o
libavformat/options.o libavformat/os_support.o libavformat/pcm.o
libavformat/pcmdec.o libavformat/pcmenc.o libavformat/pmpdec.o
libavformat/psxstr.o libavformat/pva.o libavformat/qcp.o libavformat/r3d.o
libavformat/rawdec.o libavformat/rawenc.o libavformat/rawvideodec.o
libavformat/rdt.o libavformat/riff.o libavformat/rl2.o libavformat/rm.o
libavformat/rmdec.o libavformat/rmenc.o libavformat/rpl.o libavformat/rso.o
libavformat/rsodec.o libavformat/rsoenc.o libavformat/rtmppkt.o
libavformat/rtmpproto.o libavformat/rtp.o libavformat/rtpdec.o
libavformat/rtpdec_amr.o libavformat/rtpdec_asf.o libavformat/rtpdec_h263.o
libavformat/rtpdec_h264.o libavformat/rtpdec_latm.o libavformat/rtpdec_mpeg4.o
libavformat/rtpdec_qcelp.o libavformat/rtpdec_qdm2.o libavformat/rtpdec_qt.o
libavformat/rtpdec_svq3.o libavformat/rtpdec_vp8.o libavformat/rtpdec_xiph.o
libavformat/rtpenc.o libavformat/rtpenc_aac.o libavformat/rtpenc_amr.o
libavformat/rtpenc_chain.o libavformat/rtpenc_h263.o libavformat/rtpenc_h264.o
libavformat/rtpenc_latm.o libavformat/rtpenc_mpv.o libavformat/rtpenc_vp8.o
libavformat/rtpenc_xiph.o libavformat/rtpproto.o