From owner-freebsd-current@freebsd.org Wed Oct 7 07:37:30 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 701439D0DA1 for ; Wed, 7 Oct 2015 07:37:30 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 32E979D3 for ; Wed, 7 Oct 2015 07:37:29 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.85) for freebsd-current@freebsd.org with esmtp (envelope-from ) id <1ZjjI0-003rT6-8d>; Wed, 07 Oct 2015 09:37:28 +0200 Received: from p578a69f9.dip0.t-ipconnect.de ([87.138.105.249] helo=freyja.zeit4.iv.bundesimmobilien.de) by inpost2.zedat.fu-berlin.de (Exim 4.85) for freebsd-current@freebsd.org with esmtpsa (envelope-from ) id <1ZjjI0-002JNf-0B>; Wed, 07 Oct 2015 09:37:28 +0200 Date: Wed, 7 Oct 2015 09:37:27 +0200 From: "O. Hartmann" To: freebsd-current Subject: CURRENT: build failure with clang 3.7.0 Message-ID: <20151007093727.0db8e2e6@freyja.zeit4.iv.bundesimmobilien.de> Organization: FU Berlin X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Originating-IP: 87.138.105.249 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2015 07:37:30 -0000 I hit on a box this nasty/sticky error when performing buildworld. /usr/src is on r288980 svn status gives #: [src] svn st ? .snap ? .sujournal ? etc/rc.d/tests ? sys/amd64/conf/HAGENVONTRONJE By the way, it seems that etc/rc.d/tests doesn't get deleted via "make delete-old". The failure is shown below. My /etc/src.conf is this: # CPUTYPE?= native # CFLAGS+= -O3 -pipe COPTFLAGS+= -O3 -pipe # #CXXFLAGS+= -std=c++11 # WITH_CLANG_FULL= YES WITH_CLANG_EXTRAS= YES WITH_LLDB= YES # WITH_IDEA= YES # #WITH_BSD_GREP= YES # #WITH_OFED= YES WITH_NAND= YES #WITH_CTF= YES # WITH_SVN= YES # MALLOC_PRODUCTION= YES # #WITHOUT_DEBUG_FILES= YES # PORTS_MODULES= PORTS_MODULES+= emulators/virtualbox-ose-kmod I use this /etc/src.conf also on other machines, but with CXXFLAGS+= -std=c++11 enabled. It works on two out of three, the third (not the reported one here) fails in atf-c++, I will report later when I have access to the box. The strange thing on that is that I use the very specific non-vanilla src.conf on several systems and they work and do well, even with CURRENT as discussed here, but there are problems I can not fathom since source tree and compilation flags are the same and even the startig revision of the building machine's CURRENT is the same. regards, oliver [...] --- ieee802_11_common.o --- cc -O2 -pipe -O3 -O3 -pipe -march=native -I/usr/src/usr.sbin/wpa/wpa_supplicant -I/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//hostapd -I/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//src -I/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//src/common -I/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//src/crypto -I/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//src/drivers -I/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//src/l2_packet -I/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//src/utils -I/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//src/wps -DCONFIG_CTRL_IFACE -DCONFIG_CTRL_IFACE_UNIX -DCONFIG_BACKEND_FILE -DCONFIG_DEBUG_SYSLOG -DCONFIG_DRIVER_BSD -DCONFIG_DRIVER_NDIS -DCONFIG_DRIVER_WIRED -DCONFIG_GAS -DCONFIG_HS20 -DCONFIG_IEEE80211R -DCONFIG_INTERWORKING -DCONFIG_PEERKEY -DCONFIG_PRIVSEP -DCONFIG_SMARTCARD -DCONFIG_TERMINATE_ONLASTIF -DCONFIG_TLS=openssl -DCONFIG_WPS -DCONFIG_WPS2 -DCONFIG_WPS_UPNP -DPKCS12_FUNCS -DEAP_GTC -DEAP_LEAP -DEAP_MD5 -DEAP_MSCHAPv2 -DEAP_OTP -DEAP_PEAP -DEAP_PSK -DEAP_TLS -DEAP_TTLS -DIEEE8021X_EAPOL -DCONFIG_SHA256 -DEAP_TLS_OPENSSL -I/usr/src/usr.sbin/wpa/wpa_supplicant -I/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//hostapd -I/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//src -I/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//src/common -I/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//src/crypto -I/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//src/drivers -I/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//src/l2_packet -I/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//src/utils -I/usr/src/usr.sbin/wpa/wpa_supplicant/../../../contrib/wpa//src/wps -DCONFIG_CTRL_IFACE -DCONFIG_CTRL_IFACE_UNIX -std=gnu99 -fstack-protector-strong -Qunused-arguments -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! 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