On Sat, May 23, 2020 at 05:52:26PM +0200, Fabian Greffrath wrote: > Hi Adrian,
Hi Fabian, > Am Samstag, den 23.05.2020, 15:39 +0300 schrieb Adrian Bunk: > > cd /<<PKGBUILDDIR>>/obj-s390x-linux-gnu/data && ./rdatawad -I [...] > > /<<PKGBUILDDIR>>/obj-s390x-linux-gnu/prboom-plus.wad > > Segmentation fault > > make[3]: *** [data/CMakeFiles/prboomwad.dir/build.make:257: prboom- > > plus.wad] Error 139 > > are these platforms cross-built? no, all buildd.debian.org builds are native builds. Some non-release architectures are built inside qemu, but for the program built this is like a native build (e.g. the m68k build runs native m68k gcc inside qemu). > I am asking, because one step in > building prboom-plus is to compile a helper tool called "rdatawad" and > run this to combine several graphics and sound files into a data "wad" > file needed by the engine. It is exactly all big endian architectures that fail this way,[1] this looks like "rdatawad" always segfaults on big endian. > - Fabian cu Adrian [1] riscv64 is little endian and fails for unrelated reasons