Date: Thu, 18 Jun 2020 07:47:22 +0530 From: Rajesh Kumar <rajfbsd@gmail.com> To: Andriy Gapon <avg@freebsd.org> Cc: freebsd-current@freebsd.org, freebsd-drivers@freebsd.org Subject: Re: Building modules gives error: "invalid output constraint '=@cce' in asm" Message-ID: <CAAO%2BANO7gapcBRw%2BOhSz2a8dbxiM1_sm7mrTvERGV_hRvKReiw@mail.gmail.com> In-Reply-To: <e4df8602-7bff-6db7-fb7b-20a3c00efc79@FreeBSD.org> References: <CAAO%2BANN25UODDvdLaqtHt%2BPwkaV-oQzd8tko34C-j3FtUory6g@mail.gmail.com> <CAAO%2BANOXw0YquW5QqC%2BbMWzHoCWqNGE-U79RG1bQ%2B3VbjdaARQ@mail.gmail.com> <e4df8602-7bff-6db7-fb7b-20a3c00efc79@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
HI Andriy Gapon, Thanks. It works. On Wed, Jun 17, 2020 at 11:53 AM Andriy Gapon <avg@freebsd.org> 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 disturbed. > > You should do `make buildenv` and then do the module build in the subshell. > This way you will be using a compiler (toolchain, in general) form the > buildworld, not the currently installed compiler. > > -- > Andriy Gapon >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAO%2BANO7gapcBRw%2BOhSz2a8dbxiM1_sm7mrTvERGV_hRvKReiw>