public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "((RayDar))" <gentoo-user@raydarllc.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: glibc-2.17 fails and warning: setlocale: LC_ALL error
Date: Tue, 05 Aug 2014 16:48:20 -0700	[thread overview]
Message-ID: <4053153.tmzZyFxl9M@localhost> (raw)

Hello,

I think I can offer some some more clues to the problem in thread started by 
Dale, as archived here:
https://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg147315.html

I too get the "Your old kernel is broken.  You need to update it to a newer 
version as syscall(<bignum>) will break." message whenever I try to emerge 
glibc-2.17. This happens on all three of my machines, which are kept up to 
date and have slightly different configurations. It is likely that many people 
are in a broken state, but they don't know it because they haven't tried re-
emerging glibc.

Previously in this thread, I see that Hinnerk van Bruinehsen asked:

> Can you run;

 > printf "#include <unistd.h>\n#include <sys/syscall.h>\nint main(){return \
 > syscall(1000)!=-1;}\n" > syscall.c && make syscall && ./syscall && echo $? 

When I try this on each of my systems, I get the same output:

cc     syscall.c   -o syscall

Notice that the line with the 0 is missing.

I found a work around: move to an earlier kernel. This problem happens for me 
on kernel-3.14.14 and for Dale on kernel-3.15.5. But, it DOESN'T happen for me 
on 3.12.21-r1.

When I boot into the 3.12.21-r1 kernel, the printf() above outputs:

cc     syscall.c   -o syscall
0

as it should.

Could the emerge glibc fail be due to a required kernel configuration option 
that didn't make it into 3.14.14 or above?



             reply	other threads:[~2014-08-05 23:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-05 23:48 ((RayDar)) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-07-15  1:50 [gentoo-user] glibc-2.17 fails and warning: setlocale: LC_ALL error Dale
2014-07-15  5:33 ` Dale
2014-07-15  7:04   ` Hinnerk van Bruinehsen
2014-07-15  7:40     ` Dale
2014-07-15  8:15       ` Hinnerk van Bruinehsen
2014-07-15  8:40         ` Hinnerk van Bruinehsen
2014-07-15  9:25           ` Dale
2014-07-16  7:32             ` Dale
2014-07-16  7:46               ` Helmut Jarausch
2014-07-16  8:43                 ` Dale
2014-07-16  9:19                   ` Dale
2014-07-16 10:33                     ` J. Roeleveld
2014-07-16 17:21                       ` Dale
2014-07-17  0:39                         ` [gentoo-user] " walt
2014-07-17  1:01                           ` Dale

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=4053153.tmzZyFxl9M@localhost \
    --to=gentoo-user@raydarllc.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