linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-4.1-rc7 and dev versions of gcc
@ 2015-06-09  7:35 David Binderman
  2015-06-09 15:33 ` josh
  0 siblings, 1 reply; 2+ messages in thread
From: David Binderman @ 2015-06-09  7:35 UTC (permalink / raw)
  To: sparse@chrisli.org; +Cc: linux-sparse@vger.kernel.org

Hello there,

Recent development versions of gcc have started using the 6.0.0 version number.

gcc version 6.0.0 20150607 (experimental) (GCC) 

Linux kernel doesn't understand any gcc version numbers beyond 5.

include/linux/compiler-gcc3.h  
include/linux/compiler-gcc4.h 
include/linux/compiler-gcc5.h

Kernel build fails because no compiler-gcc6.h file.

I have a temporary bodge to copy compiler-gcc5.h file into compiler-gcc6.h


Regards

David Binderman

 		 	   		  --
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: linux-4.1-rc7 and dev versions of gcc
  2015-06-09  7:35 linux-4.1-rc7 and dev versions of gcc David Binderman
@ 2015-06-09 15:33 ` josh
  0 siblings, 0 replies; 2+ messages in thread
From: josh @ 2015-06-09 15:33 UTC (permalink / raw)
  To: David Binderman; +Cc: sparse@chrisli.org, linux-sparse@vger.kernel.org

On Tue, Jun 09, 2015 at 07:35:58AM +0000, David Binderman wrote:
> Hello there,
> 
> Recent development versions of gcc have started using the 6.0.0 version number.
> 
> gcc version 6.0.0 20150607 (experimental) (GCC) 
> 
> Linux kernel doesn't understand any gcc version numbers beyond 5.
> 
> include/linux/compiler-gcc3.h  
> include/linux/compiler-gcc4.h 
> include/linux/compiler-gcc5.h
> 
> Kernel build fails because no compiler-gcc6.h file.
> 
> I have a temporary bodge to copy compiler-gcc5.h file into compiler-gcc6.h

This shouldn't be a Sparse issue.  As discussed previously on this list
and LKML, Sparse should probably declare a specific GCC version number,
*not* the latest.  Apart from that, handling GCC 6 has been discussed on
LKML previously, and I think there were some patches circulating
already.

- Josh Triplett
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-09 15:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-09  7:35 linux-4.1-rc7 and dev versions of gcc David Binderman
2015-06-09 15:33 ` josh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).