Re: Building modules gives error: "invalid output constraint '=_at_cce' in asm"

From: Konstantin Belousov <kib_at_freebsd.org>
Date: Tue, 16 Jun 2020 11:57:20 +0300
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 '=_at_cce' in
> asmATOMIC_CMPSET(char);^./machine/atomic.h:205:4: note: expanded from macro
> 'ATOMIC_CMPSET'        : "=_at_cce" (res),                /* 0 */         \*
> 
> Am I missing something?

Your compiler is too old.
You must either build on current, use buildworld/buildkernel method.
Received on Tue Jun 16 2020 - 06:57:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:24 UTC