[llvm-bugs] [Bug 46026] New: clang-10 crashes on the "elemental" project

via llvm-bugs llvm-bugs at lists.llvm.org
Thu May 21 15:12:58 PDT 2020


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

            Bug ID: 46026
           Summary: clang-10 crashes on the "elemental" project
           Product: clang
           Version: 10.0
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: yuri at tsoft.com
                CC: blitzrakete at gmail.com, dgregor at apple.com,
                    erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

clang-10 fails while compiling the "elemental" project
https://github.com/elemental/Elemental 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:
http://beefy17.nyi.freebsd.org/data/head-i386-default/p535505_s361118/logs/elemental-0.87.7_1.log
(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 (git at github.com: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
https://bugs.freebsd.org/submit/ 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:

-- 
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/20200521/187f6eaa/attachment.html>


More information about the llvm-bugs mailing list