Re: [PATCH] Don't build any of the sparc arch bits with -Werror

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday, February 25, 2011 08:17:51 PM Dennis Gilmore wrote:
> On Friday, February 25, 2011 08:10:01 PM David Miller wrote:
> > From: Dennis Gilmore <dennis@xxxxxxxx>
> > Date: Fri, 25 Feb 2011 18:06:00 -0600
> > 
> > > This is due to gcc-4.6 it throws warnings for defined but unused
> > > variables. without this we cant build the kernel at all.  i have buil
> > > tested but not tried to run yet
> > 
> > Then fix the warnings since they are likely legitimate.
> > 
> > We've had -Werror there for _years_, don't just knee jerk remove
> > it because some new compiler notices new problems.
> > --
> > To unsubscribe from this list: send the line "unsubscribe sparclinux" in
> > the body of a message to majordomo@xxxxxxxxxxxxxxx
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
>  a build with this patch results in the following

a shorter followup

grep Wunused-but-set-variable build.log |wc -l
1257

in pretty much every section of the kernel.  so yes while it will need fixing 
its not something i have the time to do right now.

Perhaps i should just carry the patch in the fedora kernel until we can fully 
resolve the issues.  x86_64 and i686 dont use -Werror so i doubt ill get much 
help there.

dennis

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux