Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jun 2020 09:23:51 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Rajesh Kumar <rajfbsd@gmail.com>, freebsd-current@freebsd.org, freebsd-drivers@freebsd.org
Subject:   Re: Building modules gives error: "invalid output constraint '=@cce' in asm"
Message-ID:  <e4df8602-7bff-6db7-fb7b-20a3c00efc79@FreeBSD.org>
In-Reply-To: <CAAO%2BANOXw0YquW5QqC%2BbMWzHoCWqNGE-U79RG1bQ%2B3VbjdaARQ@mail.gmail.com>
References:  <CAAO%2BANN25UODDvdLaqtHt%2BPwkaV-oQzd8tko34C-j3FtUory6g@mail.gmail.com> <CAAO%2BANOXw0YquW5QqC%2BbMWzHoCWqNGE-U79RG1bQ%2B3VbjdaARQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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?e4df8602-7bff-6db7-fb7b-20a3c00efc79>