Linux M68K Architecture development
 help / color / mirror / Atom feed
From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: Debian m68k <debian-68k@lists.debian.org>,
	linux-m68k <linux-m68k@lists.linux-m68k.org>
Subject: Re: Quick test on real hardware requested to test qemu
Date: Tue, 22 Sep 2020 15:27:50 +0200	[thread overview]
Message-ID: <f161ba86-7243-3f3f-5183-e010da3f29be@physik.fu-berlin.de> (raw)
In-Reply-To: <885e6765-d049-40a0-8399-bdb2d4f42e91@physik.fu-berlin.de>

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 & (sizeof(*addr) - 1)) == 0' failed.
>>
>> 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 the correct check then in [1]?

Adrian

> [1] https://github.com/ivmai/libatomic_ops/blob/master/src/atomic_ops/sysdeps/loadstore/atomic_load.h#L31

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

  reply	other threads:[~2020-09-22 13:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-22 13:07 Quick test on real hardware requested to test qemu John Paul Adrian Glaubitz
2020-09-22 13:22 ` Andreas Schwab
2020-09-22 13:24   ` John Paul Adrian Glaubitz
2020-09-22 13:27     ` John Paul Adrian Glaubitz [this message]
2020-09-22 15:23       ` John Paul Adrian Glaubitz
2020-09-22 16:06         ` John Paul Adrian Glaubitz
2020-09-22 22:20           ` John Paul Adrian Glaubitz
2020-09-22 17:24         ` Geert Uytterhoeven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f161ba86-7243-3f3f-5183-e010da3f29be@physik.fu-berlin.de \
    --to=glaubitz@physik.fu-berlin.de \
    --cc=debian-68k@lists.debian.org \
    --cc=linux-m68k@lists.linux-m68k.org \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox