3 ms·
Very likely wrong alignment. This causes hard SIGBUS faults, and SPARC64 is one of the good platforms to catch such misaligned pointers. You cannot repro it in
by rurban 11y ago
Very likely wrong alignment. This causes hard SIGBUS faults, and SPARC64 is one of the good platforms to catch such misaligned pointers.
You cannot repro it in qemu on Intel.
But I don't know what ElfW(Rel) expands to. Maybe only a 4byte word, not 8.
The backtrace doesn't display the register content (THANKS gdb maintainers), and the op didn't provide the registers neither.
0xfffff8010000cda4 in elf_dynamic_do_Rela (skip_ifunc=<optimized out>, lazy=0, nrelative=<optimized out>, relsize=<optimized out>, reladdr=<optimized out>
https://lists.debian.org/debian-sparc/2015/07/msg00013.html https://lists.debian.org/debian-sparc/2015/07/msg00013.html