Skip Menu |
 

Date: Thu, 10 Feb 2005 14:12:57 -0600 (CST)
From: Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
To: krb5-bugs@mit.edu
Subject: krb5_init_ets() and 1.4 ABI
Download (untitled) / with headers
text/plain 1.8KiB

All-

Jeffrey Altman asked me to forward this here.

As I emailed to krbdev earlier today, I upgraded from krb5 1.2.8 to
krb5 1.4. I ended up with a libkrb5.so.3.2 that advertises a SONAME of
libkrb5.so.3, the same as the library for krb5 1.2.8, but the version of
the library built from 1.4 does *NOT* have the krb5_init_ets() function,
whereas the version with krb5 1.2.8 did:

02:02 PM dogbert 1.2.8$strings libkrb5.so.3 | egrep 'BRAND'
KRB5_BRAND: krb5-1-2-8-final 1.2.8 20030408
02:02 PM dogbert 1.2.8$nm -B libkrb5.so.3 | egrep init_ets
0x0003ffbff39dd0 T krb5_init_ets


02:03 PM dogbert 1.2.8$strings /local/krb5/lib/libkrb5.so.3 | egrep 'BRAND'
KRB5_BRAND: krb5-1-4-final 1.4 20050127
02:03 PM dogbert 1.2.8$nm -B /local/krb5/lib/libkrb5.so.3 | egrep init_ets
0x0003ffbff47e00 T krb524_init_ets



These were both built on alphaev56-dec-osf5.1b, with the vendor tools.

The configure options for 1.2.8:

./configure --prefix=/local/krb5 --exec-prefix=/local/krb5 --localstatedir=/var/local --sysconfdir=/etc/local --enable-shared --without-tcl --without-krb4 --with-cc=cc --with-ccopts='-std -O3 -g3 -tune host -arch host -Olimit 3000 -portable -readonly_strings -msg_disable inlinestoclsmod,valuepres,embedcomment' --with-cppopts='-DALWAYS_V5_KUSEROK'


The configure options were essentially the same for 1.4:

./configure --prefix=/local/krb5 --exec-prefix=/local/krb5 --localstatedir=/var/local --sysconfdir=/etc/local --enable-shared --without-tcl --without-krb4 --with-cc=cc --with-ccopts='-std -O3 -g3 -tune host -arch host -Olimit 3000 -portable -readonly_strings -pthread -msg_disable inlinestoclsmod,valuepres,embedcomment,hexoctunsign,switchlong' --with-cppopts='-DALWAYS_V5_KUSEROK'


Please let me know if I can provide any additional information.

I'm going to try building 1.4 on a few additional platforms, and see if
the problem is the same there. I'll report back as soon as I'm able to.

Tim
Date: Thu, 10 Feb 2005 15:27:25 -0600 (CST)
From: Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
To: krb5 <rt@krbdev.mit.edu>
Subject: Re: [krbdev.mit.edu #2920] krb5_init_ets() and 1.4 ABI
RT-Send-Cc:
In regard to: [krbdev.mit.edu #2920] AutoReply: krb5kets() and 1.4 ABI ,...:

Show quoted text
> I'm going to try building 1.4 on a few additional platforms, and see if
> the problem is the same there. I'll report back as soon as I'm able to.

I've built krb5 1.4 on Solaris 8 and IRIX 6.5.26m, both with vendor tool
chains, and I see the same issue there. The libkrb5.so.3 from 1.2.8
has a krb5_init_ets(), while the libkrb5.so.3 from 1.4 doesn't (though
it does have a krb524_init_ets() symbol).

Tim