This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug malloc/21120] New: glibc malloc is incompatible with GCC 7
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 09 Feb 2017 15:19:45 +0000
- Subject: [Bug malloc/21120] New: glibc malloc is incompatible with GCC 7
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=21120
Bug ID: 21120
Summary: glibc malloc is incompatible with GCC 7
Product: glibc
Version: 2.25
Status: NEW
Severity: normal
Priority: P2
Component: malloc
Assignee: unassigned at sourceware dot org
Reporter: fweimer at redhat dot com
Target Milestone: ---
Target: i386
Flags: security-
GCC 7 changes the definition of max_align_t on i386:
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=9b5c49ef97e63cc63f1ffa13baf771368105ebe2
As a result, glibc malloc no longer returns memory blocks which are as aligned
as max_align_t requires.
This causes malloc/tst-malloc-thread-fail to fail with an error like this one:
error: allocation function 0, size 144 not aligned to 16
We should increase the malloc alignment to 16, or ask GCC to revert the change.
--
You are receiving this mail because:
You are on the CC list for the bug.