#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 |
-----------------------+----------------------------------------------------
Comment(by doughera):
I don't have an amd64 system to test this on, but one user told me that
{{{uname -p}}} outputs i386 on that platform as well. Perhaps parrot's
Configure.pl should use the {{{isainfo}}} command instead.
Part of the problem is that it's not at all clear why Configure.pl even
cares about this information anyway. Solaris actually supports a rich
array of possibilities for running 32-bit and/or 64-bit applications on
the amd64 processor. I don't know what {{{uname -p}}} or {{{isainfo -k}}}
output under all those circumstances, or how the various possible outputs
map onto the possible ways Configure.pl could use or abuse the
information.
Meanwhile, the current code is definitely wrong. Using either {{{uname
-p}}} or {{{isainfo -k}}} would be an improvement. Absent any
understanding of what the information is going to be used for, the patch
above (which uses {{{uname -p}}}) is probably a good step forward.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/423#comment:2>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets