From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7184F3858D32; Sun, 21 Apr 2024 10:55:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7184F3858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1713696904; bh=c4G9YpseSCEELSt1QRbf3B5gMoDfz8ftLIZQ8rVg/fY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=DUch7kIg6wW0M4u1UjtQQ9XgKOi94WQk/kME/29npz5vrIWc4fa8W4kYJeFIS8ft1 BL8KJ1gfm2PcxKoFFpkGPZzZ1a/unXt1P+Qrs5zjTXMSYM2I6lBb+so8zjP77grUyE E5gt50v6LIgbROCUnhbtkEaZSnA2deCrheY+Z14Q= From: "mail@felix-potthast.de" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/31662] Stack not aligned at _start when calling ld.so explicitly Date: Sun, 21 Apr 2024 10:55:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.35 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mail@felix-potthast.de X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.36 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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=3D31662 --- Comment #7 from Felix Potthast --- Yes, this is not occurring anymore since 2.36. 2.35 is still around, though. (Ubuntu 22.04 for example) Do you have any plans on preventing this from occurring again? This seems to have been unnoticed. I would suggest removing the align from `sysdeps/x86_64/start.S`. (Lines 88= ,89) It goes back to 2001 when the ABI didn't explicitly state the alignment at process entry. It shouldn't be needed anymore and just masks bugs like this. --=20 You are receiving this mail because: You are on the CC list for the bug.=