[prev in list] [next in list] [prev in thread] [next in thread] 

List:       glibc-alpha
Subject:    Re: [PATCH 2/2] powerpc: Move cache line size to rtld_global_ro
From:       Joseph Myers <joseph () codesourcery ! com>
Date:       2020-07-31 18:35:54
Message-ID: alpine.DEB.2.21.2007311833182.6115 () digraph ! polyomino ! org ! uk
[Download RAW message or body]

On Fri, 31 Jul 2020, Florian Weimer via Libc-alpha wrote:

> * Joseph Myers:
> 
> > 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.
> 
> What's your binutils version?

This testing was with 2.35.50.20200720.

> Does this affect the statically linked test binaries built by
> build-many-glibcs.py?

Yes.  I tested build-many-glibcs.py for powerpc-linux-gnu with current 
default versions of everything (so binutils 2.35 branch in this case); 
running the math/atest-exp binary left from a --keep=all build produces 
that same assertion failure.

-- 
Joseph S. Myers
joseph@codesourcery.com


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic