On 2019-06-21 02:04, Vincent Hobeïka wrote: > Package: libc6 > Version: 2.28-10 > Severity: important > > Dear Maintainer, > > It seems ${PLATFORM} is wrongly expanded on x86_64 architectures with > libc6 2.28.
I confirm that ${PLATFORM} is expanded to "haswell" if you have an Haswell CPU. But I disagree that this is a wrong behaviour. The ${PLATFORM} values has been designed to provide CPU specific optimized libraries. There is no guarantee it matches the architecture. The architecture name is only used when there is no more specific match. For example on i386, it can be either i586 or i686 depending on your CPU. Here are a few examples of values that can be found on various architectures: mips: loongson2e, loongson2f, octeon, octeon2 s390x: g5, z900, z990, z9-109, z10, z196, zEC12, z13, z14 x86: i586, i686, haswell, xeon_phi > This leads to troubles while referencing libraries. The bug is probably in that libraries which wrongly use ${PLATFORM} -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://www.aurel32.net