[LLVMbugs] [Bug 13053] New: clang fails to compile hello world on OpenBSD/mips64el
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jun 7 16:34:32 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=13053
Bug #: 13053
Summary: clang fails to compile hello world on OpenBSD/mips64el
Product: clang
Version: trunk
Platform: Other
OS/Version: OpenBSD
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: bcallah at devio.us
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 8699
--> http://llvm.org/bugs/attachment.cgi?id=8699
ii and sh files
Hi. I have clang and llvm compiled on a OpenBSD/Loongson machine (mips64el).
Unfortunately, clang cannot compile even a simple hello world. All of the llvm
and clang executable --version flags give proper output except Host CPU:
(unknown)
Output of clang -v below and ii and sh files attached.
Thanks.
clang version 3.2 (trunk)
Target: mips64el-unknown-openbsd5.1
Thread model: posix
"/usr/home/brian/bin/bin/clang" -cc1 -triple mips64el-unknown-openbsd5.1 -S
-disable-free -disable-llvm-verifier -main-file-name helloworld.cpp
-mrelocation-model static -mdisable-fp-elim -mconstructor-aliases -target-cpu
mips64 -target-abi n64 -mfloat-abi hard -target-linker-version 2.15
-momit-leaf-frame-pointer -v -resource-dir
/usr/home/brian/bin/bin/../lib/clang/3.2 -fmodule-cache-path
/var/tmp/clang-module-cache -fdeprecated-macro -fno-dwarf-directory-asm
-ferror-limit 19 -fmessage-length 0 -mstackrealign -fgnu-runtime
-fobjc-runtime-has-arc -fobjc-runtime-has-weak -fcxx-exceptions -fexceptions
-fdiagnostics-show-option -o /tmp/helloworld-5liDOI.s -x c++ helloworld.cpp
clang -cc1 version 3.2 based upon LLVM 3.2svn default target
mips64el-unknown-openbsd5.1
#include "..." search starts here:
#include <...> search starts here:
/usr/include/g++
/usr/include/g++/mips64el-unknown-openbsd5.1
/usr/include/g++/backward
/usr/local/include
/usr/home/brian/bin/bin/../lib/clang/3.2/include
/usr/include
End of search list.
Stack dump:
0. Program arguments: /usr/home/brian/bin/bin/clang -cc1 -triple
mips64el-unknown-openbsd5.1 -S -disable-free -disable-llvm-verifier
-main-file-name helloworld.cpp -mrelocation-model static -mdisable-fp-elim
-mconstructor-aliases -target-cpu mips64 -target-abi n64 -mfloat-abi hard
-target-linker-version 2.15 -momit-leaf-frame-pointer -v -resource-dir
/usr/home/brian/bin/bin/../lib/clang/3.2 -fmodule-cache-path
/var/tmp/clang-module-cache -fdeprecated-macro -fno-dwarf-directory-asm
-ferror-limit 19 -fmessage-length 0 -mstackrealign -fgnu-runtime
-fobjc-runtime-has-arc -fobjc-runtime-has-weak -fcxx-exceptions -fexceptions
-fdiagnostics-show-option -o /tmp/helloworld-5liDOI.s -x c++ helloworld.cpp
1. /usr/include/locale.h:83:36: current parser token ';'
clang: error: unable to execute command: Bus error (core dumped)
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 (trunk)
Target: mips64el-unknown-openbsd5.1
Thread model: posix
clang: note: diagnostic msg: Preprocessed source(s) and associated run
script(s) are located at:
clang: note: diagnostic msg: /tmp/helloworld-fUZeYG.ii
clang: note: diagnostic msg: /tmp/helloworld-fUZeYG.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