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: Jonathan Perkin <sketch%netbsd.org@localhost>
To: NAKAJI Hiroyuki <nakaji%jp.freebsd.org@localhost>
Cc: gnats-bugs%netbsd.org@localhost, solaris-pkg-people%netbsd.org@localhost,
        gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/31985 ([lang/perl5] cannot build 64-bit binaries on
 Solaris 10 (amd64) with Sun Studio 10)
Date: Fri, 20 Nov 2009 14:26:06 +0000

 * On 2009-11-20 at 14:08 GMT, NAKAJI Hiroyuki wrote:
 
 > I confirmed "ABI=64" is enough at least on SunOS/amd64 box.
 > Sorry for noise.
 > 
 > But I wonder why I see too many
 > 
 >   cc: Warning: illegal option -m64
 > 
 > when "cd pkgsrc/lang/perl5; bmake all".
 
 -m64 was added in Sun Studio 12, for previous releases (although it's
 highly recommended you upgrade) you need to use -xarch=amd64 or similar.
 
 mk/compiler/sunpro.mk should detect the Sun Studio version and set the
 appropriate flags - if you are getting these warnings when only using
 ABI=64 (and after a make clean) then there could be a bug, in which case
 please send us the output of 'cc -V' on your machine.
 
 -- 
 Jonathan Perkin                                     The NetBSD Project
 http://www.perkin.org.uk/                       http://www.netbsd.org/
 


Home | Main Index | Thread Index | Old Index