Subject: Re: sunpro and -xarch=v9 on Solaris 10
To: None <firstname.lastname@example.org>
From: grant beattie <grant@NetBSD.org>
Date: 12/05/2005 10:31:52
On Sun, Dec 04, 2005 at 11:29:02PM +0000, email@example.com wrote:
> > what version of Sun Studio are you using that requires this change?
> > I'd rather the options be backward and forward compatible with as many
> > versions as possible.
> I've never seen it in any documentation I've read so far, but then I didn't
> read the entire pkgsrc guide line by line. I'm using Sun Studio 11, but that
> shouldn't matter, the fact is there needs to be a sure way to tell the compiler
> to build 64-bit binaries (which I think ABI=64 does), otherwise some bits are
> built as 64-bit objects and others as 32-bit objects, and then you get wrong
> ELF errors, etc. Setting CFLAGS += -xarch=v9 does not guarantee that, coz I
> think some packages ignore CFLAGS variable, or build/link objects in some weird
indeed, and that is the purpose of the ABI variable.