<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 --- - Unsupported Modifier error : UNREACHABLE executed at ..../lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp:78!"
href="http://llvm.org/bugs/show_bug.cgi?id=21461">21461</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Unsupported Modifier error : UNREACHABLE executed at ..../lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp:78!
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.2
</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>llvm@web.de
</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>The following call of clang breaks with an error message - it should compile a
test code with a Hello Word C code for a powerpc target:
clang -integrated-as -g -fmemsafety -mrelocation-model static -target powerpc
tc.c -L/home/uid04950/WORK/LLVM_INSTALL/lib
-I/home/uid04950/WORK/LLVM_INSTALL/include
Target: powerpc
Thread model: posix
"/home/uid04950/WORK/LLVM_INSTALL/bin/clang" -cc1 -triple powerpc -emit-obj
-mrelax-all -disable-free -main-file-name tc.c -mrelocation-model static
-mdisable-fp-elim -fmath-errno -mconstructor-aliases -target-cpu ppc
-target-linker-version 2.24.51.20140703 -momit-leaf-frame-pointer -v -g
-resource-dir /home/uid04950/WORK/LLVM_INSTALL/bin/../lib/clang/3.2 -I
/home/uid04950/WORK/LLVM_INSTALL/include -fmodule-cache-path
/var/tmp/clang-module-cache -fdebug-compilation-dir
/home/uid04950/WORK/LLVM_INSTALL -ferror-limit 19 -fmessage-length 271
-fmemsafety -mstackrealign -fno-signed-char -fobjc-runtime=gcc
-fdiagnostics-show-option -fcolor-diagnostics -o /tmp/tc-DJ01MW.o -x c tc.c
clang -cc1 version 3.2 based upon LLVM 3.2svn default target
powerpc-unknown-elf
ignoring nonexistent directory "/usr/local/include"
#include "..." search starts here:
#include <...> search starts here:
/home/uid04950/WORK/LLVM_INSTALL/include
/home/uid04950/WORK/LLVM_INSTALL/bin/../lib/clang/3.2/include
/usr/include
End of search list.
Unsupported Modifier
UNREACHABLE executed at
/home/uid04950/WORK/LLVM_SRC/lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp:78!
Stack dump:
0. Program arguments: /home/uid04950/WORK/LLVM_INSTALL/bin/clang -cc1
-triple powerpc -emit-obj -mrelax-all -disable-free -main-file-name tc.c
-mrelocation-model static -mdisable-fp-elim -fmath-errno -mconstructor-aliases
-target-cpu ppc -target-linker-version 2.24.51.20140703
-momit-leaf-frame-pointer -v -g -resource-dir
/home/uid04950/WORK/LLVM_INSTALL/bin/../lib/clang/3.2 -I
/home/uid04950/WORK/LLVM_INSTALL/include -fmodule-cache-path
/var/tmp/clang-module-cache -fdebug-compilation-dir
/home/uid04950/WORK/LLVM_INSTALL -ferror-limit 19 -fmessage-length 271
-fmemsafety -mstackrealign -fno-signed-char -fobjc-runtime=gcc
-fdiagnostics-show-option -fcolor-diagnostics -o /tmp/tc-DJ01MW.o -x c tc.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'tc.c'.
clang: error: unable to execute command: Aborted
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.2 (:
<a href="http://llvm.org/svn/llvm-project/safecode/branches/release_32/tools/clang">http://llvm.org/svn/llvm-project/safecode/branches/release_32/tools/clang</a>)
Target: powerpc
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
clang: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/tc-Fl8CKf.c
clang: note: diagnostic msg: /tmp/tc-Fl8CKf.sh
clang: note: diagnostic msg:
********************
/tmp/tc-Fl8CKf.sh:
/home/uid04950/WORK/LLVM_INSTALL/bin/clang -cc1 -triple powerpc -emit-obj
-mrelax-all -disable-free -main-file-name tc.c -mrelocation-model static
-mdisable-fp-elim -fmath-errno -mconstructor-aliases -target-cpu ppc
-target-linker-version 2.24.51.20140703 -momit-leaf-frame-pointer -v -g
-ferror-limit 19 -fmessage-length 271 -fmemsafety -mstackrealign
-fno-signed-char -fobjc-runtime=gcc -fdiagnostics-show-option
-fcolor-diagnostics -x c tc-Fl8CKf.c</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>