<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 - llvm crashes on C++ code on i386 architecture on the project 'gpsim'"
href="https://bugs.llvm.org/show_bug.cgi?id=44396">44396</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>llvm crashes on C++ code on i386 architecture on the project 'gpsim'
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>9.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>C++
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>yuri@tsoft.com
</td>
</tr>
<tr>
<th>CC</th>
<td>blitzrakete@gmail.com, dgregor@apple.com, erik.pilkington@gmail.com, llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk
</td>
</tr></table>
<p>
<div>
<pre>Clang/LLVM 9.0 crash when it compiles the FreeBSD port misc/gpsim (version
0.31.0) which is this SourceForge project: <a href="http://gpsim.sourceforge.net/#src">http://gpsim.sourceforge.net/#src</a>
This seems to only happen with i386/clang-9 combination.
The FreeBSD build log:
<a href="http://beefy17.nyi.freebsd.org/data/head-i386-default/p521042_s356139/logs/gpsim-0.31.0.log">http://beefy17.nyi.freebsd.org/data/head-i386-default/p521042_s356139/logs/gpsim-0.31.0.log</a>
(IPv6 URL)
---excerpt from the above log---
. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'gui_scope.cc'.
4. Running pass 'X86 EFLAGS copy lowering' on function
'@_ZN12Scope_Window7getSpanEv'
#0 0x038a9ff4 (/usr/bin/c+++0x38a9ff4)
#1 0x038aa3fe (/usr/bin/c+++0x38aa3fe)
#2 0x038a806e (/usr/bin/c+++0x38a806e)
#3 0x038aa95c (/usr/bin/c+++0x38aa95c)
#4 0x249da759 (/lib/libthr.so.3+0x12759)
c++: error: unable to execute command: Abort trap (core dumped)
c++: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 9.0.1 (<a href="mailto:git@github.com">git@github.com</a>:llvm/llvm-project.git
c1a0a213378a458fbea1a5c77b315c7dce08fd05) (based on LLVM 9.0.1)</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>