[OpenAFS] 1.4.3 build failure under Solaris 9

Douglas E. Engert deengert@anl.gov
Mon, 09 Apr 2007 13:08:58 -0500


Jeff Blaine wrote:
> 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

This almost sounds like the compiler is producing something the linker
can not handle. You said the compiler was SunStudio11. But what version
is ld?

>>
>>> 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.
> 
> FWIW, building on a box with 112963-25 (pretty old) worked.  Building
> on a box with 112963-10 (ancient) did not.
> 

For what it is worth, the OpenAFS 1.4.4 sun4x_59 distribution was built
on a Sun-Blade-100  using the
cc: Sun WorkShop 6 update 2 C 5.3 patch 111679-09 2002/11/12
and Solaris Link Editors: 5.9-1.397


> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
> 
> 

-- 

  Douglas E. Engert  <DEEngert@anl.gov>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444