Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196763 - sys-devel/binutils-2.16.1-r3 - ld: BFD 2.16.1 internal error
Summary: sys-devel/binutils-2.16.1-r3 - ld: BFD 2.16.1 internal error
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-23 03:34 UTC by B. Xin
Modified: 2007-10-23 06:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description B. Xin 2007-10-23 03:34:05 UTC
~> ld -g atom_add.o ctd.inst.extra.o ctd.inst.o -o ctd
ld: BFD 2.16.1 internal error, aborting at /scratch/portage/tmp/portage/sys-devel/binutils-2.16.1-r3/work/binutils-2.16.1/bfd/merge.c line 841 in _bfd_merged_section_offset

ld: Please report this bug.


Platform info:
- P 4 1.80GHz
- Linux version 2.6.22.5 (root@) (gcc version 4.1.1 (Gentoo 4.1.1-r3))
-  gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /scratch/portage/tmp/portage/sys-devel/gcc-4.1.1-r3/work/gcc-4.1.1/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.1 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --disable-nls --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libssp --enable-java-awt=gtk --enable-languages=c,c++,java,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.1 (Gentoo 4.1.1-r3)




Reproducible: Always

Steps to Reproduce:
1.make #to generate atom_add.o; the actual command "gcc -r -g -static -Wl,--verbose <files> -o atom_add.o -lm"
2. gcc to generate the other two .o files;
3.ld -g atom_add.o cd.inst.extra.o cd.inst.o -o cd

Actual Results:  
ld: BFD 2.16.1 internal error, aborting at /scratch/portage/tmp/portage/sys-devel/binutils-2.16.1-r3/work/binutils-2.16.1/bfd/merge.c line 841 in _bfd_merged_section_offset

ld: Please report this bug.

Expected Results:  
Generate an executable 'ctd'

If I replace the "atom_add.o" file with one generated from an earlier gcc version (gcc-3.4.5), the 'ld' command executes fine.
Comment 1 SpanKY gentoo-dev 2007-10-23 06:30:35 UTC
binutils-2.18 is stable, use it