Date: Wed, 4 Mar 2020 16:03:08 +0100 From: Guido Falsi <madpilot@FreeBSD.org> To: Ryan Libby <rlibby@freebsd.org>, "Alexander V. Chernikov" <melifaro@ipfw.ru> Cc: "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, vbox@FreeBSD.org Subject: Re: svn commit: r358439 - head/sys/amd64/include Message-ID: <6e71c270-0662-64dd-9591-4a8aef986c8c@FreeBSD.org> In-Reply-To: <3d54ebc3-a511-a239-136d-c0f638a69351@FreeBSD.org> References: <202002281832.01SIWaEL071685@repo.freebsd.org> <5767791583138727@sas1-c7aad230fe87.qloud-c.yandex.net> <CAHgpiFzg1Co6KY2twE3Pa7-ozQti4kzMr432R_7w9hukMQU00A@mail.gmail.com> <3d54ebc3-a511-a239-136d-c0f638a69351@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 04/03/20 12:27, Guido Falsi wrote:
>
> Actually this causes emulators/virtualbox-ose port to fail to build:
>
> In file included from /usr/src/sys/sys/systm.h:44:
> /usr/include/machine/atomic.h:230:1: error: invalid output constraint
> '=@cce' in asm
> ATOMIC_CMPSET(char);
> ^
> /usr/include/machine/atomic.h:205:4: note: expanded from macro
> 'ATOMIC_CMPSET'
> : "=@cce" (res), /* 0 */ \
> ^
> /usr/include/machine/atomic.h:230:1: error: invalid output constraint
> '=@cce' in asm
>
> (and so on)
>
>
> the virtualbox-ose port is forced to use an older clang version due to
> crashes when compiled with newer ones.
>
> Not sure whose responsibility is to fix this.
>
> Should I file a bug report on bugzilla?
>
Adding:
.if ${.CURDIR:M*emulators/virtualbox-ose}
USE_GCC=9
.endif
to make.conf seems to be a good workaround.
Writing this here for the record.
--
Guido Falsi <madpilot@freebsd.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6e71c270-0662-64dd-9591-4a8aef986c8c>
