[llvm-bugs] [Bug 48177] New: clang returns 11 silently without any error

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Nov 13 14:01:39 PST 2020


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

            Bug ID: 48177
           Summary: clang returns 11 silently without any error
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++17
          Assignee: unassignedclangbugs at nondot.org
          Reporter: xw111luoye at gmail.com
                CC: blitzrakete at gmail.com, erik.pilkington at gmail.com,
                    llvm-bugs at lists.llvm.org, richard-llvm at metafoo.co.uk

Created attachment 24160
  --> https://bugs.llvm.org/attachment.cgi?id=24160&action=edit
Error output

It seems that the frontend hits Segmentation fault.

Reproducer, it is full app but if you pass the cmake step, compiling hits error
immediately. Needs MPI wrapper to compile
```
git clone -b update-multi --depth 1 https://github.com/ye-luo/qmcpack.git
cd qmcpack/build
cmake -DCMAKE_C_COMPILER=mpicc -DCMAKE_CXX_COMPILER=mpicxx
-DQMC_CXX_STANDARD=17 -DBUILD_AFQMC=ON ..
cd src/AFQMC
make VERBOSE=1 AFQMCFactory.o
```
If one edits the compile line to -std=c++14, clang works.

-- 
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/20201113/157b4c1b/attachment.html>


More information about the llvm-bugs mailing list