[LLVMbugs] [Bug 21461] New: Unsupported Modifier error : UNREACHABLE executed at ..../lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp:78!
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Nov 3 01:17:05 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=21461
Bug ID: 21461
Summary: Unsupported Modifier error : UNREACHABLE executed at
..../lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWrite
r.cpp:78!
Product: clang
Version: 3.2
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: llvm at web.de
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
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 (:
http://llvm.org/svn/llvm-project/safecode/branches/release_32/tools/clang)
Target: powerpc
Thread model: posix
clang: 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: 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
--
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/20141103/b855ae32/attachment.html>
More information about the llvm-bugs
mailing list