Subject: weird problems building mozilla on one machine.....
To: NetBSD-current Discussion List <current-users@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: current-users
Date: 01/07/2002 22:44:06
I have two main i386 development systems, one on which I do "make build"
and another on which I build binary packages for use at customer sites.
The latter runs the OS built on the first. I also build packages on the
first system, for use natively on that system. Currently the OS is
based on a cut made from netbsd-current as of 2001/06/24 (1.5W).
I've successfully built lots of packages on both machines, including
mozilla-0.9.3 and mozilla-0.9.5.
However the last two times I've tried to build mozilla on the second
machine the build has broken in very strange ways, even though
everything's OK on the first machine.
With 0.9.6 there was apparently some problem causing a couple of
unpacked source files to be corrupted. I reported this in PR#14316.
This time with 0.9.7 the compiler complains of an internal error, though
there was no message from the kernel about any signal being delivered to
the compiler, and there's no discernable difference between the file as
it was unpacked on the first machine vs. the file as it was unpacked on
the second machine.
This second machine otherwise seems to run very reliably, and currently
has an uptime of 79 days. As mentioned in PR#14316 I had the wrong
memory speed selected in the BIOS prior to the last reboot, but since
correcting it the machine has run flawlessly, up until this recent error
building mozilla again. Besides using it to build binary packages and
do some minimal testing of them, I've also been using extensively it to
run xterms and ssh sessions.
(Note the long c++ line has been re-folded to prevent my mailer from
encoding the whole damn message in BASE64)
c++ -o nsDOMClassInfo.o -c -DOSTYPE=\"NetBSD1\" -DOSARCH=\"NetBSD\" \
-DOJI -D_IMPL_NS_DOM -I../../../dist/include/xpcom \
-I../../../dist/include/string -I../../../dist/include/webbrwsr \
-I../../../dist/include/js -I../../../dist/include/widget \
-I../../../dist/include/gfx -I../../../dist/include/layout \
-I../../../dist/include/content -I../../../dist/include/content_xsl \
-I../../../dist/include/caps -I../../../dist/include/docshell \
-I../../../dist/include/xpconnect -I../../../dist/include/pref \
-I../../../dist/include/oji -I../../../dist/include/necko \
-I../../../dist/include/java -I../../../dist/include/locale \
-I../../../dist/include/uriloader -I../../../dist/include/sidebar \
-I../../../dist/include/xuldoc -I../../../dist/include/timer \
-I../../../dist/include/webshell -I../../../dist/include/view \
-I../../../dist/include/uconv -I../../../dist/include/shistory \
-I../../../dist/include/plugin -I../../../dist/include/windowwatcher \
-I../../../dist/include/htmlparser -I../../../dist/include/chardet \
-I../../../dist/include/transformiix -I../../../dist/include/xmlextras \
-I../../../dist/include/find -I../../../dist/include/appshell \
-I../../../dist/include/dom -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/usr/X11R6/include -fPIC -DPIC \
-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 -Wno-ctor-dtor-privacy -pedantic -Wno-long-long \
-I/var/package-obj/www/mozilla/work/.buildlink/include \
-I/var/package-obj/www/mozilla/work/.buildlink/include -O2 -Dunix -pipe \
-DNDEBUG -DTRIMMED -O -I./../build \
-I/var/package-obj/www/mozilla/work/.buildlink/include \
-I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../config-defs.h \
-Wp,-MD,.deps/nsDOMClassInfo.pp nsDOMClassInfo.cpp
nsDOMClassInfo.cpp: In function `static nsresult nsDOMClassInfo::Init()':
nsDOMClassInfo.cpp:2019: Internal compiler error.
nsDOMClassInfo.cpp:2019: Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
nsDOMClassInfo.cpp:2019: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for details.
cpp: output pipe has been closed
gmake[4]: *** [nsDOMClassInfo.o] Error 1
gmake[4]: Leaving directory `/work/pkgobj/www/mozilla/work/mozilla/dom/src/base'
I restarted the build (without "make clean"), and this time the above
file compiles through just fine:
gmake[4]: Entering directory `/work/pkgobj/www/mozilla/work/mozilla/dom/src/base'
nsDOMClassInfo.cpp
c++ -o nsDOMClassInfo.o -c -DOSTYPE=\"NetBSD1\" -DOSARCH=\"NetBSD\" \
-DOJI -D_IMPL_NS_DOM -I../../../dist/include/xpcom \
-I../../../dist/include/string -I../../../dist/include/webbrwsr \
-I../../../dist/include/js -I../../../dist/include/widget \
-I../../../dist/include/gfx -I../../../dist/include/layout \
-I../../../dist/include/content -I../../../dist/include/content_xsl \
-I../../../dist/include/caps -I../../../dist/include/docshell \
-I../../../dist/include/xpconnect -I../../../dist/include/pref \
-I../../../dist/include/oji -I../../../dist/include/necko \
-I../../../dist/include/java -I../../../dist/include/locale \
-I../../../dist/include/uriloader -I../../../dist/include/sidebar \
-I../../../dist/include/xuldoc -I../../../dist/include/timer \
-I../../../dist/include/webshell -I../../../dist/include/view \
-I../../../dist/include/uconv -I../../../dist/include/shistory \
-I../../../dist/include/plugin -I../../../dist/include/windowwatcher \
-I../../../dist/include/htmlparser -I../../../dist/include/chardet \
-I../../../dist/include/transformiix -I../../../dist/include/xmlextras \
-I../../../dist/include/find -I../../../dist/include/appshell \
-I../../../dist/include/dom -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/usr/X11R6/include -fPIC -DPIC \
-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 -Wno-ctor-dtor-privacy -pedantic -Wno-long-long \
-I/var/package-obj/www/mozilla/work/.buildlink/include \
-I/var/package-obj/www/mozilla/work/.buildlink/include -O2 -Dunix -pipe \
-DNDEBUG -DTRIMMED -O -I./../build \
-I/var/package-obj/www/mozilla/work/.buildlink/include \
-I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../config-defs.h \
-Wp,-MD,.deps/nsDOMClassInfo.pp nsDOMClassInfo.cpp
rm -f libjsdombase_s.a
/usr/bin/ar cr libjsdombase_s.a nsBarProps.o nsDOMException.o nsJSEnvironment.o nsFocusController.o nsGlobalWindow.o nsLocation.o nsDOMWindowList.o nsJSUtils.o nsScreen.o nsHistory.o nsMimeTypeArray.o nsPluginArray.o nsWindowRoot.o nsDOMClassInfo.o
ranlib libjsdombase_s.a
../../../config/nsinstall -R -m 644 libjsdombase_s.a ../../../dist/lib
gmake[4]: Leaving directory `/work/pkgobj/www/mozilla/work/mozilla/dom/src/base'
Is my second machine really flaky, or is this possibly an artifact of a
UVM/UBC bug, or maybe something related to NEW_PIPE (the first machine
has 192MB RAM, the second only 80MB, and they run a very different mix
of processes)?
I really do need to find the time to upgrade to -current again -- I know
there are several other UVM/UBC, NEW_PIPE, and NFS bugs that have been
causing the first machine (the more heavily used one) to crash on
occasion. However the first machine has never exhibited these kinds of
compiler errors.....
--
Greg A. Woods
+1 416 218-0098; <gwoods@acm.org>; <g.a.woods@ieee.org>; <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>