On Mon, Jul 03, 2017 at 02:53:30PM +0200, hiro wrote: > so if i'm on musl and tell gcc to link statically it should just work? > in that case i'll try and report.
Meaning that, in theory, you can have a libc which does not require libgcc_s (coze of pthread_cancel) with musl. Namely, you should be able to have a "working" distro with a 'static gcc', namely which frontend statically links libgcc_eh.a and libgcc.a _only_ and _not_ libgcc_s.so. For c++ retards and sub-humans, I fear that there are some libgcc_s.so hard deps in gcc libstdc++ related to c++ threading (that would need investigation). -- Sylvain