Le vendredi 1 novembre 2024, 11:57:17 UTC Aurelien Jarno a écrit :
Hi aurelien,
> control: severity -1 wishlist
> 
> Hi,
> 
> On 2024-10-31 11:24, Bastien Roucariès wrote:
> > Package: libc6-dev
> > Version: 2.40-3
> > Severity: normal
> > Tags: upstream
> > 
> > Dear Maintainer,
> > 
> > Newer hwcap/hwcap2 are not in sync for arm* particularly arm32 (including 
> > crc32
> > flags) 
> 
> The hwcap mechanism has been deprecated in glibc 2.33 in favor of the
> glibc-hwcaps mechanism, and removed in glibc 2.37. Instead of relying on
> a huge number of CPU feature combinations, the new mechanism is based on
> architecture baseline level.
> 
> That said support for the glibc-hwcaps mechanism has only been added on
> powerpc, s390 and x86-64. I don't think there is any interest in
> standardizing the architecture baseline level on arm32.

We need in fact to get the #define HWCAP2_CRC32 (1 << 4)
for  masking unsigned long getauxval(unsigned long type);

HWCAP_NEON is defined by including  #include <sys/auxv.h>
but no HWCAP2_...

This is for me a bug on header.

CRC32 detection for arm32/arm64 get about 400 pages on debian sources, so 
glibc-hwcaps  is may be needed for arm*

Bastien


> 
> Regards
> Aurelien
> 
> 

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to