Closed Quuxplusone closed 7 years ago
Bugzilla Link | PR19366 |
Status | RESOLVED DUPLICATE of bug 24606 |
Importance | P normal |
Reported by | Frank Bergemann (FBergemann@web.de) |
Reported on | 2014-04-08 00:58:06 -0700 |
Last modified on | 2017-07-26 03:10:49 -0700 |
Version | 3.4 |
Hardware | Sun Solaris |
CC | fedor.v.sergeev@gmail.com, llvm-bugs@lists.llvm.org |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
after all it seems, that clang 3.4 is not supported for Solaris 10 sparcv9(?):
> clang -o test test.c
clang: warning: unknown platform, assuming -mfloat-abi=soft
Unsupported architecture
UNREACHABLE executed at /data/FBergemann/SRC2/llvm-
release_34/tools/clang/lib/Driver/Tools.cpp:5205!
Stack dump:
0. Program arguments: clang -o test test.c
1. Compilation construction
2. Building compilation jobs
3. Building compilation jobs
Abort
???
regards,
Frank
i don't understand why is stated here
http://clang.llvm.org/docs/UsersManual.html#cpu-architectures-features-and-limitations
"clang currently contains some support for other architectures (e.g. Sparc);
however, significant pieces of code generation are still missing, and they
haven’t undergone significant testing."
???
\Frank
Even worse in http://llvm.org/svn/llvm-project/cfe/trunk/lib/Driver/Tools.cpp
void solaris::Link::ConstructJob(Compilation &C, const JobAction &JA,
const InputInfo &Output,
const InputInfoList &Inputs,
const ArgList &Args,
const char *LinkingOutput) const {
// FIXME: Find a real GCC, don't hard-code versions here
std::string GCCLibPath = "/usr/gcc/4.5/lib/gcc/";
[...]
\Frank
Solaris support is much better now.
For the remaining gcc toolchain discovery issues see PR24606.
_This bug has been marked as a duplicate of bug 24606_