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 <madpi...@freebsd.org>
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to