]> git.ipfire.org Git - thirdparty/glibc.git/commit - ChangeLog
Fix erroneous (and circular) implied pattern rule for linkobj/libc.so.
authorBrooks Moses <bmoses@google.com>
Thu, 3 Oct 2013 17:38:14 +0000 (10:38 -0700)
committerBrooks Moses <bmoses@google.com>
Thu, 3 Oct 2013 17:38:14 +0000 (10:38 -0700)
commit5f855e3598a576c35e54623a13b256f3e87fcd4d
treeba77026f236ca40b764798e0d70001a3fcff58cd
parentb7f2d27dbd85f6a0966dc389ad4f8205085b7ae8
Fix erroneous (and circular) implied pattern rule for linkobj/libc.so.

[BZ #15915] As described in the bug, the pattern rule for lib%.so files
in Makerules includes linkobj/libc.so as a dependency.  However, the
explicit rule for linkobj/libc.so is in the top-level Makefile.

Thus, the subdirectory makefiles that include Makerules end up with an
erroneous makefile pattern rule for linkobj/libc.so that includes
itself as a dependency.  The result is make warnings whenever rules
for other .so files are resolved -- and, on occasion, actual makefile
failures when a race condition causes the implicit rule to actually be
used.

This patch moves the explicit rules for linkobj/libc.so into Makerules
to clear up this problem.  It also elaborates a couple of comments
that I'd initially found confusing.
ChangeLog
Makefile
Makerules