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

Previous Next

Package: guix;

Reported by: Leo Famulari <leo <at> famulari.name>

Date: Tue, 12 Jan 2021 22:03:01 UTC

Severity: normal

To reply to this bug, email your comments to 45827 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#45827; Package guix. (Tue, 12 Jan 2021 22:03:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo Famulari <leo <at> famulari.name>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 12 Jan 2021 22:03:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: bug-guix <at> gnu.org
Subject: [aarch64] GCC 4.9.4 stack deallocation bug
Date: Tue, 12 Jan 2021 17:01:53 -0500
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/




This bug report was last modified 4 years and 151 days ago.

Previous Next


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