This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libsanitizer builds slowly
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Mike Stump <mikestump at comcast dot net>
- Cc: Kostya Serebryany <kcc at google dot com>, gcc List <gcc at gcc dot gnu dot org>, "H.J. Lu" <hongjiu dot lu at intel dot com>
- Date: Mon, 16 Dec 2013 21:17:07 +0100
- Subject: Re: libsanitizer builds slowly
- Authentication-results: sourceware.org; auth=none
- References: <01399663-DEE6-47B1-BA41-408E2653758A at comcast dot net>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Mon, Dec 16, 2013 at 12:04:09PM -0800, Mike Stump wrote:
> I've been doing make -j70 and -j70 restrap and libasan seems to build 1 file at a time.
That is certainly not the case, look more carefully and you'll note that it
will start compiling tons of sources at once, the problem is just that there is one
file that takes significantly longer to compile than any other
(asan_interceptors.cc), and with multilib it is compiled 4 times effectively
sequentially (because, libtool always compiles the -fPIC and non-pic
versions one after each other), and multilib variants are also serialized.
Jakub