[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: glibc regression on alpha with 2.34+



Hello!

I have not been able to identify the commit that introduced the floating point
issue. However, I seem to have found what fixes the segfault properly and also
another fix for a third problem, see below.

FWIW, Adhemeveral told me he would be looking into the glibc issues on alpha in
the following days. Currently, I am out of ideas myself.

Adrian

===============================================================================

Issue:

(sid-alpha-sbuild)glaubitz@nofan:~/glibc-git/build$ LD_LIBRARY_PATH=/home/glaubitz/glibc-git/build /bin/bash
/bin/bash: symbol lookup error: /home/glaubitz/glibc-git/build/libc.so.6.1: undefined symbol: _dl_audit_preinit, version GLIBC_PRIVATE
(sid-alpha-sbuild)glaubitz@nofan:~/glibc-git/build$

Fixed by:

commit 144761540a1e40b85997d195d9a226a500531dc9
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Jan 13 18:04:49 2022 -0300

    elf: Remove LD_USE_LOAD_BIAS
It is solely for prelink with PIE executables [1]. [1] https://sourceware.org/legacy-ml/libc-hacker/2003-11/msg00127.html Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>

Issue:

(sid-alpha-sbuild)glaubitz@nofan:~/glibc-git/build$ LD_LIBRARY_PATH=/home/glaubitz/glibc-git/build /bin/bash
Segmentation fault
(sid-alpha-sbuild)glaubitz@nofan:~/glibc-git/build$

Fixed by:

commit 0b98a8748759e88b58927882a8714109abe0a2d6
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Jul 22 17:10:57 2021 -0300

    elf: Add _dl_audit_preinit
It consolidates the code required to call la_preinit audit
    callback.
Checked on x86_64-linux-gnu, i686-linux-gnu, and aarch64-linux-gnu. Reviewed-by: Florian Weimer <fweimer@redhat.com>

 csu/libc-start.c           | 23 +++--------------------
 elf/Versions               |  2 +-
 elf/dl-audit.c             | 15 +++++++++++++++
 sysdeps/generic/ldsodefs.h |  3 +++
 4 files changed, 22 insertions(+), 21 deletions(-)

Issue:

(sid-alpha-sbuild)glaubitz@nofan:~/glibc-git/build$ LD_LIBRARY_PATH=/home/glaubitz/glibc-git/build /bin/bash
Floating point exception
(sid-alpha-sbuild)glaubitz@nofan:~/glibc-git/build$

Introduced by:

(not found)

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: