From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-137788-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1SNHEN-00080O-PQ
	for garchives@archives.gentoo.org; Thu, 26 Apr 2012 05:27:04 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id F1DC8E073F;
	Thu, 26 Apr 2012 05:26:49 +0000 (UTC)
Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com [209.85.214.53])
	by pigeon.gentoo.org (Postfix) with ESMTP id C9FB7E068E
	for <gentoo-user@lists.gentoo.org>; Thu, 26 Apr 2012 05:25:12 +0000 (UTC)
Received: by bkcjk13 with SMTP id jk13so300903bkc.40
        for <gentoo-user@lists.gentoo.org>; Wed, 25 Apr 2012 22:25:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:content-transfer-encoding;
        bh=eaHvGWCGob//8Zq1B6248u+E17XG4W1bo3pjVmQdFWI=;
        b=0nfEfxksxj56w2QiZGVi2khF3qvcy6sMctmAvchO9T4iRqQjH7nMHeWhb7FeA4t1X9
         yFuwcyj+8/JcB/agguL5XRhh0RUpk1yX7O69oo8VURRQlgwlzY2AvoUE6we1Fb+0/qNp
         E6E0PXI315dBbFPtirNkLZX3Ldea/sdBCnvOQwZl4obyvtCRPMe4ssqq8R9r8wUY5Xgu
         NJUR5xcFh2Ak6MGXCb3VoVMyD2OFxYxw9+kL5xCA26MMcRKry9ofRcdydiE+hKZ87qlQ
         Ta0D/9aGRjjU5U8W5LqKfBxkTbwv9D/jWLnMfOixbh9DE99bjU1aYEYnLmIJiZ4OM3ED
         oBoA==
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.204.155.152 with SMTP id s24mr1774582bkw.91.1335417911926;
 Wed, 25 Apr 2012 22:25:11 -0700 (PDT)
Received: by 10.204.153.213 with HTTP; Wed, 25 Apr 2012 22:25:11 -0700 (PDT)
In-Reply-To: <CA+czFiBB4JAowGBnazFRSZ7uD70Q01ObM6-PfMjo4MFZTx31wg@mail.gmail.com>
References: <CA+czFiBOKhD-8Cf78DVod_r1rS_Ph0deD=whGWOO9mmP=YARtQ@mail.gmail.com>
	<CADPrc816KUaLbg=gpjThgedxDfKuaSnE-ckyR472Cw0Uy8mUKQ@mail.gmail.com>
	<CA+czFiC7kh2xCS18UJx+O_43-eMs7Um34AOyVoH6feoL4HHBhg@mail.gmail.com>
	<CA+czFiBB4JAowGBnazFRSZ7uD70Q01ObM6-PfMjo4MFZTx31wg@mail.gmail.com>
Date: Thu, 26 Apr 2012 01:25:11 -0400
Message-ID: <CA+czFiAr0qrvY8Lx7iLAN7jYKnt_BM0qidnenOgoJ38U3c42-w@mail.gmail.com>
Subject: Re: [gentoo-user] Just a heads-up, I think =sys-libs/glibc-2.14.1-r3
 is a stinker.
From: Michael Mol <mikemol@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: ece2a153-213c-40f6-92d1-5044efcb6447
X-Archives-Hash: d52caa0d9ff1a5f184eebfbc4fceb8b1

On Thu, Apr 26, 2012 at 1:16 AM, Michael Mol <mikemol@gmail.com> wrote:
> On Thu, Apr 26, 2012 at 12:37 AM, Michael Mol <mikemol@gmail.com> wrote:
>> On Wed, Apr 25, 2012 at 11:50 PM, Canek Pel=C3=A1ez Vald=C3=A9s <caneko@=
gmail.com> wrote:
>>> On Wed, Apr 25, 2012 at 10:09 PM, Michael Mol <mikemol@gmail.com> wrote=
:
>>>> I've had two segfaults I'd never seen before. One in sudo and one in
>>>> rdesktop. Updates later when I get things better tracked down.
>>>
>>> I had a gcc segfault in my atom server, with MAKEOPTS=3D-j5. With
>>> MAKEOPTS=3D-j1, I got undefined references while linking some modules.
>>> My desktop and my laptop, however, compiled it without problems.
>>>
>>> I haven't had the time to check it, but it seems weird.
>>
>> Replacing with a binpackage from packages.gentooexperimental.org got
>> bash working. Now I'm seeing if I can re-emerge gcc, binutils and
>> glibc.
>>
>> If that goes through, I'm going to restart the emerge -e; my resume
>> stack is probably toast.
>
> Ok, yes. This version of glibc, =3Dsys-libs/glibc-2.14.1-r3, is crud. At
> least, if you're doing parallel building. Out of my three machines,
> the 8-core box got bit by it, the 4-core box got bit by it, but the
> 2-core laptop sailed past.
>
> I have a hunch that setting MAKEOPTS=3D"-j1" will fix it for me, and I'm
> letting that run as I head off to sleep in a few minutes.

Note, my experiences and instructions are specific to amd64 boxes. I
don't know if other boxes are affected, and the workaround I'm writing
below is not appropriate for anything but amd64.

Incidentally, you'll know if your box got bit if you do a large set of
emerges which include building glibc, and everything after glibc's
'Install' phase fails. Don't trust emerge's output; at this point,
bash is segfaulting on startup, which makes emerge utterly unreliable,
even as it tries to tell you the cause for errors.

DO NOT close your open shells; you won't be able to launch bash until
you've fixed this.

To work around, you'll need a root shell. If you have any shell at
all, you should be able to get a root shell by running

  sudo busybox sh

in any of your remaining shells which have sudoer access.

grab

  glibc-2.14.1-r3.tbz2

from

  http://packages.gentooexperimental.org/packages/amd64-unstable/sys-libs/

using wget. At least in my situation, wget still worked. Move the
tarball to your / directory:

  mv glibc-2.14.1-r3.tbz2 /

and unpack it

  tar xvjpf glibc-2.14.1-r3.tbz2

You should now have bash back, which means you'll have emerge back,
and probably the rest of your system.

--=20
:wq