Dimitry Andric <[EMAIL PROTECTED]> wrote:

> marius wrote:
> > I'm trying to build a port dependant on bzip2, and the build fails.
> > I'm running the October 10 snapshot with -current source tree. Any
> > suggestions?
> ...
> > cc -shared -fpic -o libbz2.so.10.3 blocksort.so huffman.so crctable.so
> > randtable.so compress.so decompress.so bzlib.so
> > compress.so(.text+0x5c20): In function `sendMTFValues':
> > : relocation truncated to fit: GPREL16 .sdata
> ...
> 
> Probably introduced by gcc switching to 3.x on alpha?  You might want to
> try compiling with -fPIC instead of -fpic.

As things are now, this is the correct way of fixing ports on alpha
suffering from relocation problems.

Reply via email to