<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Assertion failed: (isExpr() && "This is not an expression"), building FreeBSD/mips64 OCTEON1 kernel"
href="https://bugs.llvm.org/show_bug.cgi?id=34391">34391</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Assertion failed: (isExpr() && "This is not an expression"), building FreeBSD/mips64 OCTEON1 kernel
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>5.0
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>FreeBSD
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>emaste@freebsd.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=19066" name="attach_19066" title="reproduction txz">attachment 19066</a> <a href="attachment.cgi?id=19066&action=edit" title="reproduction txz">[details]</a></span>
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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>