Re: [RFC PATCH 0/1] Wrong structure alignment due to compiler attribute "section"

From: Lino Sanfilippo
Date: Thu Mar 05 2015 - 08:21:27 EST


On 05.03.2015 13:26, Dave Martin wrote:


So this is indeed a compiler bug, right?

It certainly looks like the compiler is causing the issue somehow.

Whether this is a bug, a bug-like feature, a configuration issue,
or a combination of these is not clear.

If you know where to find the toolchain source, it might be worth
taking a look.

The toolchain can be found here:
http://www.plugcomputer.org/405/us/gplugd/tool-chain/arm-marvell-linux-gnueabi.tar.bz2

But since it turns out to be a compiler issue I dont know if its worth to be investigated further. I think the best solution to avoid that structure alignment problem is to simply use another toolchain.

Dave, I thank you very much for your help and efforts to clarify that this is actually not a bug in the kernel.

Thx,
Lino

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/