diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 7 | ||||
| -rw-r--r-- | src/aclocal.m4 | 13 |
2 files changed, 20 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 6cf887706..632676843 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +2004-05-30 Ken Raeburn <raeburn@mit.edu> + + * aclocal.m4 (KRB5_AC_GCC_ATTRS): On AIX 4, mark the destructor + attribute as always not working, until we can construct a good + test for the order of destructors in the multiple shared library + case. + 2004-05-04 Ken Raeburn <raeburn@mit.edu> * configure.in: Generate a makefile in util/support. Include diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 61cb2ef9f..51664026f 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -1602,6 +1602,19 @@ void foo2() { unlink("conftest.2"); } int main () { return 0; }], [test -r conftest.1 || a=yes test -r conftest.2 || b=yes], , AC_MSG_ERROR(Cannot test for constructor/destructor support when cross compiling)) +case $krb5_cv_host in +*-*-aix4.*) + # Under AIX 4.3.3, at least, shared library destructor functions + # appear to get executed in reverse link order (right to left), + # so that a library's destructor function may run after that of + # libraries it depends on, and may still have to access in the + # destructor. + # + # That counts as "not working", for me, but it's a much more + # complicated test case to set up. + b=no + ;; +esac krb5_cv_attr_constructor_destructor="$a,$b" ]) # Okay, krb5_cv_... should be set now. |
