cvs commit: ports/audio/nas Makefile distinfo ports/audio/nas/files patch-ae patch-ag patch-useXt patch-warnings

Peter Jeremy PeterJeremy at optushome.com.au
Tue Oct 11 01:51:10 PDT 2005


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


More information about the cvs-all mailing list