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

2020-06-17 Thread Rajesh Kumar
HI Andriy Gapon, Thanks. It works. On Wed, Jun 17, 2020 at 11:53 AM Andriy Gapon wrote: > On 17/06/2020 04:53, Rajesh Kumar wrote: > > Then, I am trying to compile the driver modules and hit the > > compilation error. I haven't done "install world" as I don't want the > base > > 12.0 to be

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

2020-06-17 Thread Andriy Gapon
On 17/06/2020 04:53, Rajesh Kumar wrote: > Then, I am trying to compile the driver modules and hit the > compilation error. I haven't done "install world" as I don't want the base > 12.0 to be disturbed. You should do `make buildenv` and then do the module build in the subshell. This way you

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

2020-06-16 Thread Rajesh Kumar
Hi, Has anyone faced a similar issue? I had a 12.0-RELEASE kernel earlier. I cloned the master branch and built world, built kernel and installed kernel with a different kernel name (INSTKERNNAME) and rebooted the machine and see it booting to 13.0-CURRENT as expected. Then, I am trying to

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

2020-06-16 Thread Konstantin Belousov
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

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

2020-06-16 Thread Rajesh Kumar
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