diff options
author | Florian Weimer <fweimer@redhat.com> | 2022-04-29 16:37:51 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2022-04-29 16:37:51 +0200 |
commit | e47de5cb2d4dbecb58f569ed241e8e95c568f03c (patch) | |
tree | 0024e33042a32c5a2c19b6e239e562d19016e1d4 /configure | |
parent | 5b5b1012d579bfb38e11cea3767bec06554c0063 (diff) | |
download | glibc-e47de5cb2d4dbecb58f569ed241e8e95c568f03c.zip glibc-e47de5cb2d4dbecb58f569ed241e8e95c568f03c.tar.gz glibc-e47de5cb2d4dbecb58f569ed241e8e95c568f03c.tar.bz2 |
Do not use --hash-style=both for building glibc shared objects
The comment indicates that --hash-style=both was used to maintain
compatibility with static dlopen, but we had many internal ABI
changes since then, so this compatiblity does not add value anymore.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 28 |
1 files changed, 0 insertions, 28 deletions
@@ -622,7 +622,6 @@ libc_cv_cc_nofma libc_cv_mtls_dialect_gnu2 fno_unit_at_a_time libc_cv_has_glob_dat -libc_cv_hashstyle libc_cv_fpie libc_cv_z_execstack ASFLAGS_config @@ -6194,33 +6193,6 @@ $as_echo "$libc_cv_fpie" >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --hash-style option" >&5 -$as_echo_n "checking for --hash-style option... " >&6; } -if ${libc_cv_hashstyle+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat > conftest.c <<EOF -int _start (void) { return 42; } -EOF -if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp - -fPIC -shared -o conftest.so conftest.c - -Wl,--hash-style=both -nostdlib 1>&5' - { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 - (eval $ac_try) 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; } -then - libc_cv_hashstyle=yes -else - libc_cv_hashstyle=no -fi -rm -f conftest* -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_hashstyle" >&5 -$as_echo "$libc_cv_hashstyle" >&6; } - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLOB_DAT reloc" >&5 $as_echo_n "checking for GLOB_DAT reloc... " >&6; } if ${libc_cv_has_glob_dat+:} false; then : |