This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

Re: target/9628: [sparc] ICE in gcc 3.4 20030203 sparc{64,}-linux: bfd/linker.c:2738: internal compiler error: output_operand: invalid expression as operand


On Thu, Mar 27, 2003 at 10:41:42AM -0000, ebotcazou at gcc dot gnu dot org wrote:
> Synopsis: [sparc] ICE in gcc 3.4 20030203 sparc{64,}-linux: bfd/linker.c:2738: internal compiler error: output_operand: invalid expression as operand
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: ebotcazou
> State-Changed-When: Thu Mar 27 10:41:42 2003
> State-Changed-Why:
>     We need a preprocessed testcase (see http://gcc.gnu.org/bugs.html)
>     and a small one is even better.
> 
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9628

This was on an Aurora SPARC Linux 1.0 (Ansel) Ultra1 single UltraSparc I sun4u:

binutils 2.13.90 20030327 sparc64-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 20030327 (experimental) sparc64-linux
glibc-2.2.5-42
glibc-kernheaders-2.4-7.16sparc
glibc64-2.2.5-42
kernel-2.4.20-3.0sparc (experimental Aurora kernel)
tcl-8.3.3-67

ICE still there for gcc 3.4 20030327 (test results reported at http://gcc.gnu.org/ml/gcc-testresults/2003-03/msg01775.html)

This gcc 3.4 20030327 was configured like this:

/usr/local/src/gcc-binutils/trunk/gcc-binutils/configure  sparc64-linux --prefix=/usr/local/gcc-binutils --enable-shared --enable-threads=posix --enable-checking

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://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [linker.lo] Error 1
make[3]: Leaving directory `/usr/local/src/gcc-binutils/trunk/objdir/bfd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/gcc-binutils/trunk/objdir/bfd'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/usr/local/src/gcc-binutils/trunk/objdir/bfd'
make: *** [all-bfd] Error 2

Attached is the (gzipped) preproccessed file of linker.c

Anything else you like me to do?

Cheers,

/ChJ

Attachment: linker.i.gz
Description: GNU Zip compressed data


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