#423: config/auto/arch.pm can get wrong architecture on solaris/x86
-----------------------+----------------------------------------------------
Reporter: doughera | Owner:
Type: bug | Status: new
Priority: minor | Milestone:
Component: configure | Version:
Severity: low | Keywords:
Lang: | Patch:
Platform: solaris |
-----------------------+----------------------------------------------------
As of r36852, config/auto/arch.pm assumes that, on Solaris/x86, if perl
5's $Config{archname} contains the string -64int, then the user must be
running on an amd64-type processor.
However, perl 5's archname will contain that string on i386 if perl5's
ivtype='long long'. OpenSolaris ships with a perl configured in exactly
that way. Consequently, arch.pm incorrectly identifies an i386 machine as
amd64.
One reliable way to get the current processor on Solaris is to use the
uname -p command. However, that can lead to a different problem: On an
i386 machine, uname -p outputs 'i386'. Parrot's configure then ends up
setting jitcapable=1, though that configuration (OpenSolaris/i386/JIT)
doesn't really work well.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/423>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets