From owner-freebsd-questions@FreeBSD.ORG Thu Aug 17 15:51:37 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5348216A4DE for ; Thu, 17 Aug 2006 15:51:37 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out4.blueyonder.co.uk (smtp-out4.blueyonder.co.uk [195.188.213.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7E3E43D49 for ; Thu, 17 Aug 2006 15:51:36 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [172.23.170.141] (helo=anti-virus02-08) by smtp-out4.blueyonder.co.uk with smtp (Exim 4.52) id 1GDk9e-00076b-N9; Thu, 17 Aug 2006 16:51:34 +0100 Received: from [82.41.35.166] (helo=[192.168.0.2]) by asmtp-out5.blueyonder.co.uk with esmtp (Exim 4.52) id 1GDk9d-0003Qs-B1; Thu, 17 Aug 2006 16:51:33 +0100 Message-ID: <44E49084.8070502@dial.pipex.com> Date: Thu, 17 Aug 2006 16:51:32 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.13) Gecko/20060515 X-Accept-Language: en MIME-Version: 1.0 To: Mischa Peters References: <025B38CC-B003-4C31-AE23-07190E7D0212@high5.nu> <44E4889F.7040902@dial.pipex.com> <7ADCA268-4E9A-4FCD-A5C7-E29C94C1CC73@high5.nu> In-Reply-To: <7ADCA268-4E9A-4FCD-A5C7-E29C94C1CC73@high5.nu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 6.1 buildworld segfault on gcc X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2006 15:51:37 -0000 Mischa Peters wrote: >>> I am trying to run buildworld on FreeBSD 6.1. Using RELENG_6_1. >>> It segfaults on GCC with the following message: >>> >>> cc -O2 -fno-strict-aliasing -pipe -DIN_GCC -DHAVE_CONFIG_H - >>> DPREFIX= \"/usr/obj/usr/src/tmp/usr\" -I/usr/obj/usr/src/tmp/usr/ >>> src/gnu/ usr.bin/cc/cc_int/../cc_tools -I/usr/src/gnu/usr.bin/cc/ >>> cc_int/../ cc_tools -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../ >>> contrib/gcc -I/ usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/ >>> gcc/config - DHAVE_CONFIG_H -DTARGET_NAME=\"i386-undermydesk- >>> freebsd\" -DIN_GCC - I/usr/obj/usr/src/tmp/legacy/usr/include -c / >>> usr/src/gnu/usr.bin/cc/ cc_int/../../../../contrib/gcc/local-alloc.c >>> cc -O2 -fno-strict-aliasing -pipe -DIN_GCC -DHAVE_CONFIG_H - >>> DPREFIX= \"/usr/obj/usr/src/tmp/usr\" -I/usr/obj/usr/src/tmp/usr/ >>> src/gnu/ usr.bin/cc/cc_int/../cc_tools -I/usr/src/gnu/usr.bin/cc/ >>> cc_int/../ cc_tools -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../ >>> contrib/gcc -I/ usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/ >>> gcc/config - DHAVE_CONFIG_H -DTARGET_NAME=\"i386-undermydesk- >>> freebsd\" -DIN_GCC - I/usr/obj/usr/src/tmp/legacy/usr/include -c / >>> usr/src/gnu/usr.bin/cc/ cc_int/../../../../contrib/gcc/loop.c >>> /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/loop.c: In >>> function `strength_reduce': >>> /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/loop.c: >>> 5420: internal compiler error: Segmentation fault: 11 >>> Please submit a full bug report, >>> with preprocessed source if appropriate. >>> See for instructions. >>> *** Error code 1 >> >> >> Does it always segfault in the same place? If not then faulty >> memory is your number one suspect. For that try memtest86+ (google >> for it and burn a CD), or just try pulling memory sticks and seeing >> if the problem goes away (but beware static). > > > It's always in the same place, with the same message. :( Well, that doesn't rule out memory trouble, but it's not very definitive for anything else. :-( Have you tried deleting everything under /usr/obj and trying again? Worth a shot but if nothing comes of it and no better suggestions arrive, test that memory! rm -fr /usr/obj/* whatever make buildworld and buildkernel stuff you did. hth, --Alex