Gcc 3.2.2 vs gcc 3.2.3
Justin Smith
jsmith at drexel.edu
Mon Sep 22 06:44:04 PDT 2003
My system:
FreeBSD jsmith.org 5.1-RELEASE-p3 FreeBSD 5.1-RELEASE-p3 #0: Sat Sep 20
14:37:32 EDT 2003 jsmith at jsmith.org:/usr/obj/usr/src/sys/MYKERNEL i386
I'm running a P4 2.4 Ghz processor with 512meg of ram.
I've had the problem of getting signal 11 and signal 4 when I make
buildworld and buildkernel.
I tested my system with memtest86 (for several hours) and it says
everything is OK.
Finally I upgraded gcc to 3.2.3 and this seems to have corrected the
problems. I hypothesize that gcc 3.2.2 generates invalid machine code
under some circumstances.
Unfortunately, when I make installworld, it overwrites gcc 3.2.3 with
gcc 3.2.2 so I have to reinstall the newer version by hand in order to
be able to build the system the next time.
I gather that 'current' is somewhat unstable now (although it probably
uses a newer version of gcc). Is there a way I can modify my source so
make world builds and installs gcc 3.2.3? It can't be as simple as
replacing the compiler source in /usr/src with that of gcc 3.2.3 (or is
it?).
Any suggestions?
More information about the freebsd-current
mailing list