[OE-core] armv6k support in OE for raspberrypi and s3c6410

Richard Purdie richard.purdie at linuxfoundation.org
Sat Aug 30 07:49:25 UTC 2014


On Fri, 2014-08-29 at 22:45 -0500, Peter A. Bigot wrote:
> Unlike normal builds of a gcc toolchain, OE builds the runtime libraries 
> separately in gcc-runtime and using the machine's tuning flags which 
> include the architecture.  The flags affect how atomic operations are 
> implemented in the libraries.

Which are you trying to fix? The on target gcc or the SDK one?

In the SDK case, we have environment files which do explicitly specify
the compiler flags.

On target is harder however the on target gcc is compiled to a specific
PACKAGE_ARCH so we should be able to put specific tuning into that gcc.
It does sound like the changes to gcc-configure-common.inc were not the
way to resolve this though, I'd misunderstood what the patches were
doing.

Can we fix this by adjusting gcc itself (the on target version)?

Its even a very old bug:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=139

but we've not actually hit issues due to this before or at least they've
not been reported in these terms.

Cheers,

Richard




More information about the Openembedded-core mailing list