Re: unaligned memory access with HPPA
Sam James <[email protected]> Tue, 13 Jan 2026 20:44:09 +0000
| Newsgroups | gmane.linux.debian.ports.hppa |
|---|---|
| Organization | Gentoo |
| Message-ID | <[email protected]> |
--=-=-= Content-Type: text/plain Christian Groessler <[email protected]> writes: > Hi, > > I've noticed that the kernel covers up unaligned memory accesses, see > this dmesg message (and the program doesn't crash): > > [26186.220638] unal(9569): unaligned access to 0x000110e9 at ip > 0x00010543 (iir 0x0f40109c) > > 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 > places in the code where unaligned accesses are done. You can use prctl (https://sourceforge.net/projects/prctl/). > > regards, > chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEBBAEWCgCpFiEEJaa7iN2bdkxrVUHCc4QJ9SDfkZAFAmlmrpobFIAAAAAABAAO bWFudTIsMi41KzEuMTEsMiwyXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25z Lm9wZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyNUE2QkI4OEREOUI3NjRDNkI1NTQx QzI3Mzg0MDlGNTIwREY5MTkwDxxzYW1AZ2VudG9vLm9yZwAKCRBzhAn1IN+RkOxM AP40A7MsRG57y7U7Bqjbaqm+sPj3fqztMxERlcDGgKG9lgEAk+38lmHh5SKYNdgC p1eLjeZklXkxmRJMHerhRuvw1AQ= =wM9p -----END PGP SIGNATURE----- --=-=-=--