-
Notifications
You must be signed in to change notification settings - Fork 151
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
Fix building with clang and lld #294
Conversation
Signed-off-by: Jacek Szafarkiewicz <szafar@linux.pl>
Signed-off-by: Jacek Szafarkiewicz <szafar@linux.pl>
Signed-off-by: Jacek Szafarkiewicz <szafar@linux.pl>
I can confirm that exporting correct The line We may need to test |
And please change the two variables |
Signed-off-by: Jacek Szafarkiewicz <szafar@linux.pl>
Signed-off-by: Jacek Szafarkiewicz <szafar@linux.pl>
@xuzhen corrected |
@hadogenes can we interest you in adding zfs into our testing matrix? @xuzhen is doing some amazing work fixing all the CC/LD detection and it would be great if we don't break zfs-dkms. |
It would be great idea, but I don't know how to get kernel compiled with clang. |
@hadogenes you can use the CI from this MR as reference:
|
when building zfs dkms module it fails because KERNEL_CC and KERNEL_LD wasn't set correctly