From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0622F383F0B9; Tue, 13 Dec 2022 17:43:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0622F383F0B9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1670953399; bh=UDAHyB11r4wBsW+5pUqWAWycxma+CWN/l2YfGBiGI3Q=; h=From:To:Subject:Date:From; b=cOim7GSCOCZmgLqKnppTk72pMnwy+9hpbGALyPiOBU7y1WRCKIOGW8d2U/16sQ0Rd jhaQaiRIA6om0w38uzB17peUJE/jy0lhbsBLESs/4fZyuq9Sn1mJJbMORAQBpvwwpD wOC0BLpt7EbVphZ/UiVxFt/xlhjfLY/nSGrRx+es= From: "glaubitz at physik dot fu-berlin.de" To: glibc-bugs@sourceware.org Subject: [Bug libc/29899] New: Fix for bz#20305 broke glibc on alpha-linux-gnu Date: Tue, 13 Dec 2022 17:43:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.34 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: glaubitz at physik dot fu-berlin.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcchost Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29899 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 gm= ail 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 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 t= he build directory of a cross-compiled build works fine: (sid-alpha-sbuild)glaubitz@z6:~/glibc-git/build$ LD_LIBRARY_PATH=3D/home/glaubitz/glibc-git/build /bin/bash (sid-alpha-sbuild)glaubitz@z6:~/glibc-git/build$=20 exit With the patch applied, the above command results in a segmentation fault: (sid-alpha-sbuild)glaubitz@z6:~/glibc-git/build$ LD_LIBRARY_PATH=3D/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=3Dglibc&arch=3Dalpha&ver= =3D2.33-8&stamp=3D1657736413&raw=3D0 > https://buildd.debian.org/status/fetch.php?pkg=3Dglibc&arch=3Dalpha&ver= =3D2.34-1&stamp=3D1659947712&raw=3D0 --=20 You are receiving this mail because: You are on the CC list for the bug.=