<html>
<head>
<base href="http://llvm.org/bugs/" />
</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: error: clang frontend command failed due to signal 2 (use -v to see invocation)"
href="http://llvm.org/bugs/show_bug.cgi?id=20519">20519</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>clang: error: clang frontend command failed due to signal 2 (use -v to see invocation)
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Frontend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>bas@appelo.nl
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>pi@raspberrypi ~/src/dysnomia $ clang++ --version
Debian clang version 3.0-6.2 (tags/RELEASE_30/final) (based on LLVM 3.0)
Target: arm-unknown-linux-gnueabihf
Thread model: posix
fatal error: too many errors emitted, stopping now [-ferror-limit=]
Stack dump:
0. Program arguments: /usr/bin/clang -cc1 -triple
armv4t-unknown-linux-gnueabihf -S -disable-free -disable-llvm-verifier
-main-file-name Chat.cpp -mrelocation-model static -mdisable-fp-elim
-mconstructor-aliases -target-abi apcs-gnu -target-cpu arm1136jf-s -mfloat-abi
hard -target-linker-version 2.22 -momit-leaf-frame-pointer -g -coverage-file
/tmp/Chat-p8dWHc.s -resource-dir /usr/bin/../lib/clang/3.0 -I WebFramework/ -I
/usr/local/include -fmodule-cache-path /var/tmp/clang-module-cache
-internal-isystem /usr/include/c++/4.6 -internal-isystem
/usr/include/c++/4.6/arm-linux-gnueabihf -internal-isystem
/usr/include/c++/4.6/backward -internal-isystem /usr/local/include
-internal-isystem /usr/bin/../lib/clang/3.0/include -internal-externc-isystem
/usr/include/arm-linux-gnueabihf -internal-externc-isystem /usr/include -Wall
-std=c++11 -fdeprecated-macro -ferror-limit 19 -fmessage-length 165
-fno-signed-char -fgnu-runtime -fobjc-runtime-has-arc -fobjc-runtime-has-weak
-fobjc-fragile-abi -fcxx-exceptions -fexceptions -fdiagnostics-show-option
-fcolor-diagnostics -o /tmp/Chat-p8dWHc.s -x c++ Dysnomia/controller/Chat.cpp
1. WebFramework/WebFramework/controller/../session/Session.h:53:19: current
parser token '.'
2. WebFramework/WebFramework/controller/../session/Session.h:14:1: parsing
namespace 'framework'
3. WebFramework/WebFramework/controller/../session/Session.h:21:5: parsing
namespace 'session'
4. WebFramework/WebFramework/controller/../session/Session.h:24:9: parsing
struct/union/class body 'Session'
5. WebFramework/WebFramework/controller/../session/Session.h:49:13: parsing
function body 'loadModel'
6. WebFramework/WebFramework/controller/../session/Session.h:49:13: in
compound statement ('{}')
clang: error: unable to execute command: Segmentation fault
clang: error: clang frontend command failed due to signal 2 (use -v to see
invocation)
clang: note: diagnostic msg: Please submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include command line arguments and all diagnostic
information.
clang: note: diagnostic msg: Preprocessed source(s) are located at:
clang: note: diagnostic msg: /tmp/Chat-XH7Gmp.ii
make: *** [Dysnomia/controller/Chat.o] Error 254
Same code does not fail on Ubuntu and OSX</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>