Bug#1065695: libhsa-runtime-dev: endianness detection in fails on arm64 and ppc64el

2024-03-15 Thread Cordell Bloor
On Sat, 09 Mar 2024 22:57:24 +0100 Petter Reinholdtsen wrote: > > Picking the correct endian test is quite complex, if we should believe > https://stackoverflow.com/questions/8978935/detecting-endianness >. > > Note, there are middle endian architetures in addition to big and little > endian

Bug#1065695: libhsa-runtime-dev: endianness detection in fails on arm64 and ppc64el

2024-03-09 Thread Petter Reinholdtsen
Picking the correct endian test is quite complex, if we should believe https://stackoverflow.com/questions/8978935/detecting-endianness >. Note, there are middle endian architetures in addition to big and little endian architectures, and some architectures have different endianness for

Bug#1065695: libhsa-runtime-dev: endianness detection in fails on arm64 and ppc64el

2024-03-08 Thread Cordell Bloor
Package: libhsa-runtime-dev Version: 5.7.1-1 Severity: normal X-Debbugs-Cc: c...@slerp.xyz Dear Maintainer, The endianness detection logic in hsa/hsa.h fails on arm64 and ppc64el, which leads to build failures in rccl on those platforms [1]. The current logic is: // Try to detect CPU