NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/50038: udl (DisplayLink GX-DVI_U2B) alignment fault on earmv6hf NETWALKER
On Thu, Nov 10, 2016 at 11:46:41PM +0900, MOCHIDA Shuji wrote:
> Replace be32enc(), be16enc() to use !(GCC >= 2.95) version, then the device
> works good.
> Something wrong with __builtin_memcpy()? or compiler optimization?
I don't see what is wrong with the source - sc->sc_cmd_buf is a uint8_t*
passed directly as void* to the inline function, no bogus casts involved,
so the compiler can not assume proper alignment.
Maybe I am missing something, or it is a compiler bug.
Martin
Home |
Main Index |
Thread Index |
Old Index