Subject: pkg/14316: strange compiler error while building Mozill-0.9.5 on i386 1.5W
To: None <gnats-bugs@gnats.netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: netbsd-bugs
Date: 10/20/2001 20:20:28
>Number:         14316
>Category:       pkg
>Synopsis:       strange compiler error while building Mozill-0.9.5 on i386 1.5W
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 20 17:21:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Greg A. Woods
>Release:        2001/06/24
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Environment:
System: NetBSD 1.5W
Architecture: i386
Machine: i386
>Description:

	This has happened twice now, maybe even three times.  The first
	(and maybe second, if the very first was with the same file)
	this happened I blamed it on faulty hardware.  However I've
	since corrected a BIOS configuration error (wrong memory speed
	selected) in the system on which this has happened and the
	system as a whole has been 100% stable since then.  I decided
	I'd try a from-scratch build of mozilla again to see if the same
	error was encountered (and ot stress-test the system of course).
	Oddly the compiler dumped out again on the very same file again.

c++ -o nsGenericHTMLElement.o -c -DOSTYPE=\"NetBSD1\" -DOSARCH=\"NetBSD\" -DOJI -D_IMPL_NS_HTML -DENDER_LITE  -I../../../../dist/include/xpcom -I../../../../dist/include/string -I../../../../dist/include/gfx -I../../../../dist/include/layout -I../../../../dist/include/uriloader -I../../../../dist/include/widget -I../../../../dist/include/dom -I../../../../dist/include/js -I../../../../dist/include/locale -I../../../../dist/include/webshell -I../../../../dist/include/htmlparser -I../../../../dist/include/necko -I../../../../dist/include/view -I../../../../dist/include/pref -I../../../../dist/include/docshell -I../../../../dist/include/xpconnect -I../../../../dist/include/xuldoc -I../../../../dist/include/caps -I../../../../dist/include/editor -I../../../../dist/include/uconv -I../../../../dist/include/gfx2 -I../../../../dist/include/imglib2 -I../../../../dist/include/content -I../../../../dist/include -I/work/pkgobj/www/mozilla/work/mozilla/dist/include/nspr  -I/var/package-obj/www/mozilla/work/.buildlink/include -I/var/package-obj/www/mozilla/work/.buildlink/include   -I./../../style/src -I./../../../base/src -I./../../base/src  -I/usr/X11R6/include   -fPIC -DPIC  -I/var/package-obj/www/mozilla/work/.buildlink/include -I/var/package-obj/www/mozilla/work/.buildlink/include   -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth -pedantic -Wno-long-long -I/var/package-obj/www/mozilla/work/.buildlink/include -I/var/package-obj/www/mozilla/work/.buildlink/include -I/var/package-obj/www/mozilla/work/.buildlink/include -O2 -pipe -O2 -pipe -Dunix -O  -DNDEBUG -DTRIMMED -I/var/package-obj/www/mozilla/work/.buildlink/include -I/var/package-obj/www/mozilla/work/.buildlink/include   -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../../config-defs.h -Wp,-MD,.deps/nsGenericHTMLElement.pp nsGenericHTMLElement.cpp
nsGenericHTMLElement.cpp: In method `nsresult nsGenericHTMLElement::SetAttr(PRInt32, class nsIAtom *, const class nsAReadableString &, PRBool)':
nsGenericHTMLElement.cpp:1622: Internal compiler error.
nsGenericHTMLElement.cpp:1622: Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
nsGenericHTMLElement.cpp:1622: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for details.
cpp: output pipe has been closed
gmake[4]: *** [nsGenericHTMLElement.o] Error 1
gmake[4]: Leaving directory `/work/pkgobj/www/mozilla/work/mozilla/content/html/content/src'


	unfortunately even if the build is re-started it completes, but
	the resulting application doesn't work (it starts, but then
	dumps core with a SIGBUS).


	oddly mozilla-0.9.5 builds just fine and works well on another
	i386 system -- the one that built the binaries which where used
	to install this one!

	I'm going to re-install the comp.tgz set at least and try again...

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: