[llvm-bugs] [Bug 34391] New: Assertion failed: (isExpr() && "This is not an expression"), building FreeBSD/mips64 OCTEON1 kernel

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Aug 30 16:59:06 PDT 2017


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

            Bug ID: 34391
           Summary: Assertion failed: (isExpr() && "This is not an
                    expression"), building FreeBSD/mips64 OCTEON1 kernel
           Product: new-bugs
           Version: 5.0
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: emaste at freebsd.org
                CC: llvm-bugs at lists.llvm.org

Created attachment 19066
  --> https://bugs.llvm.org/attachment.cgi?id=19066&action=edit
reproduction txz

Building FreeBSD/mips64 OCTEON1 kernel with Clang+LLD 5.0.0 failed with:

cc -target mips64-unknown-freebsd12.0
--sysroot=/tank/emaste/obj/mips.mips64/tank/emaste/src/wipbsd/tmp
-B/tank/emaste/obj/mips.mips64/tank/emaste/src/wipbsd/tmp/usr/bin -c -x
assembler-with-cpp -DLOCORE -O -pipe  -g -nostdinc  -I.
-I/tank/emaste/src/wipbsd/sys -I/tank/emaste/src/wipbsd/sys/contrib/libfdt
-D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  -fno-pic
-mno-abicalls -G0 -DKERNLOADADDR=0xffffffff80100000 -march=octeon -mabi=64 -MD 
-MF.depend.asm_octeon.o -MTasm_octeon.o -msoft-float -ffreestanding -fwrapv
-gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef
-Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare
-Wno-error-empty-body -Wno-error-parentheses-equality
-Wno-error-unused-function -Wno-error-pointer-sign
-Wno-error-shift-negative-value -Wno-error-address-of-packed-member   
-std=iso9899:1999  -O -pipe  -g -nostdinc  -I. -I/tank/emaste/src/wipbsd/sys
-I/tank/emaste/src/wipbsd/sys/contrib/libfdt -D_KERNEL
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  -fno-pic -mno-abicalls -G0
-DKERNLOADADDR=0xffffffff80100000 -march=octeon -mabi=64 -MD 
-MF.depend.asm_octeon.o -MTasm_octeon.o -msoft-float -ffreestanding -fwrapv
-gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef
-Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare
-Wno-error-empty-body -Wno-error-parentheses-equality
-Wno-error-unused-function -Wno-error-pointer-sign
-Wno-error-shift-negative-value -Wno-error-address-of-packed-member   
-std=iso9899:1999 -D_LOCORE -DLOCORE -Werror
/tank/emaste/src/wipbsd/sys/mips/cavium/asm_octeon.S
Assertion failed: (isExpr() && "This is not an expression"), function getExpr,
file /tank/emaste/src/wipbsd/contrib/llvm/include/llvm/MC/MCInst.h, line 97.
cc: error: unable to execute command: Abort trap (core dumped)
cc: error: clang integrated assembler command failed due to signal (use -v to
see invocation)

Reproduction files attached

-- 
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/20170830/6a8cffec/attachment-0001.html>


More information about the llvm-bugs mailing list