Bug 222961 - devel/linux-kernel: fails to build with lang/gcc7 or later
Summary: devel/linux-kernel: fails to build with lang/gcc7 or later
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tobias Kortkamp
URL:
Keywords:
Depends on:
Blocks: 222542
  Show dependency treegraph
 
Reported: 2017-10-12 18:16 UTC by Jan Beich
Modified: 2017-10-13 14:41 UTC (History)
2 users (show)

See Also:
tobik: maintainer-feedback+
jbeich: maintainer-feedback? (gerald)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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