On 27 November 2014 at 15:43, Paul Smith <psm...@gnu.org> wrote: > On Thu, 2014-11-27 at 14:38 +0100, Claudio Fontana wrote: >> Forgot to mention it's GNU Make 3.82 on Slackware 14.1 for X86_64 > > Have you tried using the latest GNU make, 4.1? >
I tried that now, and it works. I tested many many times, repeating the test when the build of libzfs.so was too "close" to the build of its users. The first vanilla GNU make alpha release that works is then GNU Make 3.99.90, first stable release GNU Make 4.0 I did a reverse git bisect on GNU make, which involved forking the bisection at one point, due to another problem having an influence on the order of the build for libzfs.so. The main bugfix that puts the build of libzfs.so very early is: commit fbe5b2c9cd612b962836b9391fa2b58c8baed6fc Author: Paul Smith <psm...@gnu.org> Date: Mon Sep 10 02:36:05 2012 +0000 Force intermediate targets to be considered if their non-intermediate parent needs to be remade. Fixes Savannah bug #30653. The other bugfix that is also relevant for the libzfs.so build is: commit b9c4a38022e5238356957bba6c2ffaef7a219a23 Author: Paul Smith <psm...@gnu.org> Date: Sun Sep 9 23:14:55 2012 +0000 On BSD, realpath(3) doesn't fail if the target doesn't exist, so test explicitly with stat(2). Fixes Savannah bug #35919. I CC: Pat from Slackware to suggest him to pick up these fixes if they are not already in Slackware-current. I think they are, as I see d/make-3.82-i486-5.txz: Rebuilt. Patched to fix a bug with parallel builds. Thanks to Danny Schmarsel. So I suspect he picked them up already, but I mention this in case he only picked up one of those. Claudio _______________________________________________ Help-make mailing list Help-make@gnu.org https://lists.gnu.org/mailman/listinfo/help-make