Skip Menu |
 

From gord@engg.ucalgary.ca Mon Nov 25 23:37:34 1996
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id XAA11739 for <bugs@RT-11.MIT.EDU>; Mon, 25 Nov 1996 23:37:33 -0500
Received: from gw.engg.ucalgary.ca by MIT.EDU with SMTP
id AA22159; Mon, 25 Nov 96 23:37:30 EST
Received: from zeus.engg.ucalgary.ca by engg.ucalgary.ca (AIX 4.1/UCB 5.64/4.03)
id AA36294; Mon, 25 Nov 1996 21:38:34 -0700
Received: by zeus.engg.ucalgary.ca (8.7.5/client-1.5)
id VAA13763; Mon, 25 Nov 1996 21:37:06 -0700 (MST)
Message-Id: <199611260437.VAA13763@zeus.engg.ucalgary.ca>
Date: Mon, 25 Nov 1996 21:37:06 -0700 (MST)
From: Gordon Matzigkeit <gord@engg.ucalgary.ca>
To: krb5-bugs@MIT.EDU
Subject: Shared libs on FreeBSD

Show quoted text
>Number: 240
>Category: krb5-build
>Synopsis: Shared libs on FreeBSD
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: raeburn
>State: closed
>Class: change-request
>Submitter-Id: unknown
>Arrival-Date: Mon Nov 25 23:38:00 EST 1996
>Last-Modified: Tue Jul 06 19:20:32 EDT 1999
>Originator:
>Organization:
>Release:
>Environment:
>Description:

Hi!

These two patches allow building shared libraries on FreeBSD.

diff -u configure.in.orig configure.in
--- configure.in.orig Fri Sep 6 18:15:16 1996
+++ configure.in Tue Oct 29 21:53:55 1996
@@ -43,6 +43,28 @@
krb5_cv_shlibs_run_libpath=no
krb5_cv_shlibs_run_rldroot=no
;;
+*-*-freebsd*)
+ echo "Enabling shared libraries for FreeBSD...."
+ krb5_cv_shlibs_cflags=-fpic
+ krb5_cv_shlibs_ext=so
+ krb5_cv_noshlibs_ext=a
+krb5_cv_shlibs_versioned_filenames=yes # version in filename of library
+ krb5_cv_shlibs_need_nover=no
+ krb5_cv_shlibs_dir=shared
+ krb5_cv_shlibs_ldflag=
+ krb5_cv_noshlibs_ldflag="-static"
+ krb5_cv_shlibs_sym_ufo="-u "
+ krb5_cv_shlibs_dirhead="-Wl,-L"
+ 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_shlibs_enabled=yes
+ krb5_cv_staticlibs_enabled=yes
+ krb5_cv_shlibs_run_ldpath=default
+ krb5_cv_shlibs_run_libpath=no
+ krb5_cv_shlibs_run_rldroot=no
+ ;;
*-*-linux*)
echo "Enabling shared libraries for Linux...."
krb5_cv_shlibs_cflags=-fPIC
diff -u util/makeshlib.sh.orig util/makeshlib.sh
--- util/makeshlib.sh.orig Fri Sep 6 16:24:32 1996
+++ util/makeshlib.sh Tue Oct 29 21:51:56 1996
@@ -29,6 +29,18 @@
ld -Bshareable $ldflags -o $library $FILES $libdirfl $liblist
stat=$?
;;
+*-*-freebsd*)
+ FILES=`for i
+ do
+ sed -e "s;^;$i/shared/;" -e "s; ; $i/shared/;g" -e "s;^$i/shared/\$;;" $i/DONE
+ done`
+ # Hack to deal with the fact that with cc options are different
+ # from ld...
+ ldflags=`echo $ldflags |sed -e "s/-Wl,//g"`
+ echo ld -Bshareable $ldflags -o $library $FILES $libdirfl $liblist
+ ld -Bshareable $ldflags -o $library $FILES $libdirfl $liblist
+ stat=$?
+ ;;
*-*-hpux*)
FILES=`for i
do

Show quoted text
>How-To-Repeat:
>Fix:
>Audit-Trail:

State-Changed-From-To: open-analyzed
State-Changed-By: tytso
State-Changed-When: Mon Nov 25 23:46:10 1996
State-Changed-Why:


From: "Theodore Y. Ts'o" <tytso@MIT.EDU>
To: Gordon Matzigkeit <gord@engg.ucalgary.ca>
Cc: krb5-bugs@MIT.EDU
Subject: Re: krb5-build/240: Shared libs on FreeBSD
Date: Mon, 25 Nov 1996 23:48:11 -0500

Thanks for sending in your patch to support Shared Libraries for
FreeBSD.

This patch was submitted too late for the 1.0 release of Kerberos.
(We've been feature freeze for a while, and code freeze was today.)
We do really appreciate the patch, however, and it will be applied to
our source tree for inclusion in future releases.

Thanks again!!

- Ted

Responsible-Changed-From-To: gnats-admin->raeburn
Responsible-Changed-By: raeburn
Responsible-Changed-When: Tue Jul 6 18:59:14 1999
Responsible-Changed-Why:

State-Changed-From-To: analyzed-closed
State-Changed-By: raeburn
State-Changed-When: Tue Jul 6 19:19:49 1999
State-Changed-Why:

Shared-library support is in 1.1 in a newer form, which will support
both ELF and a.out formats.



Show quoted text
>Unformatted: