-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ICP build error with --enable-linux-builtin and separate kernel source and build directories #9988
Comments
The error is because module/icp/Makefile.in adds The attached patch fixes the issue for me. |
Are the src/obj defines needed for a modular build? Or are they always unnecessary in the module/ subdir? |
There arent buildbots for the in-tree stuff, so breakage in this functionality of usually detected by someone trying to actually do it :). Part of the reason my shop has been staying on modified versions of stable tags is that there's a bunch of OS-related rework going on, which tends to hit the build system - we've found it easier to divine and backport the requirements for some feature/commit to the stable branches than trying to keep up with the OS code churn. |
@nivedita76 thanks for the patch. The The CI does test in-kernel builds but it doesn't happen to cover this case. It would be nice to update the test scripts to provide coverage for this. @nivedita76 would you mind posting the steps you used to hit this issue. For reference, this is the script used by CI to test in-kernel builds. |
Attached script can be used to repro. |
System information
Describe the problem you're observing
When building zfs builtin to the kernel, using
configure --with-config=kernel --enable-linux-builtin --with-linux=${KSRC} --with-linux-obj=${KOBJ}
the icp subdirectory fails because it can't find include files.
Describe how to reproduce the problem
Include any warning/errors/backtraces from the system logs
The text was updated successfully, but these errors were encountered: