#1075: Add Configure probes for LLVM
-------------------------+--------------------------------------------------
Reporter: whiteknight | Owner: jkeenan
Type: todo | Status: assigned
Priority: normal | Milestone: 2.0
Component: configure | Version: 1.6.0
Severity: medium | Keywords: jit configure
Lang: | Patch:
Platform: all |
-------------------------+--------------------------------------------------
Comment(by doughera):
Replying to [comment:2 jkeenan]:
> * That page from llvm.org indicates that the final part of the probe,
assembling the native assembly language file into a program, would be
invoked differently on Solaris from other OSes: `/opt/SUNWspro/bin/cc
-xarch=v9 hello.s -o hello.native`. This should be tested and
incorporated into the step somehow. (Paging Andy D!)
I don't know why they do that. It does appear to assume two things:
First, that the user *has* Sun's optional commercial compiler installed,
and second that the user wants to use 64bit mode (the -xarch=v9 flag).
That might or might not matter, depending on how everything else was
compiled. It may be that LLVM on SPARC only works in 64-bit mode. I have
no idea. (Also note that Solaris also runs on x86 and x86_64
architectures, where the -xarch=v9 flag would definitely be wrong.)
Taking a quick look at the LLVM page [http://llvm.org/Features.html], it
doesn't matter, since LLVM doesn't support JIT for SPARC anyway:
{{{
A Just-In-Time (JIT) code generation system, which currently supports X86,
X86-64, PowerPC and PowerPC-64.
}}}
Summary: I'd say just ignore that advice for now. It would introduce
complications that won't gain you anything. If the tests fail to detect
LLVM on SPARC as a result, that will be fine, since it wouldn't work for
JIT anyway.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1075#comment:4>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets