[PATCH] Avoid expected failure of tst-malloc-thread-fail on ppc
Florian Weimer
fweimer@redhat.com
Fri Jan 15 14:33:00 GMT 2016
ppc has a conformance issue where malloc does not return pointers with
sufficient alignment (bug 6527). The alignment checks in
tst-malloc-thread-fail reveal this.
I believe a previous attempt to fix this has been rolled back because it
broke undump support in Emacs, so I'm working around this in the test
case. Getting MALLOC_ALIGNMENT out of malloc.c is a bit tricky because
its definition changes between SHARED and !SHARED, so I created a new
internal header and included it from a dedicated file.
In the future, I will add additional items to <malloc-private.h> for
some whitebox testing.
Tested on powerpc-redhat-linux-gnu and x86_64-redhat-linux-gnu.
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Avoid-expected-failure-of-tst-malloc-thread-fail-on-.patch
Type: text/x-patch
Size: 12592 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160115/83481af6/attachment.bin>
More information about the Libc-alpha
mailing list