Date: Tue, 16 Jun 2020 11:57:20 +0300 From: Konstantin Belousov <kib@freebsd.org> To: Rajesh Kumar <rajfbsd@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: Building modules gives error: "invalid output constraint '=@cce' in asm" Message-ID: <20200616085720.GC45690@kib.kiev.ua> In-Reply-To: <CAAO%2BANN25UODDvdLaqtHt%2BPwkaV-oQzd8tko34C-j3FtUory6g@mail.gmail.com> References: <CAAO%2BANN25UODDvdLaqtHt%2BPwkaV-oQzd8tko34C-j3FtUory6g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 16, 2020 at 12:29:14PM +0530, Rajesh Kumar wrote: > Hi, > > I am trying to build my module with freebsd current branch. But I am > facing compilation issue with header files as below. I have built and > installed the freebsd current branch and booted to that kernel before > building my module. So, not sure what is going wrong. > > *In file included from > /root//freebsd_current/sys/sys/systm.h:44:./machine/atomic.h:230:1: error: > invalid output constraint '=@cce' in > asmATOMIC_CMPSET(char);^./machine/atomic.h:205:4: note: expanded from macro > 'ATOMIC_CMPSET' : "=@cce" (res), /* 0 */ \* > > Am I missing something? Your compiler is too old. You must either build on current, use buildworld/buildkernel method.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200616085720.GC45690>