[merged] lib-makefile-fix-oid_registry-build-dependency.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: lib/Makefile: fix oid_registry build dependency
has been removed from the -mm tree.  Its filename was
     lib-makefile-fix-oid_registry-build-dependency.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Tim Gardner <tim.gardner@xxxxxxxxxxxxx>
Subject: lib/Makefile: fix oid_registry build dependency

It is $(obj)/oid_registry.o that is dependent on
$(obj)/oid_registry_data.c.  The object file cannot be built until
$(obj)/oid_registry_data.c has been generated.

A periodic and hard to reproduce parallel build failure is due to this
incorrect lib/Makefile dependency.  The compile error is completely
disingenuous.

  GEN     lib/oid_registry_data.c
Compiling 49 OIDs
  CC      lib/oid_registry.o
gcc: error: lib/oid_registry.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
make[3]: *** [lib/oid_registry.o] Error 4

I've only ever been able to reproduce this build failure on an Ubuntu PPA,
and then only infrequently.  Restarting the build generally succeeds.  I
beleive the root of the issue to be an incorrect dependency, though I'm
not sure why it doesn't fail more often.  Its never failed when run by
hand, even on large N-way systems.  Commit a77ad6ea0b0bb1 ("X.509:
Implement simple static OID registry") which introduced this change came
in with 3.7-rc1, so this patch is not applicable for stable.

Signed-off-by: Tim Gardner <tim.gardner@xxxxxxxxxxxxx>
Cc: Akinobu Mita <akinobu.mita@xxxxxxxxx>
Cc: Michel Lespinasse <walken@xxxxxxxxxx>
Cc: David Howells <dhowells@xxxxxxxxxx>
Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
Acked-by: David Howells <dhowells@xxxxxxxxxx>
Cc: Rusty Russell <rusty@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 lib/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN lib/Makefile~lib-makefile-fix-oid_registry-build-dependency lib/Makefile
--- a/lib/Makefile~lib-makefile-fix-oid_registry-build-dependency
+++ a/lib/Makefile
@@ -162,7 +162,7 @@ $(obj)/crc32table.h: $(obj)/gen_crc32tab
 #
 obj-$(CONFIG_OID_REGISTRY) += oid_registry.o
 
-$(obj)/oid_registry.c: $(obj)/oid_registry_data.c
+$(obj)/oid_registry.o: $(obj)/oid_registry_data.c
 
 $(obj)/oid_registry_data.c: $(srctree)/include/linux/oid_registry.h \
 			    $(src)/build_OID_registry
_

Patches currently in -mm which might be from tim.gardner@xxxxxxxxxxxxx are

origin.patch
linux-next.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux