[krbdev.mit.edu #3303] Alpha support is missing in KRB5-1.4.3

Quanah Gibson-Mount via RT rt-comment at krbdev.mit.edu
Tue Dec 20 20:32:26 EST 2005


In attempting to compile krb5-1.4.3 on our Alpha, I found that there really 
is no support for this operating system.
I note the following:

1) Alpha's threadsafe functions have different arguments than what MIT Krb5 
assigns to it in fake-addrinfo.h.  Some of this is easy to fix:

I changed line 177 to:

    177 #if (defined (_AIX)  || defined (_OSF)) /* XXX should have a 
feature test! */

and added #define _OSF 1 to autoconf.h after configure finished.

However, this still leaves problems with:

getservbyname_r
and
getservbyport_r


On the Alpha, these are defined as:

extern int getservbyname_r __((const char *, const char *, struct servent 
*, \
                    struct servent_data *));
extern int getservbyport_r __((int, const char *, struct servent *, \
                    struct servent_data *));


There are no function definitions that match these number of arguments in 
the fake-addrinfo.h file.  It also doesn't even closely match either of the 
two definitions for getservbyname_r (7 args or 5 args).  I think it most 
matches the 7 args case, however, since it does return an int, and it takes 
two structs of data.


2) There is no way to disable re-entrancy from configure.  Although thread 
safety is great, I'd just like this to compile on the alpha.  If I could 
turn off re-entrancy from configure, then this should be accomplished. 
Defining --disable-thread-support still uses the re-entrant thread 
functions, so this does not help me get around this problem.


--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html




More information about the krb5-bugs mailing list