pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/31985 ([lang/perl5] cannot build 64-bit binaries on Solaris 10 (amd64) with Sun Studio 10)

Filip Hajny wrote:
> On 20.11.2009, at 9:45, OBATA Akio wrote:
>> But it is unclear on i386 and sparc, so maybe, should not to
>> 64bitnone, but 64bitauto in "else" part. (at least, it seems that
>> recent bulk build on SunOS 5.10/i386 and SunOS 5.9/sparc have no problem)
> Confirming that lang/perl5 builds fine with ABI=64 and Sun Studio 12, on
> a clean just-boostrapped system.
> [root@pkgsrc-studio64 ~]# uname -a
> SunOS pkgsrc-studio64 5.11 snv_89 i86pc i386 i86pc
> [root@pkgsrc-studio64 ~]# file `which perl`
> /opt/local/bin/perl: ELF 64-bit LSB executable AMD64 Version 1 [SSE FXSR
> FPU], dynamically linked, not stripped
> [root@pkgsrc-studio64 ~]# perl -v
> This is perl, v5.10.0 built for i386-solaris-thread-multi-64
> ...
> [root@pkgsrc-studio64 ~]# cat /opt/local/etc/mk-compiler.conf
> # pkgsrc include file for compiler specific options
> # for Sun Studio 12
> ABI=                                    64
> PKGSRC_COMPILER=                        sunpro
> SUNWSPROBASE=                           /opt/SUNWspro

Sun Studio 12u1 don't install to /opt/SUNWspro but /opt/sunstudio12.1
Be sure to choose the right SUNWSPROBASE :)

I can confirm that ABI=64 is enough for perl on OpenSolaris/sparc64 to build
with '64bitall'. I'll take a look during the week on the perl I've built on
Solaris 10/sparc.


Home | Main Index | Thread Index | Old Index