public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael Mol <mikemol@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Just a heads-up, I think =sys-libs/glibc-2.14.1-r3 is a stinker.
Date: Thu, 26 Apr 2012 01:25:11 -0400	[thread overview]
Message-ID: <CA+czFiAr0qrvY8Lx7iLAN7jYKnt_BM0qidnenOgoJ38U3c42-w@mail.gmail.com> (raw)
In-Reply-To: <CA+czFiBB4JAowGBnazFRSZ7uD70Q01ObM6-PfMjo4MFZTx31wg@mail.gmail.com>

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áez Valdés <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=-j5. With
>>> MAKEOPTS=-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, =sys-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="-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.

-- 
:wq



  reply	other threads:[~2012-04-26  5:27 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-26  3:09 [gentoo-user] Just a heads-up, I think =sys-libs/glibc-2.14.1-r3 is a stinker Michael Mol
2012-04-26  3:50 ` Canek Peláez Valdés
2012-04-26  4:10   ` Michael Mol
2012-04-26  4:37   ` Michael Mol
2012-04-26  5:16     ` Michael Mol
2012-04-26  5:25       ` Michael Mol [this message]
2012-04-26 11:40         ` Michael Mol
2012-04-26 14:34           ` Qian Qiao
2012-04-26 14:41             ` Michael Mol
2012-04-26 15:01               ` Paul Hartman
2012-04-26 15:24                 ` Michael Mol
2012-04-26 15:04               ` Qian Qiao
2012-04-26 15:27               ` Mark Knecht
2012-04-26 16:53                 ` Michael Mol
2012-04-26 18:20                   ` Canek Peláez Valdés
2012-04-26 18:26                     ` Michael Mol
2012-04-26 19:06                       ` Michael Mol
2012-04-26 20:35                   ` Volker Armin Hemmann
2012-04-27  0:35                   ` Adam Carter
2012-04-27  1:53                     ` Michael Mol
2012-04-27 16:23                       ` Mike Edenfield
2012-04-28  7:10                       ` Pandu Poluan
2012-04-28  8:25                         ` Michael Mol
2012-04-28  9:28                           ` Pandu Poluan
2012-04-28 15:07                             ` Michael Mol
2012-06-03  2:52                               ` Michael Mol
2012-06-03  3:34                                 ` Dmitry Goncharov
2012-06-03  3:56                                   ` Michael Mol
2012-06-03  4:08                                     ` Dmitry Goncharov
2012-06-03  4:15                                       ` Michael Mol
2012-06-23  4:37                                     ` Michael Mol
2012-06-23 22:08                                       ` Michael Mol
2012-06-27 13:58                                         ` [SOLVED] " Michael Mol
2012-06-27 14:35                                           ` Hinnerk van Bruinehsen
2012-06-27 16:12                                           ` Neil Bothwick
2012-06-27 16:45                                             ` Michael Mol
2012-06-27 17:05                                               ` Neil Bothwick
2012-06-27 17:13                                                 ` Michael Mol
2012-06-27 16:38                                           ` Paul Hartman
2012-04-26 10:51       ` Andrea Conti
2012-04-26 20:30   ` Volker Armin Hemmann
2012-04-26  7:01 ` [gentoo-user] " Nikos Chantziaras
2012-04-26  7:17   ` Dale
2012-04-26 10:06   ` napalm
2012-04-26  8:47 ` [gentoo-user] " Helmut Jarausch
2012-04-26 14:38   ` Doug Hunley
2012-04-27  9:20     ` Willie WY Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+czFiAr0qrvY8Lx7iLAN7jYKnt_BM0qidnenOgoJ38U3c42-w@mail.gmail.com \
    --to=mikemol@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox