Bug 164041
Summary: | External module won't compile by earlier gcc versions | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alexey Chentsov <chentsov> | ||||
Component: | kernel | Assignee: | Dave Jones <davej> | ||||
Status: | CLOSED ERRATA | QA Contact: | Brian Brock <bbrock> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4 | CC: | pfrields, wtogami | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2005-08-30 01:52:36 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Alexey Chentsov
2005-07-23 07:52:42 UTC
Created attachment 117098 [details]
proposed patch
File in question is arch/i386/Makefile
The patch looks reasonable, but please remember that it's completely wrong to attempt to build an external module with a compiler different than one used for the kernel. You must not override CC setting. There could be many circumstances and it is not necessarily critical to recompile the kernel every now and then. Some minor compiler update might happen. Or Binutils. Some binaries used by module could be precompiled by different compiler. So what. There's another posibility if one gets FC4 kernel for a ride/component test. It should be clear that there are cases when using different compiler in not completely wrong. Whatever. It's irrelevant to the bug itself. I could restate the problem as one wouldn't be able to compile FC4 kernel source by older compilers. fixed in cvs |