|
From: Christian S. <sch...@li...> - 2026-08-13 13:38:45
|
On Tuesday, 11 August 2026 11:19:03 CEST Pranav P wrote: > Hi Christian and the LinuxSampler team, > I have put together a patch to port libgig to big-endian architectures > (testing happend on s390x). This was based on the bug report in Debian: > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1116657 While the > existing code works well on little-endian systems (like x86_64), it > contained several assumptions that caused data corruption, CRC mismatches, > and crashes (due to unaligned memory access) on big-endian systems. Changes > made in this patch: Hi Pranav, thanks for pointing this out and for the patch. I made a quick test with QEMU s390x user mode emulation and was able to reproduce these BE issues. Give me some time. I am thinking about a cleaner approach to fix these. /Christian |