[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/12968] New: gold generates broken binaries on FreeBSD 8.2
From: |
website-sourceware at interfasys dot ch |
Subject: |
[Bug gold/12968] New: gold generates broken binaries on FreeBSD 8.2 |
Date: |
Thu, 7 Jul 2011 10:18:13 +0000 |
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: address@hidden
ReportedBy: address@hidden
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 0x0000000000555aa4 in std::operator+<char, std::char_traits<char>,
std::allocator<char> > ()
[New Thread 8010041c0 (LWP 100676/initial thread)]
(gdb) bt full
#0 0x0000000000555aa4 in std::operator+<char, std::char_traits<char>,
std::allocator<char> > ()
No symbol table info available.
#1 0x0000000000563a12 in std::operator+<char, std::char_traits<char>,
std::allocator<char> > ()
No symbol table info available.
#2 0x0000000000415576 in ?? ()
No symbol table info available.
#3 0x0000000000404a2e in ?? ()
No symbol table info available.
#4 0x0000000800759000 in ?? ()
No symbol table info available.
#5 0x0000000000000000 in ?? ()
No symbol table info available.
...
#79 0x0000000000000009 in ?? ()
No symbol table info available.
#80 0x00000000004049a0 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 (0x8005d0000)
libthr.so.3 => /lib/libthr.so.3 (0x8006f0000)
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 gold/12968] New: gold generates broken binaries on FreeBSD 8.2,
website-sourceware at interfasys dot ch <=
- [Bug gold/12968] gold generates broken binaries on FreeBSD 8.2, ian at airs dot com, 2011/07/07
- [Bug gold/12968] gold generates broken binaries on FreeBSD 8.2, website-sourceware at interfasys dot ch, 2011/07/07
- [Bug gold/12968] gold generates broken binaries on FreeBSD 8.2, website-sourceware at interfasys dot ch, 2011/07/07
- [Bug gold/12968] gold generates broken binaries on FreeBSD 8.2, ian at airs dot com, 2011/07/07
- [Bug gold/12968] gold generates broken binaries on FreeBSD 8.2, website-sourceware at interfasys dot ch, 2011/07/07
- [Bug gold/12968] gold generates broken binaries on FreeBSD 8.2, ian at airs dot com, 2011/07/07
- [Bug gold/12968] gold generates broken binaries on FreeBSD 8.2, website-sourceware at interfasys dot ch, 2011/07/07
- [Bug gold/12968] gold generates broken binaries on FreeBSD 8.2, ian at airs dot com, 2011/07/07
- [Bug gold/12968] gold generates broken binaries on FreeBSD 8.2, website-sourceware at interfasys dot ch, 2011/07/07
- [Bug gold/12968] gold generates broken binaries on FreeBSD 8.2, ian at airs dot com, 2011/07/08