Discussion:
Mozilla 1.2b fails to build on IRIX 6.5.17m (R10k)
Bernhard Erdmann
2002-11-18 20:32:49 UTC
Permalink
Tried to build Mozilla 1.2b on IRIX 6.5.17m (Indigo2 R10k, IP 28) but
make fails.

gtar xzf mozilla-source-1.2b.tar.gz
mkdir build-indigo-3; cd build-indigo-3
./mozilla/configure 2>&1 | tee config.out
gmake 2>&1 | tee make.out

The output files are available at
http://berdmann.dyndns.org/debug/mozilla/1.2b/irix64/

Freeware installed from http://freeware.sgi.com/
gcc 3.0.4
gmake 3.79.1
glib 1.2.10
gtk+ 1.2.10
libIDL of ORBit 0.5.17
zip 2.3

Make stops showing:

c++ -o nsSoftwareUpdate.o -c -DOSTYPE=\"IRIX6\" -DOSARCH=\"IRIX\" -DOJI
-I../../../mozilla/xpinstall/src/../public -I../../dist/include/xpcom
-I../../dist/include/string -I../../dist/include/jar
-I../../dist/include/chrome -I../../dist/include/necko
-I../../dist/include/intl -I../../dist/include/locale
-I../../dist/include/libreg -I../../dist/include/js
-I../../dist/include/pref -I../../dist/include/widget
-I../../dist/include/content -I../../dist/include/uriloader
-I../../dist/include/xpconnect -I../../dist/include/docshell
-I../../dist/include/dom -I../../dist/include/windowwatcher
-I../../dist/include/plugin -I../../dist/include/zlib
-I../../dist/include/xpinstall -I../../dist/include
-I/net/scratch/build-indigo-3/dist/include/nspr -fPIC
-fno-rtti -fno-exceptions -Wall -pedantic -Wno-long-long
-D_LANGUAGE_C_PLUS_PLUS -fshort-wchar -DDEBUG -D_DEBUG -DDEBUG_be
-DTRACING -g -DMOZILLA_CLIENT -include ../../mozilla-config.h
-Wp,-MD,.deps/nsSoftwareUpdate.pp
./../../mozilla/xpinstall/src/nsSoftwareUpdate.cpp
<command line>: warning: "__WCHAR_TYPE__" redefined
<command line>: warning: this is the location of the previous definition
./../../mozilla/xpinstall/src/nsSoftwareUpdate.cpp: In function `void
__static_initialization_and_destruction_0(int, int)':
./../../mozilla/xpinstall/src/nsSoftwareUpdate.cpp:91: Internal
compiler error in emit_move_insn_1, at expr.c:2975
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
gmake[3]: *** [nsSoftwareUpdate.o] Error 1
gmake[3]: Leaving directory
`/.amd/ente/export/scratch/build-indigo-3/xpinstall/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory
`/.amd/ente/export/scratch/build-indigo-3/xpinstall'gmake[1]: ***
[tier_9] Error 2
gmake[1]: Leaving directory `/.amd/ente/export/scratch/build-indigo-3'
gmake: *** [default] Error 2
Nick Blievers
2002-11-18 23:06:45 UTC
Permalink
Hi,
From the output, its not make so much as gcc that fails.

Have a look here for some build suggestions.
http://oss.sgi.com/projects/mozilla/faq.html


If you download and compile gcc-3.1, then you can build mozilla, but need
to apply some patches. The freeware.sgi.com mozilla is built with
gcc-2.95.3, and I would suggest building with that one.

Hope this helps!

Nick
Post by Bernhard Erdmann
Tried to build Mozilla 1.2b on IRIX 6.5.17m (Indigo2 R10k, IP 28) but
make fails.
gtar xzf mozilla-source-1.2b.tar.gz
mkdir build-indigo-3; cd build-indigo-3
./mozilla/configure 2>&1 | tee config.out
gmake 2>&1 | tee make.out
The output files are available at
http://berdmann.dyndns.org/debug/mozilla/1.2b/irix64/
Freeware installed from http://freeware.sgi.com/
gcc 3.0.4
gmake 3.79.1
glib 1.2.10
gtk+ 1.2.10
libIDL of ORBit 0.5.17
zip 2.3
c++ -o nsSoftwareUpdate.o -c -DOSTYPE=\"IRIX6\" -DOSARCH=\"IRIX\" -DOJI
-I../../../mozilla/xpinstall/src/../public -I../../dist/include/xpcom
-I../../dist/include/string -I../../dist/include/jar
-I../../dist/include/chrome -I../../dist/include/necko
-I../../dist/include/intl -I../../dist/include/locale
-I../../dist/include/libreg -I../../dist/include/js
-I../../dist/include/pref -I../../dist/include/widget
-I../../dist/include/content -I../../dist/include/uriloader
-I../../dist/include/xpconnect -I../../dist/include/docshell
-I../../dist/include/dom -I../../dist/include/windowwatcher
-I../../dist/include/plugin -I../../dist/include/zlib
-I../../dist/include/xpinstall -I../../dist/include
-I/net/scratch/build-indigo-3/dist/include/nspr -fPIC
-fno-rtti -fno-exceptions -Wall -pedantic -Wno-long-long
-D_LANGUAGE_C_PLUS_PLUS -fshort-wchar -DDEBUG -D_DEBUG -DDEBUG_be
-DTRACING -g -DMOZILLA_CLIENT -include ../../mozilla-config.h
-Wp,-MD,.deps/nsSoftwareUpdate.pp
./../../mozilla/xpinstall/src/nsSoftwareUpdate.cpp
<command line>: warning: "__WCHAR_TYPE__" redefined
<command line>: warning: this is the location of the previous definition
./../../mozilla/xpinstall/src/nsSoftwareUpdate.cpp: In function `void
./../../mozilla/xpinstall/src/nsSoftwareUpdate.cpp:91: Internal
compiler error in emit_move_insn_1, at expr.c:2975
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
gmake[3]: *** [nsSoftwareUpdate.o] Error 1
gmake[3]: Leaving directory
`/.amd/ente/export/scratch/build-indigo-3/xpinstall/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory
`/.amd/ente/export/scratch/build-indigo-3/xpinstall'gmake[1]: ***
[tier_9] Error 2
gmake[1]: Leaving directory `/.amd/ente/export/scratch/build-indigo-3'
gmake: *** [default] Error 2
Nick Blievers
2002-11-18 23:43:59 UTC
Permalink
Searching under bugworks shows:
http://bugzilla.mozilla.org/show_bug.cgi?id=86446
http://bugzilla.mozilla.org/show_bug.cgi?id=71627

Both of these will be necessary to build using gcc3.

Hope this helps,

Nick
-----Original Message-----
Sent: Tuesday, 19 November 2002 10:30
To: Nick Blievers
Subject: Re: Mozilla 1.2b fails to build on IRIX 6.5.17m (R10k)
[...]
Post by Nick Blievers
If you download and compile gcc-3.1, then you can build
mozilla, but need
Post by Nick Blievers
to apply some patches. The freeware.sgi.com mozilla is built with
gcc-2.95.3, and I would suggest building with that one.
Hi, which patches are needed for gcc-3.1?
Loading...