@@ -6084,7 +6084,7 @@ irix5* | irix6* | nonstopux*)
6084
6084
;;
6085
6085
6086
6086
# This must be Linux ELF.
6087
- linux* | k*bsd*-gnu | kopensolaris*-gnu)
6087
+ linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi )
6088
6088
lt_cv_deplibs_check_method=pass_all
6089
6089
;;
6090
6090
@@ -6160,6 +6160,11 @@ sysv4 | sysv4.3*)
6160
6160
tpf*)
6161
6161
lt_cv_deplibs_check_method=pass_all
6162
6162
;;
6163
+ vxworks*)
6164
+ # Assume VxWorks cross toolchains are built on Linux, possibly
6165
+ # as canadian for Windows hosts.
6166
+ lt_cv_deplibs_check_method=pass_all
6167
+ ;;
6163
6168
esac
6164
6169
6165
6170
fi
@@ -7621,23 +7626,25 @@ _LT_EOF
7621
7626
fi
7622
7627
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7623
7628
$as_echo "$lt_cv_ld_force_load" >&6; }
7624
- case $host_os in
7625
- rhapsody* | darwin1.[012])
7629
+ # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
7630
+ # build without first building modern cctools / linker.
7631
+ case $host_cpu-$host_os in
7632
+ *-rhapsody* | *-darwin1.[012])
7626
7633
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7627
- darwin1.*)
7634
+ *- darwin1.*)
7628
7635
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7629
- darwin*) # darwin 5.x on
7630
- # if running on 10.5 or later, the deployment target defaults
7631
- # to the OS version, if on x86, and 10.4, the deployment
7632
- # target defaults to 10.4. Don't you love it?
7633
- case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7634
- 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7635
- _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7636
+ *-darwin*)
7637
+ # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
7638
+ # deployment target is forced to an earlier version.
7639
+ case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
7640
+ UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
7641
+ ;;
7636
7642
10.[012][,.]*)
7637
- _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7638
- 10.*)
7639
- _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7640
- esac
7643
+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7644
+ ;;
7645
+ *)
7646
+ ;;
7647
+ esac
7641
7648
;;
7642
7649
esac
7643
7650
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
@@ -8896,7 +8903,7 @@ _LT_EOF
8896
8903
archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8897
8904
;;
8898
8905
8899
- gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8906
+ gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi )
8900
8907
tmp_diet=no
8901
8908
if test "$host_os" = linux-dietlibc; then
8902
8909
case $cc_basename in
@@ -9405,7 +9412,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9405
9412
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9406
9413
case $host_cpu in
9407
9414
hppa*64*)
9408
- archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9415
+ archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9409
9416
;;
9410
9417
ia64*)
9411
9418
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
@@ -9417,7 +9424,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9417
9424
else
9418
9425
case $host_cpu in
9419
9426
hppa*64*)
9420
- archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9427
+ archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9421
9428
;;
9422
9429
ia64*)
9423
9430
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
@@ -10417,7 +10424,12 @@ linux*oldld* | linux*aout* | linux*coff*)
10417
10424
;;
10418
10425
10419
10426
# This must be Linux ELF.
10420
- linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10427
+
10428
+ # uclinux* changes (here and below) have been submitted to the libtool
10429
+ # project, but have not yet been accepted: they are GCC-local changes
10430
+ # for the time being. (See
10431
+ # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
10432
+ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
10421
10433
version_type=linux
10422
10434
need_lib_prefix=no
10423
10435
need_version=no
@@ -10665,6 +10677,25 @@ uts4*)
10665
10677
shlibpath_var=LD_LIBRARY_PATH
10666
10678
;;
10667
10679
10680
+ # Shared libraries for VwWorks, >= 7 only at this stage
10681
+ # and (fpic) still incompatible with "large" code models
10682
+ # in a few configurations. Only for RTP mode in any case,
10683
+ # and upon explicit request at configure time.
10684
+ vxworks7*)
10685
+ dynamic_linker=no
10686
+ case ${with_multisubdir}-${enable_shared} in
10687
+ *large*)
10688
+ ;;
10689
+ *mrtp*-yes)
10690
+ version_type=linux
10691
+ need_lib_prefix=no
10692
+ need_version=no
10693
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10694
+ soname_spec='${libname}${release}${shared_ext}$major'
10695
+ dynamic_linker="$host_os module_loader"
10696
+ ;;
10697
+ esac
10698
+ ;;
10668
10699
*)
10669
10700
dynamic_linker=no
10670
10701
;;
@@ -11106,7 +11137,7 @@ else
11106
11137
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11107
11138
lt_status=$lt_dlunknown
11108
11139
cat > conftest.$ac_ext <<_LT_EOF
11109
- #line 11109 "configure"
11140
+ #line 11140 "configure"
11110
11141
#include "confdefs.h"
11111
11142
11112
11143
#if HAVE_DLFCN_H
@@ -11212,7 +11243,7 @@ else
11212
11243
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11213
11244
lt_status=$lt_dlunknown
11214
11245
cat > conftest.$ac_ext <<_LT_EOF
11215
- #line 11215 "configure"
11246
+ #line 11246 "configure"
11216
11247
#include "confdefs.h"
11217
11248
11218
11249
#if HAVE_DLFCN_H
0 commit comments