Bug 222961

Summary: devel/linux-kernel: fails to build with lang/gcc7 or later
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: Tobias Kortkamp <tobik>
Status: Closed FIXED    
Severity: Affects Only Me CC: gerald, tobik
Priority: --- Flags: tobik: maintainer-feedback+
jbeich: maintainer-feedback? (gerald)
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 222542    

Comment 1 Jan Beich freebsd_committer 2017-10-12 18:17:45 UTC
To reproduce before build do:

  $ echo "DEFAULT_VERSIONS += gcc=7" >>${__MAKE_CONF:-/etc/make.conf}
Comment 2 Tobias Kortkamp freebsd_committer 2017-10-12 20:25:59 UTC
Apparently this commit resolves it:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=474c90156c8dcc2fa815e6716cc9394d7930cb9c

Will test later.
Comment 3 commit-hook freebsd_committer 2017-10-13 14:40:09 UTC
A commit references this bug:

Author: tobik
Date: Fri Oct 13 14:39:18 UTC 2017
New revision: 452006
URL: https://svnweb.freebsd.org/changeset/ports/452006

Log:
  devel/linux-kernel: Fix build with lang/gcc7 or later

  PR:		222961
  Reported by:	jbeich
  Obtained from:	upstream

Changes:
  head/devel/linux-kernel/Makefile
  head/devel/linux-kernel/files/patch-gcc7