I rebuild Mozilla every couple of days from the FTP site's nightly extract. This is the set of commands I run: #!/bin/bash #Download and compile the latest version of mozilla. export PATH=/usr/bin/colorgcc:/usr/bin:/usr/local/bin:/bin:/sbin:/usr/sbin:/usr/local/sbin:/usr/X11R6/bin:. export LD_LIBRARY_PATH=/usr/lib/:$LD_LIBRARY_PATH export HOME=/home/root export CFLAGS="-O3 -march=k6" export CXXFLAGS=$CFLAGS cd /usr/src rm -rf mozilla cd downloads rm mozilla-source.tar.bz2 wget --quiet "ftp://ftp.mozilla.org/pub/mozilla/nightly/latest/mozilla-source.tar.bz2" cd .. tar -jxvf downloads/mozilla-source.tar.bz2 cd mozilla ./configure --prefix=/usr --disable-nls --disable-debug --enable-toolkit-gtk --with-gtk --enable-crypto make chown -R jlm.misc * I clicked on the "upcoming steps" link near the top of the mozilla.org web page and my CPU's usage went to 100% and mozilla just hung. I'm running Linux 2.4.17 on an AMD k6-2 with 768megs of ram, 60 gigs of space and glibc 2.2.4. The error is reproducable. Each time I've clicked on the link I have had to kill mozilla.
worksforme with linux build 20020502 level 3 optimization has known issues (bug 53486) unless you're using gcc3 if you add "-g" to your CFLAGS, you can use gdb to generate a stacktrace that would help identify what's going on
Ok, I've recompiled and my optimizations are -g -march=k6 instead of -O3 -march=k6 and in fact it does work. I'll report all bugs against this configuration now.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.