<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 - clang-10 crashes on the "elemental" project"
   href="https://bugs.llvm.org/show_bug.cgi?id=46026">46026</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang-10 crashes on the "elemental" project
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>10.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-10 fails while compiling the "elemental" project
<a href="https://github.com/elemental/Elemental">https://github.com/elemental/Elemental</a> version 0.87.7 on the i386 architecture.

Sorry, I can't obtain the C++ file from the crash, but you should be able to
easily reproduce it on i386.

FreeBSD port build log:
<a href="http://beefy17.nyi.freebsd.org/data/head-i386-default/p535505_s361118/logs/elemental-0.87.7_1.log">http://beefy17.nyi.freebsd.org/data/head-i386-default/p535505_s361118/logs/elemental-0.87.7_1.log</a>
(IPv6)

--- CMakeFiles/El.dir/src/blas_like/level1/Instantiate.cpp.o ---
LLVM ERROR: out of memory
Stack dump:
0.      Program arguments: /usr/bin/c++ -DEl_EXPORTS
-I/wrkdirs/usr/ports/math/elemental/work/Elemental-0.87.7/include
-I/wrkdirs/usr/ports/math/elemental/work/.build/include
-I/usr/local/mpi/openmpi/include -I/usr/local/include
-I/wrkdirs/usr/ports/math/elemental/work/Elemental-0.87.7/external/suite_sparse/include
-O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O3
-Wno-tautological-compare -std=c++11 -fexceptions -pthread -fPIC -o
CMakeFiles/El.dir/src/blas_like/level1/Instantiate.cpp.o -c
/wrkdirs/usr/ports/math/elemental/work/Elemental-0.87.7/src/blas_like/level1/Instantiate.cpp 
1.      <eof> parser at end of file
2.      Per-module optimization passes
3.      Running pass 'Interprocedural Sparse Conditional Constant Propagation'
on module
'/wrkdirs/usr/ports/math/elemental/work/Elemental-0.87.7/src/blas_like/level1/Instantiate.cpp'.
#0 0x03d72ce4 (/usr/bin/c+++0x3d72ce4)
#1 0x03d730ee (/usr/bin/c+++0x3d730ee)
#2 0x03d70c9e (/usr/bin/c+++0x3d70c9e)
#3 0x03d72332 (/usr/bin/c+++0x3d72332)
#4 0x03d74dd4 (/usr/bin/c+++0x3d74dd4)
#5 0x03d74f76 (/usr/bin/c+++0x3d74f76)
#6 0x24f51e09 (/lib/libthr.so.3+0x12e09)
c++: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 10.0.0 (<a href="mailto:git@github.com">git@github.com</a>:llvm/llvm-project.git
llvmorg-10.0.0-0-gd32170dbd5b)
Target: i386-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin
c++: note: diagnostic msg: PLEASE submit a bug report to
<a href="https://bugs.freebsd.org/submit/">https://bugs.freebsd.org/submit/</a> and include the crash backtrace, preprocessed
source, and associated run script.
c++: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
c++: note: diagnostic msg: /tmp/Instantiate-18875a.cpp
c++: note: diagnostic msg: /tmp/Instantiate-18875a.sh
c++: note: diagnostic msg:</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>