From owner-svn-src-all@FreeBSD.ORG Sat Feb 7 16:42:40 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AC441D46; Sat, 7 Feb 2015 16:42:40 +0000 (UTC) Received: from thyme.infocus-llc.com (thyme.infocus-llc.com [199.15.120.10]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5F66EC2C; Sat, 7 Feb 2015 16:42:40 +0000 (UTC) Received: from draco.over-yonder.net (c-75-65-60-66.hsd1.ms.comcast.net [75.65.60.66]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by thyme.infocus-llc.com (Postfix) with ESMTPSA id 75DAD37B567; Sat, 7 Feb 2015 10:42:33 -0600 (CST) Received: by draco.over-yonder.net (Postfix, from userid 100) id 3kffRr5nVnz2MT; Sat, 7 Feb 2015 10:42:32 -0600 (CST) Date: Sat, 7 Feb 2015 10:42:32 -0600 From: "Matthew D. Fuller" To: Dimitry Andric Subject: Re: svn commit: r278349 - head/contrib/llvm/lib/Target/X86 Message-ID: <20150207164232.GA97044@over-yonder.net> References: <201502071250.t17CoY49076516@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <201502071250.t17CoY49076516@svn.freebsd.org> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.23-fullermd.4 (2014-03-12) X-Virus-Scanned: clamav-milter 0.98.6 at thyme.infocus-llc.com X-Virus-Status: Clean Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2015 16:42:40 -0000 On Sat, Feb 07, 2015 at 12:50:34PM +0000 I heard the voice of Dimitry Andric, and lo! it spake thus: >=20 > Log: > Pull in r224884 from upstream llvm trunk (by Keno Fischer): This blows up the kernel build for me. Apparently reproducible, as my first build was -j'd and so unreadable, and another non--j build yielded the below. With the rev patch -R'd out, build completes fine. cc -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADER= S -include /usr/obj/usr/src/sys/MORTIS/opt_global.h -I. -I/usr/src/sys -I/u= sr/src/sys/contrib/altq -fno-common -g -fno-omit-frame-pointer -mno-omit-le= af-frame-pointer -I/usr/obj/usr/src/sys/MORTIS -mcmodel=3Dkernel -mno-red-= zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffree= standing -fwrapv -fstack-protector -gdwarf-2 -Wno-error-tautological-compar= e -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-= function -Wno-error-pointer-sign -Wall -Wredundant-decls -Wnested-externs = -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-q= ual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs = -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-co= mpare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unu= sed-function -Wno-error-pointer-sign -mno-aes -mno-avx -std=3Diso9899:19= 99 -c /usr/src/sys/modules/hptmv/../../dev/hptmv/hptproc.c Cannot emit physreg copy instruction UNREACHABLE executed at /usr/src/lib/clang/libllvmx86codegen/../../../contr= ib/llvm/lib/Target/X86/X86InstrInfo.cpp:3176! Stack dump: 0. Program arguments: /usr/obj/usr/src/tmp/usr/bin/cc -cc1 -triple x86_64-u= nknown-freebsd11.0 -emit-obj -mrelax-all -disable-free -main-file-name hptp= roc.c -mrelocation-model static -mdisable-fp-elim -masm-verbose -mconstruct= or-aliases -mcode-model kernel -target-cpu x86-64 -target-feature -mmx -tar= get-feature -sse -target-feature -aes -target-feature -avx -disable-red-zon= e -no-implicit-float -gdwarf-2 -dwarf-column-info -coverage-file /usr/obj/u= sr/src/sys/MORTIS/modules/usr/src/sys/modules/hptmv/hptproc.o -nostdsystemi= nc -nobuiltininc -resource-dir /usr/obj/usr/src/tmp/usr/bin/../lib/clang/3.= 5.1 -include /usr/obj/usr/src/sys/MORTIS/opt_global.h -D _KERNEL -D KLD_MOD= ULE -D HAVE_KERNEL_OPTION_HEADERS -I . -I /usr/src/sys -I /usr/src/sys/cont= rib/altq -I /usr/obj/usr/src/sys/MORTIS -isysroot /usr/obj/usr/src/tmp -Wer= ror -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parent= heses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wall -Wr= edundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -W= pointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -Wmissing-incl= ude-dirs -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-em= pty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-er= ror-pointer-sign -std=3Diso9899:1999 -fdebug-compilation-dir /usr/obj/usr/s= rc/sys/MORTIS/modules/usr/src/sys/modules/hptmv -ferror-limit 19 -fmessage-= length 80 -ffreestanding -fformat-extensions -fwrapv -stack-protector 1 -ms= tackrealign -fobjc-runtime=3Dgnustep -fno-common -fdiagnostics-show-option = -fcolor-diagnostics -o hptproc.o -x c /usr/src/sys/modules/hptmv/../../dev/= hptmv/hptproc.c=20 1. parser at end of file 2. Code generation 3. Running pass 'Function Pass Manager' on module '/usr/src/sys/modules/hpt= mv/../../dev/hptmv/hptproc.c'. 4. Running pass 'Post-RA pseudo instruction expansion pass' on function '@h= pt_proc_in' cc: error: unable to execute command: Abort trap (core dumped) cc: error: clang frontend command failed due to signal (use -v to see invoc= ation) FreeBSD clang version 3.5.1 (tags/RELEASE_351/final 225668) 20150115 Target: x86_64-unknown-freebsd11.0 Thread model: posix cc: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebs= d.org/submit/ and include the crash backtrace, preprocessed source, and ass= ociated run script. 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/hptproc-809e0b.c cc: note: diagnostic msg: /tmp/hptproc-809e0b.sh cc: note: diagnostic msg:=20 ******************** *** Error code 254 Stop. make[4]: stopped in /usr/src/sys/modules/hptmv *** Error code 1 Stop. make[3]: stopped in /usr/src/sys/modules *** Error code 1 Stop. make[2]: stopped in /usr/obj/usr/src/sys/MORTIS *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src --=20 Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.