Subject: Why GCC34-3.4.3 is necessary for Firefox & Thunderbird build? (was
To: None <netbsd-help@netbsd.org>
From: Andre Leao Macedo <alm_nospam-netbsd@yahoo.com.br>
List: netbsd-help
Date: 02/10/2005 21:28:15
Hi,

After some further investigation, I could not try to track down the 
problem with GCC34-3.4.3 build, which led me to the following question: 
why the hell is it necessary to build Firefox & Thunderbird?

I checked every package that Firefox depends on to build, and they are 
all installed. But if I try to build Firefox, it starts building gcc34. 
Is there any chance that a previously installed package (or 
meta-package, like edesktop) could have left this dependency behind? 
(eg: I installed edesktop, and pkgsrc dowloaded emacs, but did not 
install it)

I tried to pkgdep & pkgdep -r, with no success.

Any idea?

Andre

Andre Leao Macedo wrote:

> Hi,
>
> I am trying to install firefox-1.0 from source on my NetBSD 2.0 
> (amd64). During the build of gcc34 (btw, I don't know why gcc34 would 
> be necessary in the first place), I get the following error:
>
> CC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
> -pedantic -Wno-long-long -Wold-style-definition     -DHAVE_CONFIG_H 
> -I/usr/pkgsrc/lang/gcc34/work/.buildlink/include  -I/usr/include 
> -I/usr/include   -I. -I. -I/usr/pkgsrc/lang/gcc34/work/gcc-3.4.3/gcc 
> -I/usr/pkgsrc/lang/gcc34/work/gcc-3.4.3/gcc/. 
> -I/usr/pkgsrc/lang/gcc34/work/gcc-3.4.3/gcc/../include -I../intl 
> /usr/pkgsrc/lang/gcc34/work/gcc-3.4.3/gcc/dwarf2out.c -o dwarf2out.o
> /usr/pkgsrc/lang/gcc34/work/gcc-3.4.3/gcc/dwarf2out.c: In function 
> `gen_variable_die':
> /usr/pkgsrc/lang/gcc34/work/gcc-3.4.3/gcc/dwarf2out.c:11148: internal 
> compiler error: Bus error
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> gmake[2]: *** [dwarf2out.o] Error 1
> gmake[2]: Leaving directory `/usr/pkgsrc/lang/gcc34/work/obj/gcc'
> gmake[1]: *** [stage3_build] Error 2
> gmake[1]: Leaving directory `/usr/pkgsrc/lang/gcc34/work/obj/gcc'
> gmake: *** [bootstrap] Error 2
> *** Error code 2
>
> Stop.
> make: stopped in /usr/pkgsrc/lang/gcc34
> ===>
> ===> There was an error during the ``build'' phase.
> ===> Please investigate the following for more information:
> ===>      * log of the build
> ===>      * /usr/pkgsrc/lang/gcc34/work/.work.log
> ===>
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/lang/gcc34
>
> Although there was a message to submit a bug report to GNU, there was 
> another time when I tried, with instructions to submit it to NetBSD. 
> Does anyone have a clue about the problem? Let me know if any other 
> information (work.log, etc) is necessary to track the problem.
>
> Thanks,
> Andre.
>
>