[llvm-bugs] [Bug 25730] New: crash: Assertion failed: (MemOffsetOp.isImm() && "expected immediate operand kind"), function expandBranchImm,

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Dec 3 11:35:57 PST 2015


https://llvm.org/bugs/show_bug.cgi?id=25730

            Bug ID: 25730
           Summary: crash:  Assertion failed: (MemOffsetOp.isImm() &&
                    "expected immediate operand kind"), function
                    expandBranchImm,
           Product: clang
           Version: trunk
          Hardware: Other
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: sbruno at freebsd.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15393
  --> https://llvm.org/bugs/attachment.cgi?id=15393&action=edit
Diagnostic files from the crash report.

Making good progress on moving the FreeBSD build system to using LLVM/Clang for
our MIPS64 targets.  We've made it much further and now hit an Assertion:
===> lib/libstand (all)
/home/sbruno/clang/build/bin/clang -D__mips_n64 -target
mips64-unknown-freebsd11.0
--sysroot=/var/tmp/mips.mips64/usr/home/sbruno/fbsd_head/tmp
-B/var/tmp/mips.mips64/usr/home/sbruno/fbsd_head/tmp/usr/bin -O -pipe -G0  
-I/usr/home/sbruno/fbsd_head/lib/libstand -DBZ_NO_STDIO -DBZ_NO_COMPRESS
-DHAVE_MEMCPY -I/usr/home/sbruno/fbsd_head/lib/libstand/../libz -ffreestanding
-Wformat  -msoft-float -D_STANDALONE -G0 -fno-pic -mno-abicalls -std=gnu99
-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/home/sbruno/fbsd_head/lib/libstand/mips/_setjmp.S -o _setjmp.o
Assertion failed: (MemOffsetOp.isImm() && "expected immediate operand kind"),
function expandBranchImm, file
/home/sbruno/clang/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp, line 2526.
clang-3.8: error: unable to execute command: Abort trap (core dumped)
clang-3.8: error: clang integrated assembler command failed due to signal (use
-v to see invocation)
clang version 3.8.0 (trunk 254519)
Target: mips64-unknown-freebsd11.0
Thread model: posix
InstalledDir: /home/sbruno/clang/build/bin
clang-3.8: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang-3.8: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.8: note: diagnostic msg: /tmp/_setjmp-3b3e2a.S
clang-3.8: note: diagnostic msg: /tmp/_setjmp-3b3e2a.sh
clang-3.8: note: diagnostic msg: 

********************
*** Error code 254

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151203/3b17eb46/attachment-0001.html>


More information about the llvm-bugs mailing list