Subject: sparc64 g++ create_reg_dead_note compiler error
To: None <>
From: john heasley <>
List: tech-toolchain
Date: 01/30/2003 20:18:12
i've seen rumblings in the past about upgrading the toolchain to
gcc-3.x, but nothing recently.  so, i'm not sure if i should send-pr
this, as i think that it's been fixed ~ 3.2.1 - or rather register
handling seems to have reworked.

so, building mozilla on sparc64 always ends with the following:

c++ -o nsBinaryStream.o -c -DOSTYPE=\"NetBSD1\" -DOSARCH=\"NetBSD\" -DOJI -D_IMPL_NS_COM  -I../../dist/include/string -I../../dist/include/xpcom -I../../dist/include -I/u1/pkgsrc/www/mozilla/work/mozilla/dist/include/nspr  -I/usr/pkg/include    -I/usr/X11R6/include   -fPIC -DPIC  -I/usr/X11R6/include/gdk-pixbuf-1.0  -I/usr/pkg/include -I/usr/X11R6/include  -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -pedantic -Wno-long-long -O -ffixed-g4 -I/usr/pkg/include -I/usr/X11R6/include -Dunix -pipe  -DNDEBUG -DTRIMMED -O2  -I/usr/X11R6/include/gdk-pixbuf-1.0  -I/usr/pkg/include -I/usr/X11R6/include  -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsBinaryStream.pp nsBinaryStream.cpp
nsBinaryStream.cpp: In method `nsresult nsBinaryOutputStream::WriteFloat(float)':
nsBinaryStream.cpp:151: Internal compiler error in `create_reg_dead_note', at haifa-sched.c:4496
Please submit a full bug report.
See <URL:> for instructions.
gmake[3]: *** [nsBinaryStream.o] Error 1
gmake[3]: Leaving directory `/u1/pkgsrc/www/mozilla/work/mozilla/xpcom/io'
gmake[2]: *** [libs] Error 2

i searched around and there are numerous patches that reference this
error and file, but none seem to be recent (ie: apply to the current

any chance someone could fix this, if we arent moving to gcc 3 soon?