From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3832D158066 for ; Wed, 4 Sep 2024 04:10:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 22970E2A4A; Wed, 4 Sep 2024 04:10:38 +0000 (UTC) Received: from impout009.msg.chrl.nc.charter.net (impout009aa.msg.chrl.nc.charter.net [47.43.20.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BEB96E2A37 for ; Wed, 4 Sep 2024 04:10:37 +0000 (UTC) Received: from [66.52.146.165] ([66.52.146.165]) by cmsmtp with ESMTPA id lhLosngsJq1U6lhLosJ0yI; Wed, 04 Sep 2024 04:10:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=charter.net; s=c20240129; t=1725423037; bh=2kM0B6OOBdeRykq47vHaUAIQS+G+AVOanijwgrRbBCs=; h=Date:Subject:To:References:From:In-Reply-To; b=DR3+OPC4aLHSUe1GO0Xq0PhgLOHKy3EI+g7i9QQg5tsVeInug972LxXIYRINccY0d YWaoJo5DbEIazQq0XsjJADBaj5RoHeAy5/hUXumn3AX3MjdBuXU+AiVMGFALdTPD2r Le4wsbXm3FQav+fQpYcVqjNlyuUY8beoWSlRvLaOYn1flM2OgVgvR0Mp1Ia2funnpI 4+9QLv0jCwZsaPfgX24UXEzUIZKMYf1GaEWDpTFxhW9500Ogw97t6vikG6u0icY+cc BcnB8hUYZzO/DM6DEyFoWpxOYhyN9A4vcQGcC6wE0/UZZm6K3+Dvu8zVl86NiZGKz1 30cIj8VE2r2NA== Authentication-Results: charter.net; auth=pass (PLAIN) smtp.auth=corbinbird@charter.net X-Authority-Analysis: v=2.4 cv=OJ4h3zaB c=1 sm=1 tr=0 ts=66d7ddbd a=aT7EzvB4TEUicCwbze/ATA==:117 a=aT7EzvB4TEUicCwbze/ATA==:17 a=IkcTkHD0fZMA:10 a=pGLkceISAAAA:8 a=-w6gt3QIXgK8wHnCkGcA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 Message-ID: Date: Tue, 3 Sep 2024 23:16:00 -0500 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [gentoo-user] Re: Package compile failures with "internal compiler error: Segmentation fault". To: gentoo-user@lists.gentoo.org References: <8c26be16-d033-ea3f-06e1-a9ce84cbbafb@gmail.com> Content-Language: en-US From: corbin bird In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfDdAkoZhzGPD3Xf7mkrZP6pvMnCPf/+THjad4Ejvp+Hp4FHTPePEGDYJpnuRAlC9M5iBHAzMXKx09JXbg4MNmBkuY2qPm2vVcBpROw1a/2ItFnUOo7gg fhl4Bs1wr5DQEFHB33PmMvCNOvmGM3okSbiZ7axWMs5+dALNYhrrqq6GeKZuRobtDAAQr60xWEn7XSZYrroWzEZUkmueyfo9NUE= X-Archives-Salt: 74a66fba-7b39-4d16-a702-b41fd43f6dfc X-Archives-Hash: 818291612225eba902fb6a99eb3cf415 On 9/3/24 19:39, Dale wrote: > Grant Edwards wrote: >> On 2024-09-03, Dale wrote: >> >>> I was trying to re-emerge some packages.  The ones I was working on >>> failed with "internal compiler error: Segmentation fault" or similar >>> being the common reason for failing. >> In my experience, that usually means failing RAM. I'd try running >> memtest86 for a day or two. >> >> -- >> Grant > I've seen that before too.  I'm hoping not.  I may shutdown my rig, > remove and reinstall the memory and then test it for a bit.  May be a > bad connection.  It has worked well for the past couple months tho. > Still, it is possible to either be a bad connection or just going bad. > > Dang those memory sticks ain't cheap.  o_~ > > Thanks.  See if anyone else has any other ideas. > > Dale > > :-)  :-) > Please refresh my memory, what brand of CPU ( Intel or AMD ) is in your new rig? ---- If AMD, binutils can build -broken- without failing the compile process. gcc starts segfaulting constantly. workaround : setup a package.env for gcc and binutils.     gcc.conf contents : CFLAGS="-march=generic -O2 -pipe" CXXFLAGS="-march=generic -O2 -pipe" use the old version of gcc to rebuild both binutils and gcc ( the new version ). leave this fix in place, and prevent this error from reoccurring. Hope this helps, Corbin