Subject: lang/perl58 hits Solaris configuration problem
To: None <email@example.com>
From: Idar Tollefsen <firstname.lastname@example.org>
Date: 05/26/2005 17:54:24
uname -a: SunOS lancaster 5.10 s10_72 sun4u sparc SUNW,Ultra-30
Trying to build lang/perl58 on Solaris 10, I discovered that
'getconf -a' yields "-xarch=generic64" for all kinds of flags.
Perl, during configuration, tries to pass that architecture to
the assembler, but my version of 'as' (Sun Compiler Common 9.0
Solaris_10_50 2003/12/22) doesn't accept generic64 for SPARC.
For SPARC, it understands v7, v8, v8a, v8plus, v8plusa, v8plusb,
v9, v9a and v9b. For x86, it understands generic64 and amd64.
I'm not sure where the problem lies. For instance, should 'as'
accept generic64 or, since this is a v9a platform, should
'getconf -a' yield "-xarch=v9a" instead? If so, how do I
change it? README.solaris for Perl tells me that 'getconf -a'
should have given me "-xarch=v9".