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

configure script may fail to build kernel module when multiple GCC versions installed #5392

Closed
DeHackEd opened this issue Nov 13, 2016 · 1 comment
Labels
Status: Inactive Not being actively updated Status: Stale No recent activity for issue Type: Building Indicates an issue related to building binaries

Comments

@DeHackEd
Copy link
Contributor

The kernel build process uses its own $CC variable for compiling than is used by ./configure or the userspace tools builds. ./configure --help documents them as is normal for autoconf based systems. Thus users may do something like:

CC=/usr/local/gcc-6.x/bin/gcc ./configure
...
checking whether host toolchain supports AVX2... yes
...

Except the kernel module builder doesn't honour that CC variable and you'll fail to build the kernel.

Not sure if this is the user's fault, or if there's a good solution to this.

@behlendorf behlendorf added the Type: Building Indicates an issue related to building binaries label Nov 13, 2016
@stale
Copy link

stale bot commented Aug 24, 2020

This issue has been automatically marked as "stale" because it has not had any activity for a while. It will be closed in 90 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Status: Stale No recent activity for issue label Aug 24, 2020
@stale stale bot closed this as completed Nov 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Inactive Not being actively updated Status: Stale No recent activity for issue Type: Building Indicates an issue related to building binaries
Projects
None yet
Development

No branches or pull requests

3 participants
@behlendorf @DeHackEd and others