httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yann Ylavic <ylavic....@gmail.com>
Subject Re: 2.4.17 alignment issue sparc/ia64
Date Fri, 16 Oct 2015 12:48:37 GMT
On Fri, Oct 16, 2015 at 2:35 PM, Rainer Jung <rainer.jung@kippdata.de> wrote:
>
> I didn't yet have the time to reproduce and test your patch, but the
> APR_ALIGN((size),sizeof(void *)) align approach would not work. The problem
> here is that even or especially when building for 32 Bits and then using a
> 64 Bit data type, the alignment fails. So the pointer size would be 4 here,
> but the requirement alignment 8 bytes.

Hm, correct, each integral type (greater than the word) needs be
aligned on its size!

Mime
View raw message