CURRENT: build failure with clang 3.7.0

NGie Cooper yaneurabeya at gmail.com
Wed Oct 7 08:04:27 UTC 2015


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

…

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

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.
> 
> My /etc/src.conf is this:

…

> -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=native
> -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=gnu99 -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: ********************
> 
> 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: 
> 
> ********************
> *** [ieee802_11_common.o] Error code 254
> 
> 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’t run into that error with my system from that directory with clang 3.7.0/amd64, but I don’t build with -O3 by default (I learned my lesson about using -O after playing around with Gentoo Linux several years ago).

Cheers,
-NGie


More information about the freebsd-current mailing list