pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lang/perl5 broken Makefile
On Fri, May 03, 2019 at 01:32:51PM +0100, Sad Clouds wrote:
> > No, it is accessing 16 bit and 32 bit values, not character (i.e. 8
> > bit) values. I bet perl has other macros for that case.
> >
> > Martin
>
> Yes it is accessing 8-bit chars, and it is casting pointer to chars as
> pointer to 32-bit integer and calling GCC __builtin_bswap32()
No, this is not what U32_ALIGNMENT_REQUIRED is about, it is the wrong
macro to test.
It wants 16 bit values or 32 bit values, and sparc requires natural alignemnt
for pointers to that. U32_ALIGNMENT_REQUIRED talks about alignment requirement
when it really wants to access character (8 bit) values, and there are no
such alignment requirements for sparc. The configure script is fine, the
code using U32_ALIGNMENT_REQUIRED for this case is not.
Martin
Home |
Main Index |
Thread Index |
Old Index