Re: Quick test on real hardware requested to test qemu

2020-09-22 Thread John Paul Adrian Glaubitz
On 9/22/20 6:06 PM, John Paul Adrian Glaubitz wrote: > Hmm, now it fails with __alignof__(): > > (sid-m68k-sbuild)root@epyc:/# debfoster -f > debfoster: /usr/include/atomic_ops/sysdeps/loadstore/atomic_load.h:31: > AO_load: Assertion `((size_t)addr & (__alignof__(*addr) - 1)) == 0' failed. > qemu

Re: Quick test on real hardware requested to test qemu

2020-09-22 Thread Geert Uytterhoeven
Hi Adrian, On Tue, Sep 22, 2020 at 5:23 PM John Paul Adrian Glaubitz wrote: > On 9/22/20 3:27 PM, John Paul Adrian Glaubitz wrote: > >>> That a typical bad alignment check. It should use __alignof__, not > >>> sizeof. > >> > >> Aha, I was assuming something like that already but I wasn't sure si

Re: Quick test on real hardware requested to test qemu

2020-09-22 Thread John Paul Adrian Glaubitz
On 9/22/20 5:23 PM, John Paul Adrian Glaubitz wrote:> On 9/22/20 3:27 PM, John Paul Adrian Glaubitz wrote: That a typical bad alignment check. It should use __alignof__, not sizeof. >>> >>> Aha, I was assuming something like that already but I wasn't sure since >>> libatomic-ops wasn't

Re: Quick test on real hardware requested to test qemu

2020-09-22 Thread John Paul Adrian Glaubitz
On 9/22/20 3:27 PM, John Paul Adrian Glaubitz wrote: >>> That a typical bad alignment check. It should use __alignof__, not >>> sizeof. >> >> Aha, I was assuming something like that already but I wasn't sure since >> libatomic-ops wasn't >> updated for a while in Debian [1]. > > What would be th

Re: Quick test on real hardware requested to test qemu

2020-09-22 Thread Andreas Schwab
On Sep 22 2020, John Paul Adrian Glaubitz wrote: > root@pacman:~# debfoster > debfoster: /usr/include/atomic_ops/sysdeps/loadstore/atomic_load.h:31: > AO_load: Assertion `((size_t)addr & (sizeof(*addr) - 1)) == 0' failed. That a typical bad alignment check. It should use __alignof__, not sizeof

Re: Quick test on real hardware requested to test qemu

2020-09-22 Thread John Paul Adrian Glaubitz
On 9/22/20 3:24 PM, John Paul Adrian Glaubitz wrote: > On 9/22/20 3:22 PM, Andreas Schwab wrote: >> On Sep 22 2020, John Paul Adrian Glaubitz wrote: >> >>> root@pacman:~# debfoster >>> debfoster: /usr/include/atomic_ops/sysdeps/loadstore/atomic_load.h:31: >>> AO_load: Assertion `((size_t)addr & (s

Re: Quick test on real hardware requested to test qemu

2020-09-22 Thread John Paul Adrian Glaubitz
On 9/22/20 3:22 PM, Andreas Schwab wrote: > On Sep 22 2020, John Paul Adrian Glaubitz wrote: > >> root@pacman:~# debfoster >> debfoster: /usr/include/atomic_ops/sysdeps/loadstore/atomic_load.h:31: >> AO_load: Assertion `((size_t)addr & (sizeof(*addr) - 1)) == 0' failed. > > That a typical bad al

Quick test on real hardware requested to test qemu

2020-09-22 Thread John Paul Adrian Glaubitz
Hi! Could someone install the "debfoster" command please on real hardware and test whether it crashes like it does on qemu? root@pacman:~# debfoster debfoster: /usr/include/atomic_ops/sysdeps/loadstore/atomic_load.h:31: AO_load: Assertion `((size_t)addr & (sizeof(*addr) - 1)) == 0' failed. Abor