Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Sep 2003 09:43:39 -0400
From:      Justin Smith <jsmith@drexel.edu>
To:        freebsd-current@freebsd.org
Subject:   Gcc 3.2.2 vs gcc 3.2.3
Message-ID:  <3F6EFC8B.4080800@drexel.edu>

next in thread | raw e-mail | index | archive | help
My system:

FreeBSD jsmith.org 5.1-RELEASE-p3 FreeBSD 5.1-RELEASE-p3 #0: Sat Sep 20 
14:37:32 EDT 2003     jsmith@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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F6EFC8B.4080800>