Bug 5755 - binutils-2.18.50.0.4 ld fails to link while building older cross binutils
Summary: binutils-2.18.50.0.4 ld fails to link while building older cross binutils
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: ld (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
: 5796 (view as bug list)
Depends on: 5303
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-11 21:36 UTC by Mike Frysinger
Modified: 2008-02-28 01:38 UTC (History)
3 users (show)

See Also:
Host:
Target: powerpc-linux
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Frysinger 2008-02-11 21:36:40 UTC
on a powerpc host, i upgraded from 2.18.50.0.3 (which is working) to 2.18.50.0.4
and now building binutils-2.17 for a Blackfin target, ld aborts:

$ make size
/bin/sh ./libtool --mode=link gcc -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Werror -g -O2   -o size  size.o bucomm.o version.o
filemode.o ../bfd/libbfd.la ../libiberty/libiberty.a
gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -o size
size.o bucomm.o version.o filemode.o  ../bfd/.libs/libbfd.a ../libiberty/libiberty.a
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.2.2/../../../../powerpc-unknown-linux-gnu/bin/ld:
size of bfd_vma > size of splay_tree types
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.2.2/../../../../powerpc-unknown-linux-gnu/bin/ld:
BFD (Linux/GNU Binutils) 2.18.50.0.4.20080208 internal error, aborting at
/var/tmp/portage/sys-devel/binutils-2.18.50.0.4/work/binutils-2.18.50.0.4/bfd/arange-set.c
line 202 in arange_set_new

/usr/lib/gcc/powerpc-unknown-linux-gnu/4.2.2/../../../../powerpc-unknown-linux-gnu/bin/ld:
Please report this bug.

collect2: ld returned 1 exit status
make: *** [size] Error 1
Comment 2 H.J. Lu 2008-02-17 15:10:31 UTC
*** Bug 5767 has been marked as a duplicate of this bug. ***
Comment 3 Alan Modra 2008-02-28 01:38:59 UTC
*** Bug 5796 has been marked as a duplicate of this bug. ***