Hello, as said, building hedgewars on ppc64el and armhf rerurns this error: dh_dwz: error: dwz -mdebian/hedgewars/usr/lib/debug/.dwz/powerpc64le-linux-gnu/hedgewars.debug -M/usr/lib/debug/.dwz/powerpc64le-linux-gnu/hedgewars.debug -- debian/hedgewars/usr/lib/hedgewars/bin/hedgewars debian/hedgewars/usr/lib/hedgewars/bin/hedgewars-server debian/hedgewars/usr/lib/hedgewars/bin/hwengine debian/hedgewars/usr/lib/hedgewars/lib/libavwrapper.so.1.0 debian/hedgewars/usr/lib/hedgewars/lib/libphyslayer.so.1.0 returned exit code 1 dh_dwz: error: Aborting due to earlier error make[1]: Leaving directory '/<<PKGBUILDDIR>>' /usr/bin/dwz: ./obj-arm-linux-gnueabihf/bin/hedgewars-server: .debug_info section not present /usr/bin/dwz: ./bin/hwengine: .debug_info section not present /usr/bin/dwz: ./bin/libavwrapper.so.1.0: .debug_info section not present /usr/bin/dwz: ./bin/libphyslayer.so.1.0: .debug_info section not present armhf tarball attached
Created attachment 14026 [details] bin armhf tarball
Created attachment 14027 [details] obj armhf tarball
btw the return value is 1
and dwz version is: 0.14
dwz: debian/hedgewars/usr/lib/hedgewars/bin/hedgewars: Unknown debugging section .debug_addr is probably the culprit
Hello, the culprit is that we are emitting dwarf-5 clang binaries, and dwz is not compatible with it. appending the -gdwarf-4 C*FLAG to the build works. But ideally upstream dwz should support dwarf-5, considering a patch is already available. https://sourceware.org/pipermail/dwz/2021q1/000930.html
Duplicate *** This bug has been marked as a duplicate of bug 27375 ***