[Pkg-rust-maintainers] Bug#881846: rustc: FTBFS on armel

Tixy tixy at yxit.co.uk
Wed Nov 15 19:04:14 UTC 2017


On Wed, 2017-11-15 at 18:37 +0000, Tixy wrote:
> On Wed, 2017-11-15 at 19:21 +0100, John Paul Adrian Glaubitz wrote:
> > On 11/15/2017 07:16 PM, Tixy wrote:
> > > On Wed, 2017-11-15 at 18:53 +0100, John Paul Adrian Glaubitz wrote:
> > >> As for the atomics: What strikes me odd is that upstream claims that
> > >> ARMv6 is supported. But to my current knowledge, proper atomics were
> > >> only introduced with ARMv7.
> > > 
> > > ARMv6 has 32-bit atomics (LDREX and STREX instructions), and ARMv6K adds
> > > 8-, 16-, and 64-bit versions.
> > 
> > Ah, I guess my memory is wrong then. Were there any changes regarding
> > atomics in ARMv7
> 
> Not that I know of.

Actually, just been refreshing my memory with the help of Google and the
memory barriers instruction DMB was new in ARMv7. Before then, the same
operations was done with a co-processor instructions instead.
These memory barriers would be required in any kind of locking
operation; which may, or may not, be relevant to $subject.

-- 
Tixy



More information about the Pkg-rust-maintainers mailing list