[Bug 233542] devel/kBuild improperly selects gcc version

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 26 18:41:21 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233542

            Bug ID: 233542
           Summary: devel/kBuild improperly selects gcc version
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: vbox at FreeBSD.org
          Reporter: rkoberman at gmail.com
          Assignee: vbox at FreeBSD.org
             Flags: maintainer-feedback?(vbox at FreeBSD.org)

Created attachment 199577
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=199577&action=edit
Patch to allow kBuild to use gcc7

gcc6 is deprecated but kBuild/Makefile specifies "USE_GCC=any" which results in
gcc6 being used. gcc6 is EOL and is taged for expiration.

While I believe that bsd.gcc.mk is incorrectly selecting gcc6 for the
"any"case, the recommended value for gcc when a specific version is required is
"USE_GCC=yes". Changing the Makefile successfully builds kBuild using gcc7. The
attached patch makes this change.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list