GNU bug report logs - #45827
[aarch64] GCC 4.9.4 stack deallocation bug

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Leo Famulari <leo@HIDDEN>; dated Tue, 12 Jan 2021 22:03:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 12 Jan 2021 22:02:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 12 17:02:08 2021
Received: from localhost ([127.0.0.1]:33510 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kzRjs-0004qG-GT
	for submit <at> debbugs.gnu.org; Tue, 12 Jan 2021 17:02:08 -0500
Received: from lists.gnu.org ([209.51.188.17]:57422)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo@HIDDEN>) id 1kzRjo-0004q4-34
 for submit <at> debbugs.gnu.org; Tue, 12 Jan 2021 17:02:07 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:51544)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <leo@HIDDEN>) id 1kzRji-0000Cl-Ex
 for bug-guix@HIDDEN; Tue, 12 Jan 2021 17:02:01 -0500
Received: from out3-smtp.messagingengine.com ([66.111.4.27]:57267)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <leo@HIDDEN>) id 1kzRjg-0003ev-E2
 for bug-guix@HIDDEN; Tue, 12 Jan 2021 17:01:58 -0500
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43])
 by mailout.nyi.internal (Postfix) with ESMTP id 6D0DE5C034D;
 Tue, 12 Jan 2021 17:01:55 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162])
 by compute3.internal (MEProxy); Tue, 12 Jan 2021 17:01:55 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name;
 h=date:from:to:subject:message-id:mime-version:content-type; s=
 mesmtp; bh=h3grEclwZYFYE04bhw6ILCvpHyDw7kE1GCdq6iAORsY=; b=t0eBk
 G6BSDYKxaQ8aa96zOkmfJT1Oa/IbUCpoRVR+X6Isaruat8w3MA0lReimbpohiBEX
 l8SQ6u1tN+232gRfoE71wHVRMyIDDx7ok3Hr7EDTg3BeaAqPNXxZegGd8lkhLH7X
 4CD7NoCaTUu9mgeGxNBXz2idnt4lewIPqBWG0c=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=content-type:date:from:message-id
 :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender
 :x-me-sender:x-sasl-enc; s=fm1; bh=h3grEclwZYFYE04bhw6ILCvpHyDw7
 kE1GCdq6iAORsY=; b=U862hm8HOolcNSAlhYi+2cfewrybOiLefcTMcwZwr1zW5
 DWsNJNXcdks2qFKH/KAFmt2jVnywowGggc3fRL9ueOYoOvDU3uvVSZ3hZCUBvmhx
 zokIzeAr8/joU7kOU9aGpWc4APBBUTNB69hosOVbX2/nSPIicODXudu3nGxc00vW
 +GPWqxRGU3DWi5NkXMovMA8Pzhsxz7qZ1H+3jQxRvUlgtsOilRKFZFxLj1Ri6n7W
 89WNbgjoENzsN9S2OxFpFyNryozXdZoAl6kPT50SzXyrQ0CkTFsJYcELNx0dGiy8
 1tK9t2OKInty4qoOWLpPpA/ALZ/vwWiCB4FNiKAdw==
X-ME-Sender: <xms:Uxz-X1TLR3-HIrV_T8VVCPsFhKEzn9-y621wz8Vero256hWaUPH5XQ>
 <xme:Uxz-X-wmpUP3lGlsFUH91ovWAMgGoq5Ia01DjHYstcouY9LH1KAxTJOijTRNQU6sc
 WKfArpWA9nv81hLIA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedukedrtddtgdduvdegucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkgggtugesthdtredttd
 dtvdenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhi
 rdhnrghmvgeqnecuggftrfgrthhtvghrnhepueelteelhffhtdefkeetgfduffdufedtje
 eigeefheejhfeviefhuddtffeuudeknecuffhomhgrihhnpehgnhhurdhorhhgpdhlfihn
 rdhnvghtnecukfhppedutddtrdduuddrudeiledruddukeenucevlhhushhtvghrufhiii
 gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgr
 mhgv
X-ME-Proxy: <xmx:Uxz-X63yOa8k0gC3SjMWMEo9LSEHMyqmKhmXutIH0n3rDkKJ9T4g2w>
 <xmx:Uxz-X9AtE674nPLK2a12zutj2RzmbJmW94qHfcdO9eBJCZ8gnb5Tpw>
 <xmx:Uxz-X-glVzEDMMtLKFL4eaN1qgXEJs5tQ6k9XFtAy8Z2DklzicTZZg>
 <xmx:Uxz-X5vM_hphLl0e2B0C_P6yQD1v4Wpl_RbG-e3uVr9EdnDKD_0u3A>
Received: from localhost (pool-100-11-169-118.phlapa.fios.verizon.net
 [100.11.169.118])
 by mail.messagingengine.com (Postfix) with ESMTPA id 19F2924005D
 for <bug-guix@HIDDEN>; Tue, 12 Jan 2021 17:01:55 -0500 (EST)
Date: Tue, 12 Jan 2021 17:01:53 -0500
From: Leo Famulari <leo@HIDDEN>
To: bug-guix@HIDDEN
Subject: [aarch64] GCC 4.9.4 stack deallocation bug
Message-ID: <X/4cUenGXImGF9Lz@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Received-SPF: pass client-ip=66.111.4.27; envelope-from=leo@HIDDEN;
 helo=out3-smtp.messagingengine.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

There was a bug in GCC 4.9.4 that could cause miscompilation, such that
the "compiler was freeing the function's stack frame prior to the end of
the function itself." [0]

The bug was observed to cause corruption of ext4 filesystems on the
aarch64 platform.

The upstream report is here:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63293

Apparently this was fixed in GCC 5, but never backported to the 4.9
series.

Should we fix it? We use GCC 4.9 to bootstrap the system in (gnu
packages commencement), and a handful of packages depend on it.

[0]
https://lwn.net/SubscriberLink/842122/40442a015222c028/




Acknowledgement sent to Leo Famulari <leo@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#45827; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 12 Jan 2021 22:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.