Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Feb 2015 17:28:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 197259] [mips64] First Pass at clang enabled builds for mips64 (with clang36)
Message-ID:  <bug-197259-8-zYcAMEo9d6@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-197259-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-197259-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197259

Sean Bruno <sbruno@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |In Progress

--- Comment #5 from Sean Bruno <sbruno@FreeBSD.org> ---
(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 the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197259-8-zYcAMEo9d6>