<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 - MIPS/C++ excessive compile time"
href="https://bugs.llvm.org/show_bug.cgi?id=43263">43263</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>MIPS/C++ excessive compile time
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</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>kevans@FreeBSD.org
</td>
</tr>
<tr>
<th>CC</th>
<td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=22480" name="attach_22480" title="Reproducer (amd64 target, mips target) and sample backtrace">attachment 22480</a> <a href="attachment.cgi?id=22480&action=edit" title="Reproducer (amd64 target, mips target) and sample backtrace">[details]</a></span>
Reproducer (amd64 target, mips target) and sample backtrace
Attaching a reproducer. Building on FreeBSD-CURRENT, amd64 host. Tried with
both:
$ c++ -v
FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM
8.0.1)
Target: x86_64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin
$ clang++90 -v
clang version 9.0.0 (tags/RELEASE_900/rc2)
Target: x86_64-portbld-freebsd13.0
Thread model: posix
InstalledDir: /usr/local/llvm90/bin
Attached tar contains two repros:
- -triple x86_64-unknown-freebsd13.0
- -triple mips64-unknown-freebsd13.0
The build for the mips repro takes about 1500x longer than the build for the
amd64 repro:
$ time sh utils-mips.sh
sh utils-mips.sh 6480.70s user 9.90s system 99% cpu 1:48:59.79 total
$ time sh utils-amd64.sh
sh utils-amd64.sh 4.50s user 0.18s system 99% cpu 4.682 total
As far as I can be patient, every backtrace (one of which is also included in
the attached tar) I produce seems to be roughly the same up to visitCallSite.
The originating file[0] is from our fusefs tests and uses googletest (headers
at [1]).
[0]
<a href="https://svnweb.freebsd.org/base/head/tests/sys/fs/fusefs/utils.cc?view=markup">https://svnweb.freebsd.org/base/head/tests/sys/fs/fusefs/utils.cc?view=markup</a>
[1]
<a href="https://svnweb.freebsd.org/base/head/contrib/googletest/googletest/include/gtest/">https://svnweb.freebsd.org/base/head/contrib/googletest/googletest/include/gtest/</a></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>