Skip Menu |
 

Download (untitled) / with headers
text/plain 3.6KiB
From kenh@cmf.nrl.navy.mil Thu Jun 12 00:08:23 1997
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id AAA18851 for <bugs@RT-11.MIT.EDU>; Thu, 12 Jun 1997 00:08:22 -0400
Received: from [134.207.8.161] by MIT.EDU with SMTP
id AA29665; Thu, 12 Jun 97 00:07:20 EDT
Received: from nexus.cmf.nrl.navy.mil (kenh@nexus.cmf.nrl.navy.mil [134.207.10.9])
by ginger.cmf.nrl.navy.mil (8.8.5/8.8.5) with ESMTP id AAA24173
for <krb5-bugs@mit.edu>; Thu, 12 Jun 1997 00:07:52 -0400 (EDT)
Received: (from kenh@localhost)
by nexus.cmf.nrl.navy.mil (8.8.5/8.8.5) id AAA11628;
Thu, 12 Jun 1997 00:08:12 -0400 (EDT)
Message-Id: <199706120408.AAA11628@nexus.cmf.nrl.navy.mil>
Date: Thu, 12 Jun 1997 00:08:12 -0400 (EDT)
From: Ken Hornstein <kenh@cmf.nrl.navy.mil>
Reply-To: kenh@cmf.nrl.navy.mil
To: krb5-bugs@MIT.EDU
Subject: Shared libraries not supported under Irix
X-Send-Pr-Version: 3.99

Show quoted text
>Number: 437
>Category: krb5-libs
>Synopsis: Shared libraries not supported under Irix
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: krb5-unassigned
>State: closed
>Class: change-request
>Submitter-Id: unknown
>Arrival-Date: Thu Jun 12 00:09:00 EDT 1997
>Last-Modified: Wed Jan 24 18:32:56 EST 2001
>Originator: Ken Hornstein
>Organization:
Navel Research Laboratory

Show quoted text
>Release: 1.0pl1
>Environment:

System: SunOS nexus 4.1.4 3 sun4m
Architecture: sun4

Show quoted text
>Description:
Shared libraries for Kerberos 5 are not built under Irix, yet they are
trivial to do.

Show quoted text
>How-To-Repeat:
Try to use --enable-shared on Irix.

Show quoted text
>Fix:
This patch works for me under irix 5.3.

Index: krb5/configure.in
diff -c krb5/configure.in:1.1.1.1 krb5/configure.in:1.2
*** krb5/configure.in:1.1.1.1 Mon Jun 2 17:54:06 1997
--- krb5/configure.in Thu Jun 12 00:03:21 1997
***************
*** 223,228 ****
--- 223,250 ----
krb5_cv_shlibs_run_libpath=no
krb5_cv_shlibs_run_rldroot=no
;;
+ mips-*-irix*)
+ echo "Enabling shared libraries for Irix ..."
+ krb5_cv_shlibs_cflags=
+ krb5_cv_shlibs_ext=so
+ krb5_cv_noshlibs_ext=a
+ krb5_cv_shlibs_versioned_filenames=yes
+ krb5_cv_shlibs_need_nover=yes
+ krb5_cv_shlibs_dir=
+ krb5_cv_shlibs_ldflag=
+ krb5_cv_noshlibs_ldflag="-Bstatic"
+ krb5_cv_shlibs_sym_ufo="-U "
+ krb5_cv_shlibs_dirhead="-rpath "
+ krb5_cv_exe_need_dirs=yes
+ krb5_cv_shlibs_use_dirs=yes
+ krb5_cv_shlibs_use_colon_dirs=no
+ krb5_cv_shlibs_tail_comp=
+ krb5_cv_staticlibs_enabled=yes
+ krb5_cv_shlibs_enabled=yes
+ krb5_cv_shlibs_run_ldpath=default
+ krb5_cv_shlibs_run_libpath=no
+ krb5_cv_shlibs_run_rldroot=no
+ ;;
*)
echo " "
echo "Shared libraries not supported on $krb5_cv_host"
Index: krb5/util/makeshlib.sh
diff -c krb5/util/makeshlib.sh:1.1.1.1 krb5/util/makeshlib.sh:1.2
*** krb5/util/makeshlib.sh:1.1.1.1 Mon Jun 2 17:58:07 1997
--- krb5/util/makeshlib.sh Thu Jun 12 00:03:32 1997
***************
*** 156,162 ****
--- 156,171 ----
ld -shared -expect_unresolved \* $ldflags -o $library -all $FILES $libdirfl $liblist -none -lc -update_registry ../../so_locations
stat=$?
;;
+ mips-*-irix*)
+ FILES=`for i
+ do
+ sed -e "s;^;$i/;" -e "s; ; $i/;g" $i/DONE
+ done`

+ echo ld -shared -rdata_shared $ldflags -o $library $optflags $FILES $libdirfl $liblist
+ ld -shared -rdata_shared $ldflags -o $library $optflags $FILES $libdirfl $liblist
+ stat=$?
+ ;;
*)
echo "Host type $host not supported!"
exit 1
Show quoted text
>Audit-Trail:

State-Changed-From-To: open-closed
State-Changed-By: tlyu
State-Changed-When: Wed Jan 24 18:32:23 2001
State-Changed-Why:

Irix shared lib support added long ago.

Show quoted text
>Unformatted: