Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Oct 2015 01:04:25 -0700
From:      NGie Cooper <yaneurabeya@gmail.com>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: CURRENT: build failure with clang 3.7.0
Message-ID:  <56CC968F-BD4F-4633-8FC7-60D10F35D128@gmail.com>
In-Reply-To: <20151007093727.0db8e2e6@freyja.zeit4.iv.bundesimmobilien.de>
References:  <20151007093727.0db8e2e6@freyja.zeit4.iv.bundesimmobilien.de>

next in thread | previous in thread | raw e-mail | index | archive | help

> On Oct 7, 2015, at 00:37, O. Hartmann <ohartman@zedat.fu-berlin.de> =
wrote:
>=20
> I hit on a box this nasty/sticky error when performing buildworld.

=E2=80=A6

> By the way, it seems that etc/rc.d/tests doesn't get deleted via "make
> delete-old=E2=80=9D.

make delete-old only cleans up things installed to the system, not =
things in your source tree. Feel free to rm -Rf the path.

> The failure is shown below.
>=20
> My /etc/src.conf is this:

=E2=80=A6

> -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!
> cc: error: unable to execute command: Abort trap cc: error: clang =
frontend
> command failed due to signal (use -v to see invocation) FreeBSD clang =
version
> 3.7.0 (tags/RELEASE_370/final 246257) 20150906 Target:
> x86_64-unknown-freebsd11.0 Thread model: posix cc: note: diagnostic =
msg: PLEASE
> submit a bug report to https://bugs.freebsd.org/submit/ and include =
the crash
> backtrace, preprocessed source, and associated run script. --- =
usr.bin.all__D
> --- --- ex_abbrev.o --- cc  -O2 -pipe -O3 -O3 -pipe -march=3Dnative
> -D__REGEX_PRIVATE -I/usr/src/usr.bin/vi =
-I/usr/src/usr.bin/vi/../../contrib/nvi
> -I/usr/src/usr.bin/vi/../../contrib/nvi/regex -DUSE_WIDECHAR =
-DUSE_ICONV
> -std=3Dgnu99 -fstack-protector-strong -Wno-pointer-sign =
-Wno-empty-body
> -Wno-string-plus-int -Wno-unused-const-variable =
-Wno-tautological-compare
> -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function
> -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch =
-Wno-switch-enum
> -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments
> -c /usr/src/usr.bin/vi/../../contrib/nvi/ex/ex_abbrev.c -o ex_abbrev.o =
---
> usr.sbin.all__D --- cc: note: diagnostic msg: ********************
>=20
> PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
> Preprocessed source(s) and associated run script(s) are located at:
> cc: note: diagnostic msg: /tmp/ieee802_11_common-b7c29f.c
> cc: note: diagnostic msg: /tmp/ieee802_11_common-b7c29f.sh
> cc: note: diagnostic msg:=20
>=20
> ********************
> *** [ieee802_11_common.o] Error code 254
>=20
> make[5]: stopped in /usr/src/usr.sbin/wpa/wpa_supplicant
> 1 error

As the message says, please file a bug with all the requested details.

FWIW, I haven=E2=80=99t run into that error with my system from that =
directory with clang 3.7.0/amd64, but I don=E2=80=99t build with -O3 by =
default (I learned my lesson about using -O after playing around with =
Gentoo Linux several years ago).

Cheers,
-NGie=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56CC968F-BD4F-4633-8FC7-60D10F35D128>