guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [bootstrappable] Re: [Tinycc-devel] Re: wip-full-source-bootstrap: f


From: Orians, Jeremiah (DTMB)
Subject: RE: [bootstrappable] Re: [Tinycc-devel] Re: wip-full-source-bootstrap: from a 357-byte `hex0' to 'hello'
Date: Fri, 8 Jan 2021 13:36:26 +0000

> If so, is libc malloc supposed to ensure alignment of allocated memory?
> According to https://man7.org/linux/man-pages/man3/malloc.3.html yes.
> @Janneke: So our mes libc malloc should be aligning the stuff--but it's not 
> doing it.  So it's a bug in our libc.

Looks like you'll have to waste 3.7bytes on average per malloc to always pad to 
the 8byte boundary. 

-Jeremiah



reply via email to

[Prev in Thread] Current Thread [Next in Thread]