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)



The following reply was made to PR pkg/31985; it has been noted by GNATS.

From: Jens Rehsack <rehsack%googlemail.com@localhost>
To: Filip Hajny <filip%joyent.com@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, OBATA Akio <obache%netbsd.org@localhost>, 
 jlam%NetBSD.org@localhost, pkgsrc-bugs%netbsd.org@localhost, 
nakaji%jp.freebsd.org@localhost
Subject: Re: pkg/31985 ([lang/perl5] cannot build 64-bit binaries on Solaris
 10 (amd64) with Sun Studio 10)
Date: Sun, 22 Nov 2009 16:33:10 +0000

 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.
 
 Jens
 


Home | Main Index | Thread Index | Old Index