FreeBSD/armv6z/clang on Raspberry Pi 512MB (with U-Boot + ubldr)

David Chisnall theraven at FreeBSD.org
Wed Jan 9 11:47:11 UTC 2013


On 28 Dec 2012, at 16:47, Adrian Chadd wrote:

> david - what's the "right" behaviour here? Surely clang should be
> inserting 4 bytes of padding before that pointer?

The problem appears to be that clang is folding two 32-bit stores into a 64-bit store, which is a perfectly safe thing to do half of the time (i.e. when the alignment of the first one is 64 bits), but not the other half.  I've asked ARM's LLVM/Clang team to look at it, and they say that they can probably do so soon if there's a bug filed in LLVM's bugzilla with a reduced test case.

David


More information about the freebsd-arm mailing list