[llvm-bugs] [Bug 30684] New: wreport causes clang 3.8-4.0: error: Segmentation fault
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Oct 12 22:31:17 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=30684
Bug ID: 30684
Summary: wreport causes clang 3.8-4.0: error: Segmentation
fault
Product: new-bugs
Version: 3.8
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: lukebenes at hotmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 17437
--> https://llvm.org/bugs/attachment.cgi?id=17437&action=edit
Reproducer from /tmp
Steps to reproduce:
1. git clone https://github.com/ARPA-SIMC/wreport.git
2. autoreconf -if
3. ./configure
4. make
Expected result:
gcc builds without any problems
Actual Result:
1. tests.cc:279:39: current parser token ';'
2. tests.cc:33:1: parsing namespace 'wreport'
3. tests.cc:34:1: parsing namespace 'wreport::tests'
4. ../wreport/tests.h:77:59: instantiating function definition
'wreport::tests::TestCodec<wreport::BufrBulletin>::(anonymous
class)::operator()'
5. ../wreport/tests.h:77:59: LLVM IR generation of declaration
'wreport::tests::TestCodec<wreport::BufrBulletin>::(anonymous
class)::operator()'
6. ../wreport/tests.h:77:59: Generating code for declaration
'wreport::tests::TestCodec<wreport::BufrBulletin>::(anonymous
class)::operator()'
clang-4.0: error: unable to execute command: Segmentation fault (core dumped)
clang-4.0: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 4.0.0 (trunk 283963)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/local/bin
clang-4.0: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang-4.0: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-4.0: note: diagnostic msg: /tmp/tests-489137.cpp
clang-4.0: note: diagnostic msg: /tmp/tests-489137.sh
This was with clang version 4.0.0 (trunk 283963)
The Debian Clang Rebuild similar results with Clang 3.8
http://clang.debian.net/logs/2016-08-30/wreport_3.6-1_unstable_clang.log
--
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/20161013/e1d72755/attachment.html>
More information about the llvm-bugs
mailing list