This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ICE in gcc 3.4 20030203 sparc-linux: bfd/linker.c:2738: internal compiler error: output_operand: invalid expression as operand


Aurora SPARC Linux 1.0 (Ansel) SS20 dual SuperSparc-(II) sun4m:

binutils 2.13.90 20030203 sparc-linux
bison-1.35-1
dejagnu-1.4.2-10 (ftp://ftp.redhat.com/pub/redhat/linux/rawhide/SRPMS/SRPMS)
expect-5.32.2-67
gcc 3.4 20030203 (experimental) sparc-linux
glibc-2.2.5-42
glibc-kernheaders-2.4-7.16sparc
kernel-2.4.20-2.3sparcsmp
tcl-8.3.3-67

LAST_UPDATED: Wed Feb  5 21:39:51 UTC 2003

When trying to bootstrap/build gcc and binutils joined cvs trunks,
using a previous such build as bootstrap, I get an ICE...


chj@sparky:/usr/local/src/gcc-binutils/trunk/objdir/bfd$ gdb /usr/local/gcc-binutils/bin/gcc
GNU gdb Red Hat Linux (5.2-2)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-redhat-linux"...
(gdb) set args -DHAVE_CONFIG_H -I. -I/usr/local/src/gcc-binutils/trunk/gcc-binutils/bfd -I. -D_GNU_SOURCE -I. -I/usr/local/src/gcc-binutils/trunk/gcc-binutils/bfd -I/usr/local/src/gcc-binutils/trunk/gcc-binutils/bfd/../include -I/usr/local/src/gcc-binutils/trunk/gcc-binutils/bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c /usr/local/src/gcc-binutils/trunk/gcc-binutils/bfd/linker.c  -fPIC -DPIC -o .libs/linker.o
(gdb) r
Starting program: /usr/local/gcc-binutils/bin/gcc -DHAVE_CONFIG_H -I. -I/usr/local/src/gcc-binutils/trunk/gcc-binutils/bfd -I. -D_GNU_SOURCE -I. -I/usr/local/src/gcc-binutils/trunk/gcc-binutils/bfd -I/usr/local/src/gcc-binutils/trunk/gcc-binutils/bfd/../include -I/usr/local/src/gcc-binutils/trunk/gcc-binutils/bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c /usr/local/src/gcc-binutils/trunk/gcc-binutils/bfd/linker.c  -fPIC -DPIC -o .libs/linker.o
/usr/local/src/gcc-binutils/trunk/gcc-binutils/bfd/linker.c: In function `default_data_link_order':
/usr/local/src/gcc-binutils/trunk/gcc-binutils/bfd/linker.c:2738: internal compiler error: output_operand: invalid expression as operand
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

Program exited with code 01.
(gdb) bt
No stack.
(gdb) q

Any ideas?

Something quite similar seems to happen for sparc64-linux, but I don't
have a gdb for sparc64-linux... yet..

/ChJ


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]