[OpenAFS] 1.4.3 build failure under Solaris 9

Derrick J Brashear shadow@dementia.org
Mon, 9 Apr 2007 13:31:12 -0400 (EDT)


On Mon, 9 Apr 2007, Russ Allbery wrote:

> Derrick J Brashear <shadow@dementia.org> writes:
>> On Mon, 9 Apr 2007, Jeff Blaine wrote:
>
>>> % ./configure --enable-transarc-paths
>>> --with-krb5-conf=/usr/rcf-krb5/bin/krb5-config
>>> ...
>>> % make dest
>>>
>>> ...
>>>        /opt/SUNWspro/bin/cc -G -dy -Wl,-M./mapfile -Bsymbolic -z text -o
>
>> which version of sunpro c?
>
>>> ld: fatal: relocation error: file rx_event.o: section .rela.text:
>>> invalid relocation type: 0x52
>
>> a quick google search suggests this may be something you need to apply
>> development toolchain patches to the OS for, e.g.
>> http://sunsolve.central.sun.com/cgi/pdownload.pl?target=112963-29&method=h
>> or whatever's current
>
> I think there's something more fundamental going on than that, since this
> is also failing on Linux HPPA.  See:
>
>    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=416398
>
> I hadn't had a chance to investigate that bug further yet.

It presumably means one of the objects being linked in is not being 
compiled PIC, forcing relocations. The question is, which one(s)?