Multithreaded programs crashing due to libgcc_s missing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx			      +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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux