This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PowerPC malloc alignment
- From: Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>
- To: drow at false dot org
- Cc: roland at redhat dot com, jakub at redhat dot com, libc-alpha at sourceware dot org, sjmunroe at us dot ibm dot com
- Date: 3 Nov 2007 11:52:47 -0000
- Subject: Re: PowerPC malloc alignment
- References: <20071031205240.GA30110@caradoc.them.org> <20071031212316.GU2896@sunsite.mff.cuni.cz> <20071031213648.769884D04AE@magilla.localdomain> <20071102194011.GA5520@caradoc.them.org>
> From: Daniel Jacobowitz <drow@false.org>
> I see two ways to increase the alignment.
>
> - Build a second set of malloc routines with the old alignment. At
> malloc_set_state time, install them as hooks if necessary.
>
> - Tell people to rebuild emacs. Improve the crash by adding a
> debugging message out of malloc_set_state when it detects the
> problem.
I hate to suggest it (because you've surely considered it already),
but the obvious alternatives:
- bump libc major version
- put a version tag on malloc et al (don't know if that's feasible)
> Let me know if you think we need the hooks approach.
Let me know too, I may find some time to look at it.
Regards,
Wolfram.