Subject: toolchain/29761: internal compiler error while building www/firefox on 32-bit sparc64 system
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <sigsegv@rambler.ru>
List: netbsd-bugs
Date: 03/22/2005 10:17:00
>Number:         29761
>Category:       toolchain
>Synopsis:       internal compiler error while building www/firefox on 32-bit sparc64 system
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 22 10:17:00 +0000 2005
>Originator:     sigsegv
>Release:        3.0_BETA
>Organization:
>Environment:
NetBSD u10 3.0_BETA NetBSD 3.0_BETA (SUN4U.CUSTOM) #0: Mon Mar 21 23:46:36 UTC 2005  roman@u10:/opt/obj.sparc/sys/arch/sparc/compile/SUN4U.CUSTOM sparc64

>Description:
This is sparc64 machine, running 32-bit kernel and 32-bit userland. GCC that came with the base system keeps failing in particular area, while compiling www/firefox

nsTextFormatter.cpp:1260: warning: cast from `char*' to `int**' increases 
   required alignment of target type
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.sparc/pkg/www/firefox/work/mozilla/xpcom/ds'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/opt/obj.sparc/pkg/www/firefox/work/mozilla/xpcom'
gmake[1]: *** [tier_2] Error 2
gmake[1]: Leaving directory `/opt/obj.sparc/pkg/www/firefox/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2

Stop.
make: stopped in /opt/pkgsrc/www/firefox
===> 
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /opt/obj.sparc/pkg/www/firefox/work/.work.log
===> 
*** Error code 1

Stop.
make: stopped in /opt/pkgsrc/www/firefox

>How-To-Repeat:
Try building www/firefox on 32-bit sparc64 machine with gcc in the base system
>Fix:
use lang/gcc34 instead