Subject: firefox-gtk2 and internal compiler error on sparc64
To: None <tech-pkg@netbsd.org, port-sparc64@netbsd.org>
From: None <sigsegv@rambler.ru>
List: tech-pkg
Date: 02/20/2005 19:27:06
Greetings, I was trying to build firefox-gtk2 inside chroot from current
pkgsrc tree, when it died with 'internal compiler error'
This is sun4u Ultra10, running 32-bit kernel and userland
u10# uname -a
NetBSD u10 2.0_STABLE NetBSD 2.0_STABLE (GENERIC_SUN4U) #0: Fri Feb 11
16:57:08 UTC 2005
root@athlon1000:/opt/obj.sparc/sys/arch/sparc/compile/GENERIC_SUN4U sparc64
u10# gcc -v
Using built-in specs.
Configured with:
/home/nick/work/netbsd/src/tools/gcc/../../gnu/dist/gcc/configure
--enable-long-long --disable-multilib --enable-threads --disable-symvers
--build=i386-unknown-netbsdelf --host=sparc--netbsdelf
--target=sparc--netbsdelf
Thread model: posix
gcc version 3.3.3 (NetBSD nb3 20040520)
Below is the compiler output, has anyone seen this before? I'm going to
build lang/gcc34 and see if that works.
c++ -o nsTextFormatter.o -c -DOSTYPE=\"NetBSD2\" -DOSARCH=\"NetBSD\"
-D_IMPL_NS_COM -I../../dist/include/string -I../../dist/include/xpcom
-I../../dist/include -I/opt/obj.spa
rc64/pkg/www/firefox-gtk2/work/mozilla/dist/include/nspr
-I/usr/pkg/include -I/usr/pkg/include -I/usr/X11R6/include -fPIC
-DPIC -I/usr/pkg/include -I/usr/include -I/usr/p
kg/include/freetype2 -I/usr/X11R6/include -fno-rtti -fno-exceptions
-Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual
-Wsynth -Wno-ctor-dtor-privacy -Wno-n
on-virtual-dtor -Wno-long-long -O2 -mcpu=ultrasparc -O2
-I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2
-mcpu=ultrasparc -O2 -Dunix -fshort-wchar -pthread -pipe
-DNDEBUG -DTRIMMED -mcpu=ultrasparc -O2 -I/usr/pkg/include
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/X11R6/include
-DMOZILLA_CLIENT -include ../../mozilla-config.
h -Wp,-MD,.deps/nsTextFormatter.pp nsTextFormatter.cpp
nsTextFormatter.cpp: In function `NumArgState* BuildArgArray(const
PRUnichar*,
char*, int*, NumArgState*)':
nsTextFormatter.cpp:916: warning: cast from `char*' to `PRIntn**' increases
required alignment of target type
nsTextFormatter.cpp:916: warning: cast from `char*' to `PRIntn*' increases
required alignment of target type
nsTextFormatter.cpp:916: warning: cast from `char*' to `PRIntn*' increases
required alignment of target type
nsTextFormatter.cpp:918: warning: cast from `char*' to `PRInt32**'
increases
required alignment of target type
... many more cast warnings
nsTextFormatter.cpp:1191: internal compiler error: in convert_move, at
expr.c:
565
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.netbsd.org/Misc/send-pr.html> for instructions.
gmake[3]: *** [nsTextFormatter.o] Error 1
gmake[3]: Leaving directory
`/opt/obj.sparc64/pkg/www/firefox-gtk2/work/mozilla/xpcom/ds'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory
`/opt/obj.sparc64/pkg/www/firefox-gtk2/work/mozilla/xpcom'
gmake[1]: *** [tier_2] Error 2
gmake[1]: Leaving directory
`/opt/obj.sparc64/pkg/www/firefox-gtk2/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2
Stop.
make: stopped in /opt/pkgsrc/www/firefox-gtk2
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===> * log of the build
===> * /opt/obj.sparc64/pkg/www/firefox-gtk2/work/.work.log
===>
*** Error code 1
Stop.
make: stopped in /opt/pkgsrc/www/firefox-gtk2