[LLVMbugs] [Bug 13073] New: Trunk clang not working on arm
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Jun 10 12:17:00 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=13073
Bug #: 13073
Summary: Trunk clang not working on arm
Product: clang
Version: trunk
Platform: Other
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: scoopr at iki.fi
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
With trunk llvm and clang from few days ago,
the resulting clang doesn't seem to even compile hello world on armv6 linux,
debian squeeze.
This is a raspberry pi, with slightly slow SD card, so a full llvm+clang
rebuild took a about 24hours, so no quick testing..
The resulting error message from hello world compilation:
clang version 3.2 (http://llvm.org/git/clang.git
374a00bcc6e26b4fc3cd1d378a5d056c4c7d618e) (http://llvm.org/git/llvm.git
69938a85bdbeef1c5b60aa778e361586bec36fb7)
Target: armv6l-unknown-linux-gnueabi
Thread model: posix
"/opt/llvm/bin/clang" -cc1 -triple armv4t-unknown-linux-gnueabi -S
-disable-free -main-file-name hello.c -mrelocation-model static
-mdisable-fp-elim -fmath-errno -mconstructor-aliases -target-abi aapcs-linux
-target-cpu arm7tdmi -mfloat-abi soft -target-feature +soft-float-abi
-target-linker-version 2.20.1 -momit-leaf-frame-pointer -v -resource-dir
/opt/llvm/bin/../lib/clang/3.2 -fmodule-cache-path /var/tmp/clang-module-cache
-internal-isystem /usr/local/include -internal-isystem
/opt/llvm/bin/../lib/clang/3.2/include -internal-externc-isystem /include
-internal-externc-isystem /usr/include -fno-dwarf-directory-asm
-fdebug-compilation-dir /home/scoopr/src -ferror-limit 19 -fmessage-length 0
-mstackrealign -fno-signed-char -fgnu-runtime -fobjc-runtime-has-arc
-fobjc-runtime-has-weak -fobjc-fragile-abi -fdiagnostics-show-option -o
/tmp/hello-1wYxTD.s -x c hello.c
clang -cc1 version 3.2 based upon LLVM 3.2svn default target
armv6l-unknown-linux-gnueabi
ignoring nonexistent directory "/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/opt/llvm/bin/../lib/clang/3.2/include
/usr/include
End of search list.
Stack dump:
0. Program arguments: /opt/llvm/bin/clang -cc1 -triple
armv4t-unknown-linux-gnueabi -S -disable-free -main-file-name hello.c
-mrelocation-model static -mdisable-fp-elim -fmath-errno -mconstructor-aliases
-target-abi aapcs-linux -target-cpu arm7tdmi -mfloat-abi soft -target-feature
+soft-float-abi -target-linker-version 2.20.1 -momit-leaf-frame-pointer -v
-resource-dir /opt/llvm/bin/../lib/clang/3.2 -fmodule-cache-path
/var/tmp/clang-module-cache -internal-isystem /usr/local/include
-internal-isystem /opt/llvm/bin/../lib/clang/3.2/include
-internal-externc-isystem /include -internal-externc-isystem /usr/include
-fno-dwarf-directory-asm -fdebug-compilation-dir /home/scoopr/src -ferror-limit
19 -fmessage-length 0 -mstackrealign -fno-signed-char -fgnu-runtime
-fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-fragile-abi
-fdiagnostics-show-option -o /tmp/hello-1wYxTD.s -x c hello.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'hello.c'.
4. Running pass 'ARM Instruction Selection' on function '@main'
clang: error: unable to execute command: Segmentation fault
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang: note: diagnostic msg: Please submit a bug report to
http://llvm.org/bugs/ and include command line arguments and all diagnostic
information.
clang version 3.2 (http://llvm.org/git/clang.git
374a00bcc6e26b4fc3cd1d378a5d056c4c7d618e) (http://llvm.org/git/llvm.git
69938a85bdbeef1c5b60aa778e361586bec36fb7)
Target: armv6l-unknown-linux-gnueabi
Thread model: posix
clang: note: diagnostic msg: Preprocessed source(s) and associated run
script(s) are located at:
clang: note: diagnostic msg: /tmp/hello-bdOiUN.i
clang: note: diagnostic msg: /tmp/hello-bdOiUN.sh
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list