[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



On Sat, 09 Mar 2024 22:57:24 +0100 Petter Reinholdtsen <pere@hungry.com> wrote:
>
> Picking the correct endian test is quite complex, if we should believe
> <URL: 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 integeres and floating point numbers. No idea if this affect
> libhsa-runtime-dev, but thought it best to mention it just in case.

I'm not too worried. This endianness logic is only used for pointers and it's easy for library users to override the detection logic if needed.

Sincerely,
Cory Bloor


Reply to: