[LLVMbugs] [Bug 23415] New: Unexpected arch error
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue May 5 00:03:57 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=23415
Bug ID: 23415
Summary: Unexpected arch error
Product: clang
Version: 3.6
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: vishnusuganth at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
I am trying to build LLVM/Clang-3.6.0 on a Raspberry Pi 1 Development board.
I followed the instructions on the LLVM.org site to build LLVM/Clang from
source.
Here is my configure command:
./configure --prefix=/home/pi/llvm/build --build=armv6l-unknown-linux-gnueabihf
--host=armv6l-unknown-linux-gnueabihf --target=armv6l-unknown-linux-gnueabihf
--with-cpu=arm1176jzf-s --with-float=hard --with-abi=aapcs-vfp --with-fpu=vfp
--enable-targets=arm --enable-optimized --enable-assertions --enable-shared
The Build was successfull.
But when I tried to compile a simple helloworld.c program I am getting
following errors:
pi at raspberrypi ~ $ clang hello.c
Unexpected arch
UNREACHABLE executed at Tools.cpp:7410!
Stack dump:
0. Program arguments: clang hello.c
1. Compilation construction
2. Building compilation jobs
3. Building compilation jobs
Aborted
pi at raspberrypi ~ $ clang -c hello.c
error: unknown target triple 'armv6l-unknown-linux-gnueabihf', please use
-triple or -arch
--
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/20150505/c4d1efcc/attachment.html>
More information about the llvm-bugs
mailing list