Bug 107642
Summary: | -Werr in the aic7xx Makefile prevents sucessful kernel build | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Raw Hide | Reporter: | Dan Berger <dberger> | ||||
Component: | kernel | Assignee: | Arjan van de Ven <arjanv> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Brian Brock <bbrock> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 1.0 | ||||||
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: | 2003-10-22 15:09:34 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
Dan Berger
2003-10-21 17:10:01 UTC
What warnings are you seeing ? Created attachment 95364 [details]
partial build log showing warnings
This is a partial build log, building from the test source packages on a RH 9
box. These warnings are not unique to the aic7xxx directory, but I included
only those to keep the size down.
Is this with the gcc32 compiler ? The check_unused feature should only be in newer gcc's, which you shouldn't be using for kernel builds. It is (gcc version 3.2.2 - as shipped with RH 9). Does that mean one should install the compat-gcc package to build a kernel? The test kernel RPMs seem to have been built with gcc 3 - and I followed suit. $ strings /lib/modules/2.6.0-0.test8.1.62/kernel/drivers/scsi/aic7xxx/aic7xxx.ko | grep -i gcc vermagic=2.6.0-0.test8.1.62 686 gcc-3.3 I'm curious to know how these RPMs are built, if new versions of gcc emit this warning, and that makefile specifies -werr. Somehow I missed that you were using Arjan's 2.6 kernel. Yes this -Werror is absolutely obnoxious. Please file a bug in bugzilla.kernel.org about that. The fact that you get a warning means you have a too old gcc; the rawhide one compiles things just fine... see kernel.org bug 1208. (which, somehow, I didn't find when I searched before filing this one). should this be closed as upstream, then? I've just removed the -Werror via a patch; it annoyed me too ;) |