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

From: Rajesh Kumar <rajfbsd_at_gmail.com>
Date: Tue, 16 Jun 2020 12:29:14 +0530
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?

Thanks,
Rajesh.
Received on Tue Jun 16 2020 - 04:59:29 UTC

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