All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Stephen P. Becker" <geoman@gentoo.org>
To: "Maciej W. Rozycki" <macro@linux-mips.org>
Cc: Daniel Jacobowitz <dan@debian.org>,
	Ralf Baechle <ralf@linux-mips.org>,
	Bryan Althouse <bryan.althouse@3phoenix.com>,
	"'Linux/MIPS Development'" <linux-mips@linux-mips.org>
Subject: Re: Seg fault when compiled with -mabi=64 and -lpthread
Date: Fri, 01 Jul 2005 12:39:31 -0400	[thread overview]
Message-ID: <42C571C3.1060703@gentoo.org> (raw)
In-Reply-To: <Pine.LNX.4.61L.0507011613510.30138@blysk.ds.pg.gda.pl>

>>The segfault with kernel oops that I can't get around occurs while
>>glib's configure script is checking for libpthread.  Specifically, it
>>links http://beerandrocks.net:8080/~spbecker/oops/conftest.c against
>>libpthread and then runs it.
> 
> 
> And libpthread is part of glibc, not glib.  So if an autoconf test (which 
> I'm assuming is AC_CHECK_LIB() rather than a hand-crafted hack) breaks on 
> running a program linked against libpthread, then it's not a problem with 
> glib, but probably with either glibc or the toolchain used.

I'm aware of this. It just sounded like Daniel was questioning whether
or not my glibc was compiling/working in the first place.

>>I've somewhat convinced myself this is either a kernel and/or a header
>>problem.  It seems I'm only able to reproduce this problem when trying
>>to compile and run that code while running 2.6.12 from cvs.  As I
>>previously mentioned, I tested the offending code on a kernel I compiled
>>from a 2.6.10 snapshot some time ago, and it ran with no segfault or oops.
> 
> 
>  If you get an Oops when running software as non-root, then it's a kernel 
> bug, no matter what.
> 

Yes, it certainly happens when running as a non-privileged user.  If I
get a bit of time later today, I was going to try and track down which
cvs commit and/or kernel version broke things.

-Steve

  reply	other threads:[~2005-07-01 16:41 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-30 17:33 Seg fault when compiled with -mabi=64 and -lpthread Bryan Althouse
2005-06-30 19:08 ` Stephen P. Becker
2005-06-30 19:31   ` Bryan Althouse
2005-06-30 20:21 ` Ralf Baechle
2005-06-30 21:03   ` Daniel Jacobowitz
2005-06-30 22:09     ` Stephen P. Becker
2005-07-01  3:51       ` Daniel Jacobowitz
2005-07-01  4:44         ` Kumba
2005-07-01  8:49         ` Maciej W. Rozycki
2005-07-01 13:39           ` Daniel Jacobowitz
2005-07-01 14:10             ` Maciej W. Rozycki
2005-07-01 14:46               ` Daniel Jacobowitz
2005-07-01 15:04                 ` Maciej W. Rozycki
2005-07-01 14:56         ` Stephen P. Becker
2005-07-01 15:22           ` Maciej W. Rozycki
2005-07-01 16:39             ` Stephen P. Becker [this message]
2005-07-01 17:02           ` Daniel Jacobowitz
2005-07-01 17:15             ` Stephen P. Becker
2005-07-01 15:09         ` Bryan Althouse
2005-07-01 15:09           ` Bryan Althouse
2005-07-01 14:54           ` sjhill
2005-07-01 15:29           ` Maciej W. Rozycki

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=42C571C3.1060703@gentoo.org \
    --to=geoman@gentoo.org \
    --cc=bryan.althouse@3phoenix.com \
    --cc=dan@debian.org \
    --cc=linux-mips@linux-mips.org \
    --cc=macro@linux-mips.org \
    --cc=ralf@linux-mips.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.