Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Oct 2005 18:51:04 +1000
From:      Peter Jeremy <PeterJeremy@optushome.com.au>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        cvs-ports@freebsd.org, cvs-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: cvs commit: ports/audio/nas Makefile distinfo ports/audio/nas/files patch-ae patch-ag patch-useXt patch-warnings
Message-ID:  <20051011085104.GD2482@cirb503493.alcatel.com.au>
In-Reply-To: <20051010231511.GA45883@xor.obsecurity.org>
References:  <200510101949.j9AJnZd6046892@repoman.freebsd.org> <20051010231511.GA45883@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2005-Oct-10 19:15:12 -0400, Kris Kennaway wrote:
>On Mon, Oct 10, 2005 at 07:49:34PM +0000, Mikhail Teterin wrote:
>>           2) Use -fPIC for shared objects only on sparc64 -- on other
>>              platforms use -fpic.
>
>Shouldn't this be the case on amd64 and ia64 too?

-fPIC vs -fpic is related to the size of the offset field available in
base+offset memory reference instructions.  SPARC is limited to 8K (ie
1024 entries in the GOT) using -fpic.

See 'info gcc inv code' for more details.

-- 
Peter Jeremy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051011085104.GD2482>