mkinitrd unification across distributions
 help / color / mirror / Atom feed
* Multithreaded programs crashing due to libgcc_s missing
@ 2014-06-06 14:58 Hannes Reinecke
       [not found] ` <5391D727.5020907-l3A5Bk7waGM@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Hannes Reinecke @ 2014-06-06 14:58 UTC (permalink / raw)
  To: Harald Hoyer, initramfs

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
-- 
Dr. Hannes Reinecke		      zSeries & Storage
hare-l3A5Bk7waGM@public.gmane.org			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-22 12:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox