svn commit: r358439 - head/sys/amd64/include

Guido Falsi madpilot at FreeBSD.org
Wed Mar 4 15:03:11 UTC 2020


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 at freebsd.org>


More information about the svn-src-head mailing list