Hello, Josh Triplett, on Thu 03 Nov 2016 15:13:49 -0600, wrote: > On Thu, Nov 03, 2016 at 08:24:55PM +0000, Emil Velikov wrote: > > 1) make pthread-stubs "meta package" who's Cflags/Libs expand to the > > platform > > specific PTHREAD_{CFLAGS,LIBS} if the runtime does not provide lightweight > > pthread symbols, or > I don't have any fundamental objections here, but Linux isn't the > platform that really needs pthread-stubs in the first place. Could you > please seek out some feedback from people working on platforms that need > pthread-stubs for the core stubs, to find out how this might impact > them? I've CCed a couple of lists of potentially interested folks.
Concerning GNU/Hurd and GNU/kFreeBSD, we simply use glibc's forwarding mechanism, so pthread-stubs is empty there, and thus 1) is fine there. Samuel