On 08/04/2017 04:04 PM, David Malcolm wrote: > The checker.cc patch later in the kit can optionally make use of pthread > if available. > > Doing it properly would involve some configure checks; this patch simply > hacks in -lpthread into LIB unconditionally for now. > > gcc/ChangeLog: > * Makefile.in (LIB): Hack in -lpthread. Obviously this would need to be improved before it could move forward.
What's the advantage of firing off a thread vs the usual fork/exec model? fork/exec is something we know how to deal with across all the hosts GCC supports. jeff