From: Carlos O'Donell <carlos@systemhalted.org>
To: John David Anglin <dave@hiauly1.hia.nrc.ca>
Cc: parisc-linux@lists.parisc-linux.org
Subject: [parisc-linux] Re: NPTL pthread_cancel and libgcc_s.so.2 vs. libgcc_s.so.1 (Why the DSO version bump?)
Date: Wed, 3 Aug 2005 10:53:48 -0400 [thread overview]
Message-ID: <20050803145343.GO9703@systemhalted.org> (raw)
In-Reply-To: <200508030502.j7352e22021888@hiauly1.hia.nrc.ca>
On Wed, Aug 03, 2005 at 01:02:40AM -0400, John David Anglin wrote:
> > i386 only has libgcc_s.so.1 and I'm pretty sure that it is compiled with
> > dwarf2 support. hppa only has libgcc_s.so.1 and it is sjlj for sure.
> >
> > So we have an inconsistent numbering problem?
>
> Yup, but it was unavoidable. Look on the positive side, i386 doesn't
> support sjlj ;)
Haha! :)
> > The code on hppa should try to load "libgcc_s.so.2" then?
>
> Yes.
Perfect. I added some macros to glibc and this worked. It loaded
libgcc_s.so.2 perfectly and the cancellation seems to work. If only I
could fix the other segfault bugs.
> > > > Thus NPTL thread cancellation seems to requires dwarf2 eh support.
> > > > How do I enable sjlj versus dwarf2 (--enable-dwarf2-exceptions?)
> > >
> > > dwarf2 is the default. --enable-sjlj-exceptions=yes enables sjlj.
> > > Debian gcc-3.3 uses sjlj. Debian gcc-3.4 and later use dwarf2.
> >
> > Okay, perfect.
>
> Basic TLS support in GCC is currently in the CVS head and will be
> part of gcc-4.1 when it is released. As long as you don't configure
> it with --enable-sjlj-exceptions=yes you will get "libgcc_s.so.2".
Yes, this is what I was seeing. For the TLS toolchain we are using
dwarf2.
Thanks for the help.
c.
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
next prev parent reply other threads:[~2005-08-03 14:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20050803044244.GN9703@systemhalted.org>
2005-08-03 5:02 ` [parisc-linux] Re: NPTL pthread_cancel and libgcc_s.so.2 vs. libgcc_s.so.1 (Why the DSO version bump?) John David Anglin
2005-08-03 14:53 ` Carlos O'Donell [this message]
2005-08-02 13:59 [parisc-linux] " Carlos O'Donell
2005-08-02 14:13 ` [parisc-linux] " John David Anglin
2005-08-02 15:42 ` Carlos O'Donell
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=20050803145343.GO9703@systemhalted.org \
--to=carlos@systemhalted.org \
--cc=dave@hiauly1.hia.nrc.ca \
--cc=parisc-linux@lists.parisc-linux.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