Re: unaligned memory access with HPPA
John Paul Adrian Glaubitz <[email protected]> Tue, 13 Jan 2026 21:37:45 +0100
| Newsgroups | gmane.linux.debian.ports.hppa |
|---|---|
| Message-ID | <dcff13704aa1d0bb4f4a6c7fa46661383d7ec119.camel@physik.fu-berlin.de> |
Hi Christian, On Tue, 2026-01-13 at 21:26 +0100, Christian Groessler wrote: > I've noticed that the kernel covers up unaligned memory accesses, see=20 > this dmesg message (and the program doesn't crash): >=20 > [26186.220638] unal(9569): unaligned access to 0x000110e9 at ip=20 > 0x00010543 (iir 0x0f40109c) >=20 > Is there a way to disable the handling of unaligned accesses in kernel 6.= x? > I'd like to get a bus error (SIGBUS or other signal) so I can find the= =20 > places in the code where unaligned accesses are done. Looks like there is to control whether to enable the unaligned handler, see= [1]. If you run into programs which trigger SIGBUS, please report them to the li= st as they will affect SPARC as well and we're tracking bugs affecting SPARC i= n [2]. Adrian > [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/co= mmit/?id=3Dbf14e3b979a01cd7298d631736f965fe83c6e2bc > [2] https://github.com/sparclinux/issues/issues --=20 .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913