Skip to content
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

FTBFS: missing MODULE_LICENSE() #10555

Closed
gordan-bobic opened this issue Jul 11, 2020 · 1 comment
Closed

FTBFS: missing MODULE_LICENSE() #10555

gordan-bobic opened this issue Jul 11, 2020 · 1 comment
Labels
Type: Building Indicates an issue related to building binaries

Comments

@gordan-bobic
Copy link
Contributor

gordan-bobic commented Jul 11, 2020

This looks a lot like #9755 but EL8 already uses gcc8 and switching to gcc9 doesn't help.

System information

Type Version/Name
Distribution Name CentOS
Distribution Version 8
Linux Kernel 5.4.x
Architecture aarch64
ZFS Version 0.8.4
SPL Version 0.8.4

Describe the problem you're observing

./configure fails to build an empty module. Build log shows:
missing MODULE_LICENSE() in /home/hutter/zfs/build/conftest/conftest.o

Describe how to reproduce the problem

Build and install latest 5.4.x mainline kernel from source.
Install ZoL 0.8.4 and run ./autogen.sh; ./configure

./configure will fail when testing whether an empty module can be built.

It builds fine against 4.19.132, 4.14.188 and 4.9.230

@behlendorf behlendorf added the Type: Building Indicates an issue related to building binaries label Jul 12, 2020
@behlendorf behlendorf changed the title FTBFS: missing MODULE_LICENSE() in /home/hutter/zfs/build/conftest/conftest.o FTBFS: missing MODULE_LICENSE() Jul 12, 2020
@gordan-bobic
Copy link
Contributor Author

I am not sure what happened to make this go away - I think it was the missing moudle.lds from the kernel build, but I am not 100% sure. I have it working now with no actual code changes on the ZoL side, so closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Building Indicates an issue related to building binaries
Projects
None yet
Development

No branches or pull requests

2 participants