On 2017-05-12, Graham Stephens <gra...@thestephensdomain.com> wrote: > I don't know if this is machine-specific as I only have the one sparc > machine on OpenBSD at the moment (blade 100). > When running wavpack with the -m option (for md5 calculation), I get a > core dump with a message of 'Bus Error'.
That is most likely an unaligned access error. The usual approach is to build a package with debugging symbols (CFLAGS="-g" INSTALL_STRIP="") and examine the core file with gdb. Alas, I don't have any strict alignment machines at hand any longer. I tried to reproduce it on aarch64, but that architecture (or at least the CPU I have) doesn't seem to actually enforce alignment despite the #define __STRICT_ALIGNMENT in <machine/endian.h>. -- Christian "naddy" Weisgerber na...@mips.inka.de