Subject: compiler bugs
To: None <port-hpcmips@netbsd.org>
From: Taras <taras.judge@shaw.ca>
List: port-hpcmips
Date: 08/23/2005 23:50:30
Hello,
Where does one report compiler bugs on hpcmips? So far I've hit two
annoying ones.  C++ compiler craps out on QT(see my previous  emails)
and  gcc produces some ASM which kills the assembler when compiling gcc 3.4.

/xgcc -Bstage1/ -B/usr/pkg/gcc34/mipsel--netbsd2.0/bin/ -c   -g -O2
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition
-DHAVE_CONFIG_H -I/usr/pkgsrc/lang/gcc34/work.mipsel/.buildlink/include
-I/usr/include -I/usr/include   -I. -I.
-I/usr/pkgsrc/lang/gcc34/work.mipsel/gcc-3.4.4/gcc
-I/usr/pkgsrc/lang/gcc34/work.mipsel/gcc-3.4.4/gcc/.
-I/usr/pkgsrc/lang/gcc34/work.mipsel/gcc-3.4.4/gcc/../include -I../intl
/usr/pkgsrc/lang/gcc34/work.mipsel/gcc-3.4.4/gcc/c-common.c -o c-common.o
/usr/bin/as: BFD 2.14 20030612 internal error, aborting at
/home/builds/ab/netbsd-2-0-2-RELEASE/src/gnu/dist/binutils/bfd/elf32-mips.c
line 972 in mips_elf_got16_reloc

/usr/bin/as: Please report this bug.


Since this is such an ancient version of GNU binutils, is netbsd
responsible for it? Or is this a bug in the upsteam assember too? How
does one safely test newer binutils on hpcmips?

Taras