Skip to content

Commit 1dd6d95

Browse files
authored
closes bpo-42030: Remove legacy AIX dynload support (GH-22717)
Since c19c5a6, AIX builds have defaulted to using dynload_shlib over dynload_aix when dlopen is available. This function has been available since AIX 4.3, which went out of support in 2003, the same year the previously referenced commit was made. It has been nearly 20 years since a version of AIX has been supported which has not used dynload_shlib so there's no reason to keep this legacy code around.
1 parent e9959c7 commit 1dd6d95

File tree

4 files changed

+3
-202
lines changed

4 files changed

+3
-202
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Support for the legacy AIX-specific shared library loading support has been
2+
removed. All versions of AIX since 4.3 have supported and defaulted to using
3+
the common Unix mechanism instead.

Python/dynload_aix.c

Lines changed: 0 additions & 190 deletions
This file was deleted.

configure

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11625,12 +11625,6 @@ $as_echo_n "checking DYNLOADFILE... " >&6; }
1162511625
if test -z "$DYNLOADFILE"
1162611626
then
1162711627
case $ac_sys_system/$ac_sys_release in
11628-
AIX*) # Use dynload_shlib.c and dlopen() if we have it; otherwise dynload_aix.c
11629-
if test "$ac_cv_func_dlopen" = yes
11630-
then DYNLOADFILE="dynload_shlib.o"
11631-
else DYNLOADFILE="dynload_aix.o"
11632-
fi
11633-
;;
1163411628
hp*|HP*) DYNLOADFILE="dynload_hpux.o";;
1163511629
*)
1163611630
# use dynload_shlib.c and dlopen() if we have it; otherwise stub

configure.ac

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3622,12 +3622,6 @@ AC_MSG_CHECKING(DYNLOADFILE)
36223622
if test -z "$DYNLOADFILE"
36233623
then
36243624
case $ac_sys_system/$ac_sys_release in
3625-
AIX*) # Use dynload_shlib.c and dlopen() if we have it; otherwise dynload_aix.c
3626-
if test "$ac_cv_func_dlopen" = yes
3627-
then DYNLOADFILE="dynload_shlib.o"
3628-
else DYNLOADFILE="dynload_aix.o"
3629-
fi
3630-
;;
36313625
hp*|HP*) DYNLOADFILE="dynload_hpux.o";;
36323626
*)
36333627
# use dynload_shlib.c and dlopen() if we have it; otherwise stub

0 commit comments

Comments
 (0)