Subject: | Build problem on Solaris: small sparc detection related issue in Math::PariBuild |
When building Math::Pari I found it build just fine on Linux, but on
Solaris the assembler bombed out on the sparcv7 assembler it was fed.
I've taken a look at the logic that decides what sparc is being used
and there seems to be a small issue with the code on line 726 of
Math::PariBuild, which I think should read:
} elsif ($type =~ /^sun4[ce]/) {
because for me $type is 'sun4u' and the line above evaluates to true
with the original ? behind the character class.
With the line changed as above the configure, build and test steps works
fine, choosing sparcv9 for the assembly code. Just wanted to let you know
in case somebody else has the same issue.