From owner-freebsd-mips@FreeBSD.ORG Mon Feb 2 17:28:34 2015 Return-Path: Delivered-To: freebsd-mips@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 66742243 for ; Mon, 2 Feb 2015 17:28:34 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 4CE0D647 for ; Mon, 2 Feb 2015 17:28:34 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t12HSYuf002546 for ; Mon, 2 Feb 2015 17:28:34 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-mips@FreeBSD.org Subject: [Bug 197259] [mips64] First Pass at clang enabled builds for mips64 (with clang36) Date: Mon, 02 Feb 2015 17:28:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2015 17:28:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197259 Sean Bruno changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress --- Comment #5 from Sean Bruno --- (In reply to Dimitry Andric from comment #4) Yep, applied the phabricator review to my tree and we get a bit farther, then a second clang crash occurs. Target: mips64-unknown-freebsd11.0 Thread model: posix "/var/tmp/mips.mips64/home/sbruno/bsd/clang360-import/tmp/usr/bin/cc" -cc1 -triple mips64-unknown-freebsd11.0 -emit-obj -disable-free -main-file-name fixdfti.c -mrelocation-model pic -pic-level 1 -mthread-model posix -mdisable-fp-elim -masm-verbose -mconstructor-aliases -target-cpu mips64r2 -target-feature -o32 -target-feature +n64 -target-abi n64 -mfloat-abi hard -mllvm -mips-ssection-threshold=0 -v -dwarf-column-info -coverage-file /var/tmp/mips.mips64/home/sbruno/bsd/clang360-import/lib/libcompiler_rt/fixdfti.o -resource-dir /var/tmp/mips.mips64/home/sbruno/bsd/clang360-import/tmp/usr/bin/../lib/clang/3.6.0 -D VISIBILITY_HIDDEN -isysroot /var/tmp/mips.mips64/home/sbruno/bsd/clang360-import/tmp -O2 -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -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 -std=gnu99 -fdebug-compilation-dir /var/tmp/mips.mips64/home/sbruno/bsd/clang360-import/lib/libcompiler_rt -ferror-limit 19 -fmessage-length 0 -fvisibility hidden -mstackrealign -fobjc-runtime=gnustep -fdiagnostics-show-option -vectorize-loops -vectorize-slp -o fixdfti.o -x c /home/sbruno/bsd/clang360-import/lib/libcompiler_rt/../../contrib/compiler-rt/lib/builtins/fixdfti.c clang -cc1 version 3.6.0 based upon LLVM 3.6.0 default target mips64-unknown-freebsd11.0 #include "..." search starts here: #include <...> search starts here: /var/tmp/mips.mips64/home/sbruno/bsd/clang360-import/tmp/usr/bin/../lib/clang/3.6.0/include /var/tmp/mips.mips64/home/sbruno/bsd/clang360-import/tmp/usr/include End of search list. fatal error: error in backend: Cannot select: 0x8032c7660: i64,i64 = srl_parts 0x8032c6770, 0x8032c6110, 0x8032c7220 [ORD=5] [ID=12] 0x8032c6770: i64,ch = CopyFromReg 0x80326fcb0, 0x8032c7440 [ORD=2] [ID=8] 0x8032c7440: i64 = Register %vreg3 [ID=1] 0x8032c6110: i64 = Constant<0> [ID=5] 0x8032c7220: i32 = sub 0x8032c7ee0, 0x8032c7000 [ORD=3] [ID=11] 0x8032c7ee0: i32 = Constant<1075> [ID=2] 0x8032c7000: i32 = AssertSext 0x8032c7110, 0x8032c6660 [ORD=3] [ID=10] 0x8032c7110: i32,ch = CopyFromReg 0x80326fcb0, 0x8032c7dd0 [ORD=3] [ID=9] 0x8032c7dd0: i32 = Register %vreg1 [ID=3] In function: __fixdfti cc: error: clang frontend command failed with exit code 70 (use -v to see invocation) FreeBSD clang version 3.6.0 (tags/RELEASE_360/rc2 227651) 20150131 Target: mips64-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. 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/fixdfti-1cabaf.c cc: note: diagnostic msg: /tmp/fixdfti-1cabaf.sh cc: note: diagnostic msg: ******************** *** Error code 70 Stop. make[4]: stopped in /home/sbruno/bsd/clang360-import/lib/libcompiler_rt *** Error code 1 -- You are receiving this mail because: You are on the CC list for the bug.