-
Notifications
You must be signed in to change notification settings - Fork 181
zfs/spl 0.6.5.3 build fails for linux-4.3 when configured as built-in modules #498
Comments
Just taking a quick look it's not clear to me that it built any of the spl. Since the errors are all about missing spl symbols that would make sense. |
@behlendorf it didnt, it seems that (for some reason) it only builds ZFS but not SPL
it works with kernel 4.2.6 |
It works with kernel 4.2.6 (gcc version 5.2.1 Debian stretch/sid,Ubuntu 15.10/16.04. |
Adding VPATH support, commit 37d7cd9, required that a `src` and `obj` line be added to the top of the Makefiles. They must be removed from the Makefiles when builtin. The code which adds the `spl/` directory to the top level Makefile was failing due to the addition of the `certs/` path. The search pattern has been adjusted to be more tolerant. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue openzfs#481 Issue openzfs#498
Adding VPATH support, commit 47a4a6f, required that a `src` and `obj` line be added to the top of the Makefiles. They must be removed from the Makefiles when builtin. Requires-spl: refs/pull/503/head Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue openzfs/spl#481 Issue openzfs/spl#498
@sergiall @hunbalazs I've proposed two patches to fix this. Any additional testing would be appreciated, I've verified the fix with v4.4-rc3 but it should fix all kernels. |
Kernel built and running. |
Adding VPATH support, commit 37d7cd9, required that a `src` and `obj` line be added to the top of the Makefiles. They must be removed from the Makefiles when builtin. The code which adds the `spl/` directory to the top level Makefile was failing due to the addition of the `certs/` path. The search pattern has been adjusted to be more tolerant. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue #481 Issue #498
Adding VPATH support, commit 47a4a6f, required that a `src` and `obj` line be added to the top of the Makefiles. They must be removed from the Makefiles when builtin. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue openzfs/spl#481 Issue openzfs/spl#498
@hunbalazs thanks, this has been merged to master and will appear in the next point release. 4e6f996 Fix --enable-linux-builtin |
Wow! Thank you very much @behlendorf ! |
Adding VPATH support, commit 37d7cd9, required that a `src` and `obj` line be added to the top of the Makefiles. They must be removed from the Makefiles when builtin. The code which adds the `spl/` directory to the top level Makefile was failing due to the addition of the `certs/` path. The search pattern has been adjusted to be more tolerant. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue openzfs#481 Issue openzfs#498
Adding VPATH support, commit 47a4a6f, required that a `src` and `obj` line be added to the top of the Makefiles. They must be removed from the Makefiles when builtin. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue openzfs/spl#481 Issue openzfs/spl#498
Adding VPATH support, commit 47a4a6f, required that a `src` and `obj` line be added to the top of the Makefiles. They must be removed from the Makefiles when builtin. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue openzfs/spl#481 Issue openzfs/spl#498
Adding VPATH support, commit 37d7cd9, required that a `src` and `obj` line be added to the top of the Makefiles. They must be removed from the Makefiles when builtin. The code which adds the `spl/` directory to the top level Makefile was failing due to the addition of the `certs/` path. The search pattern has been adjusted to be more tolerant. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue #481 Issue #498
Adding VPATH support, commit 47a4a6f, required that a `src` and `obj` line be added to the top of the Makefiles. They must be removed from the Makefiles when builtin. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue openzfs/spl#481 Issue openzfs/spl#498
It seems that building a 4.3 kernel with spl and zfs-kmod built-in fails. They build fine as modules. Linux-4.2.3 is not affected by this. I'm attaching a build log here as well as my kernel configuration.
GCC version is: gcc (Gentoo 5.2.0 p1.1, pie-0.6.4) 5.2.0
build-log.txt
config.txt
The text was updated successfully, but these errors were encountered: