public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/29899] New: Fix for bz#20305 broke glibc on alpha-linux-gnu
@ 2022-12-13 17:43 glaubitz at physik dot fu-berlin.de
  2022-12-13 17:43 ` [Bug libc/29899] " glaubitz at physik dot fu-berlin.de
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: glaubitz at physik dot fu-berlin.de @ 2022-12-13 17:43 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=29899

            Bug ID: 29899
           Summary: Fix for bz#20305 broke glibc on alpha-linux-gnu
           Product: glibc
           Version: 2.34
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: glaubitz at physik dot fu-berlin.de
                CC: adhemerval.zanella at linaro dot org, drepper.fsp at gmail dot com,
                    hjl.tools at gmail dot com, jrtc27 at jrtc27 dot com,
                    mcree at orcon dot net.nz
  Target Milestone: ---
              Host: alpha-linux-gnu

The following commit broke glibc on alpha-linux-gnu, in this case Debian
unstable running on Alpha:

commit 6c57d320484988e87e446e2e60ce42816bf51d53
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Feb 1 11:00:38 2021 -0800

    sysconf: Add _SC_MINSIGSTKSZ/_SC_SIGSTKSZ [BZ #20305]

    Add _SC_MINSIGSTKSZ for the minimum signal stack size derived from
    AT_MINSIGSTKSZ, which is the minimum number of bytes of free stack
    space required in order to gurantee successful, non-nested handling
    of a single signal whose handler is an empty function, and _SC_SIGSTKSZ
    which is the suggested minimum number of bytes of stack space required
    for a signal stack.

Without the patch applied, running bash in a qemu-user-static chroot from the
build directory of a cross-compiled build works fine:

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

With the patch applied, the above command results in a segmentation fault:

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

The issue also becomes apparent when comparing the testsuite failures for
glibc-2.33 and glibc-2.34 in Debian unstable:

> https://buildd.debian.org/status/fetch.php?pkg=glibc&arch=alpha&ver=2.33-8&stamp=1657736413&raw=0
> https://buildd.debian.org/status/fetch.php?pkg=glibc&arch=alpha&ver=2.34-1&stamp=1659947712&raw=0

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-12-30 14:35 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-13 17:43 [Bug libc/29899] New: Fix for bz#20305 broke glibc on alpha-linux-gnu glaubitz at physik dot fu-berlin.de
2022-12-13 17:43 ` [Bug libc/29899] " glaubitz at physik dot fu-berlin.de
2022-12-13 17:43 ` glaubitz at physik dot fu-berlin.de
2022-12-13 19:52 ` hjl.tools at gmail dot com
2022-12-13 20:38 ` glaubitz at physik dot fu-berlin.de
2022-12-13 21:12 ` hjl.tools at gmail dot com
2022-12-13 21:22 ` glaubitz at physik dot fu-berlin.de
2022-12-14  7:45 ` sam at gentoo dot org
2022-12-14  7:53 ` glaubitz at physik dot fu-berlin.de
2022-12-14 16:00 ` hjl.tools at gmail dot com
2022-12-21 10:25 ` glaubitz at physik dot fu-berlin.de
2022-12-30 14:35 ` glaubitz at physik dot fu-berlin.de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).