[OpenAFS-devel] pam_afs.so in 64 bit version for sparcv9?

Sebastian Hagedorn Hagedorn@uni-koeln.de
Mon, 23 Jul 2001 13:30:46 +0200


--==========150003011==========
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

--On Sunday, July 22, 2001 21:57:16 -0500 Charles Clancy=20
<mgrtcc@cs.rose-hulman.edu> wrote:

> On Sun, 22 Jul 2001, Derrick J Brashear wrote:
>
>> On Sun, 22 Jul 2001, Derrick J Brashear wrote:
>>
>> > On Sun, 22 Jul 2001, Charles Clancy wrote:
>> > > Second, I tried adding '-xarch=3Dv9' to the XCFLAGS line of
>> > > src/config/Makefile.sun4x_58, to compile EVERYTHING as 64-bit.  That
>> > > didn't work either:
>> >
>> > Right, you only want to do that for libraries, not for binaries.
>>
>> Further, it may be possible to use just libafsauth and libafsrpc to link
>> the pam module, and if so compiling v9 versions of just these libraries
>> should be easy to add to the build procedure.
>
> Success.  Anyone interested, check out:
> /afs/cs.rose-hulman.edu/openafs/source/openafs-1.1.1/sun4x_58/dest/lib/pa
> m_afs.*

Thanks for experimenting with this. I copied your binary in order to make=20
sure that it loads. It does, but it doesn't work properly. Using truss I=20
get the following error message:

7146:   write(2, 0xFFFFFFFF7D901348, 155)               =3D 155
7146:      l d . s o . 1 :   / u s r / l i b / s e n d m a i l :   f a t a
7146:      l :   r e l o c a t i o n   e r r o r :   f i l e   / u s r / l
7146:      i b / s e c u r i t y / s p a r c v 9 / p a m _ a f s . s o . 1
7146:      :   s y m b o l   k a _ V e r i f y U s e r P a s s w o r d :
7146:      r e f e r e n c e d   s y m b o l   n o t   f o u n d

I guess the reason for this is simply that we are still using OpenAFS 1.0.4 =

while your PAM module was compiled with 1.1.1.

So I'd like to do the compilation myself. How exactly did you do it?

Thanks and greetings, Sebastian Hagedorn
--
Sebastian Hagedorn M.A. - RZKR, Zimmer 18
Zentrum f=FCr angewandte Informatik - Unversit=E4tsweiter Service RRZK
Universit=E4t zu K=F6ln / Cologne University - Tel. +49-221-478-5587
--==========150003011==========
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (SunOS)
Comment: For info see http://www.gnupg.org

iD8DBQE7XArnGXsGmU0QW0URApAKAKCm/0UdCy6cRKwH7PmbyJKsYy7uVgCfalAn
ICFzl5izHzOIkvONEl3xt7U=
=IOou
-----END PGP SIGNATURE-----

--==========150003011==========--