[PATCH 2/2] powerpc: Move cache line size to rtld_global_ro
Joseph Myers
joseph@codesourcery.com
Thu Jul 23 14:47:27 GMT 2020
I'm seeing all the statically linked glibc tests fail for 32-bit powerpc
when built with GCC 10:
malloc.c:2394: sysmalloc: Assertion `(old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)' failed.
Aborted
(A statically linked program with empty main produces that error on
startup.)
If I build glibc with -fcommon, at least a trivial statically linked
binary no longer fails. So I think there may have been something missing
from the fixes to build with -fno-common; they got glibc building again,
but not working in the statically linked case.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list