From owner-freebsd-current@FreeBSD.ORG Mon Sep 22 06:44:04 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15FD816A4B3 for ; Mon, 22 Sep 2003 06:44:04 -0700 (PDT) Received: from king.mcs.drexel.edu (king.mcs.drexel.edu [129.25.6.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1981E43FEC for ; Mon, 22 Sep 2003 06:44:03 -0700 (PDT) (envelope-from jsmith@drexel.edu) Received: from vorpal.mcs.drexel.edu (vorpal.mcs.drexel.edu [129.25.6.250]) by king.mcs.drexel.edu (8.12.9/8.12.8) with ESMTP id h8MDhs6T027674 for ; Mon, 22 Sep 2003 09:44:00 -0400 (EDT) Received: from drexel.edu (vorpal.mcs.drexel.edu [129.25.6.250]) by vorpal.mcs.drexel.edu (8.12.9/8.12.9) with ESMTP id h8MDhd0Y003861 for ; Mon, 22 Sep 2003 09:43:42 -0400 (EDT) (envelope-from jsmith@drexel.edu) Message-ID: <3F6EFC8B.4080800@drexel.edu> Date: Mon, 22 Sep 2003 09:43:39 -0400 From: Justin Smith User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030818 X-Accept-Language: en-us, en, ru MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Gcc 3.2.2 vs gcc 3.2.3 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2003 13:44:04 -0000 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?