All of lore.kernel.org
 help / color / mirror / Atom feed
From: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Hannes Reinecke <hare-l3A5Bk7waGM@public.gmane.org>,
	initramfs <initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: Multithreaded programs crashing due to libgcc_s missing
Date: Tue, 22 Jul 2014 14:31:41 +0200	[thread overview]
Message-ID: <53CE59AD.6040803@redhat.com> (raw)
In-Reply-To: <5391D727.5020907-l3A5Bk7waGM@public.gmane.org>

On 06.06.2014 16:58, Hannes Reinecke wrote:
> Hi Harald,
> 
> I've just uncovered a rather nasty issue with dracut, where for no apparent
> reason a (multithreaded) program was crashing.
> Reason being here that libpthread _requires_ libgcc_s when any program is using
> 'pthread_cancel'. When the library isn't present
> any of those calls will generate a SIGABRT.
> Nasty.
> 
> Best would be to pull libgcc_s in always when libpthread is required. But that
> would be some library detection magic.
> Can you fix this up?
> 
> Cheers,
> 
> Hannes

Thanks! Should be in dracut >= 038

      parent reply	other threads:[~2014-07-22 12:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-06 14:58 Multithreaded programs crashing due to libgcc_s missing Hannes Reinecke
     [not found] ` <5391D727.5020907-l3A5Bk7waGM@public.gmane.org>
2014-07-22 12:31   ` Harald Hoyer [this message]

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=53CE59AD.6040803@redhat.com \
    --to=harald-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=hare-l3A5Bk7waGM@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.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.