[Bug 244603] emulators/virtualbox-ose: use contemporary GCC instead of old llvm

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Mar 5 04:25:13 UTC 2020


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

            Bug ID: 244603
           Summary: emulators/virtualbox-ose: use contemporary GCC instead
                    of old llvm
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: vbox at FreeBSD.org
          Reporter: kevans at freebsd.org
          Assignee: vbox at FreeBSD.org
             Flags: maintainer-feedback?(vbox at FreeBSD.org)

Created attachment 212150
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=212150&action=edit
svn(1) diff against the ports tree

The bug in PR 236616 resulted in virtualbox getting pinned to llvm7. This is
less than ideal, and in-fact has been broken by improvements to
machine/atomic.h on x86 that require a more modern compiler.

Switch the build to use GCC9. USE_GCC= any is not sufficient, as GCC8 doesn't
support the feature used by atomic.h. The patches that were previously applied
if COMPILER_TYPE == clang are actually needed by GCC9 as well, so make those
standard patches instead, folding the Config.kmk patches together.

We should put some effort into testing llvm10 and working out why llvm breaks
it, but fixing the build is more important at the moment.

Q/A: 
* portlint (pre-existing issues; none in current patch)
* testport (-CURRENT, amd64)
* run tested by madpilot@

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


More information about the freebsd-emulation mailing list