AMD64 and PIC

Carson Gaspar carson at taltos.org
Mon Apr 13 12:19:48 EDT 2009


Bron Gondwana wrote:
> http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3
> 
> (just because they seem to have documented it well)
> 
> I ran in to this with libcyrus.a when I put Ubuntu Jaunty Beta amd64 on
> my laptop today.  Passing CFLAGS with -fPIC to configure does the trick,
> but it would be nice if our configure could handle it.

Shared objects must be compiled PIC on almost all platforms. This has 
nothing to do specifically with AMD64. If the current code does not 
behave properly, it needs to be fixed on all platforms.

-- 
Carson


More information about the Cyrus-devel mailing list