Gcc 3.2.2 vs gcc 3.2.3

From: Justin Smith <jsmith_at_drexel.edu>
Date: Mon, 22 Sep 2003 09:43:39 -0400
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?
Received on Mon Sep 22 2003 - 04:44:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:23 UTC