[OE-core] [PATCH] gcc-target.inc: configure gcc for armv7ve targets to default to armv7ve

Andre McCurdy armccurdy at gmail.com
Thu Jun 7 06:56:35 UTC 2018


On Wed, Jun 6, 2018 at 11:04 PM, Khem Raj <raj.khem at gmail.com> wrote:
> On 6/6/18 9:34 PM, Andre McCurdy wrote:
>>
>> Originally these ARM specific EXTRA_OECONF options were applied to
>> both gcc for the target and gcc-cross. That lead to a compromise
>> being made: gcc on the target was configured to default to an ARM
>> architecture which was at least compatible with the target (but not
>> necessarily an exact match) and gcc-cross was configured default to
>> armv7a for both armv7a and armv7ve (to avoid gcc-cross rebuilds when
>> switching between the two).
>>
>> However, when these ARM specific EXTRA_OECONF options were moved from
>> gcc-configure-common.inc into gcc-target.inc (ie they were made to
>> apply only to gcc on the target) the compromise no longer needed to
>> be made.
>>
>> http://git.openembedded.org/openembedded-core/commit/?id=851937dde81de2a9ef54c5f19a78fb12fb82afd4
>
> this was done with a purpose so we can avoid gcc complaining about
> incompatible architectures when building programs on device.

Thanks for your reassurance. I know it was done on purpose... because
it was me that did it! :-)

  http://git.openembedded.org/openembedded-core/commit/?id=02c3ac6f066ccd1cbb6e457080bf10db5d6abfe0

> probably testing compiling some c++ apps on device might be good to validate
> this if at all this is working.



More information about the Openembedded-core mailing list