puzzled: fork +libthr

Andriy Gapon avg at FreeBSD.org
Mon Apr 18 06:24:17 UTC 2011


on 18/04/2011 03:54 Alexander Kabaev said the following:
> 
> I would blame it, and expressly at that. -pthread is a shortcut for
> {-lpthread -lc} instead of just {-lc} in the place where implied libc
> is provided by the compiler driver and has no magic properties you want
> it it to have. If chromium build infrastructure circumvents that, it is
> only said build infrastructure to blame.

OK, I see, thank you.
Still inconvenient.
As in: if we know for a fact that "gcc ... -pthread -lc" results in a broken
binary, then IMO we should do something about that.

-- 
Andriy Gapon


More information about the freebsd-hackers mailing list