CURRENT: build failure with clang 3.7.0

Dimitry Andric dim at FreeBSD.org
Wed Oct 7 11:24:06 UTC 2015


On 07 Oct 2015, at 09:37, O. Hartmann <ohartman at zedat.fu-berlin.de> wrote:
> 
> I hit on a box this nasty/sticky error when performing buildworld.
> 
> /usr/src is on r288980
...
> --- ieee802_11_common.o ---
...
> -c /usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//src/common/ieee802_11_common.c
> -o ieee802_11_common.o Cannot emit physreg copy instruction UNREACHABLE
> executed
> at /usr/src/lib/clang/libllvmx86codegen/../../../contrib/llvm/lib/Target/X86/X86InstrInfo.cpp:3935!

Somebody else reported the same to me yesterday.  This is an upstream
bug with AVX (which is still present in llvm trunk), so for now you need
to set your CPUTYPE to something that doesn't have AVX, or simply unset
your CPUTYPE.

The bug has been reported upstream, and once there is a fix, I will
import it ASAP.

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20151007/87d1d43d/attachment.bin>


More information about the freebsd-current mailing list