[prev in list] [next in list] [prev in thread] [next in thread] 

List:       initramfs
Subject:    Multithreaded programs crashing due to libgcc_s missing
From:       Hannes Reinecke <hare () suse ! de>
Date:       2014-06-06 14:58:47
Message-ID: 5391D727.5020907 () suse ! de
[Download RAW message or body]

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@suse.de			      +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)
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic