[krbdev.mit.edu #2920] krb5_init_ets() and 1.4 ABI

mooney@dogbert.cc.ndsu.NoDak.edu via RT rt-comment at krbdev.mit.edu
Thu Feb 10 15:34:45 EST 2005


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



More information about the krb5-bugs mailing list