This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: glibc parallel builds broken


David Miller <davem@davemloft.net> writes:

> Siddhesh, your change tonight broke parallel builds for me.

It's a one-time breakage.

> The problem is that nothing makes sure that gnu/lib-names.h is
> generated before files that include it are built.

Actually Makeconfig already does, by adding it to before-compile.  But
this mechanism only works for a clean build, because existing files are
filtered from before-compile.

> As a result, what happens is that it ends up including the system
> /usr/include/gnu/lib-names.h header which doesn't have a define for
> LIBGCC_S_SO

The problem is that the same commit also added <gnu/lib-names.h> to
these files, but your existing *.d file doesn't contain a dependency on
it yet.  Once that the files are properly recompiled the dependency is
present, and any future update will be properly tracked.

This breakage is similar to the situation where a source file is moved.
This will also break the build on the first try, but the removal of the
affected object files will fix that.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]