On Tue, 2022-03-01 at 16:12 +0800, Chen Qi wrote:
> Currently the TRANSLATED_TARGET_ARCH is not changed when trying
> to set preferred version for canadian recipes.
> 
> e.g.
> ```
> bitbake core-image-minimal -c populate_sdk -e > env
> grep ^PREFERRED_VERSION_gcc-cross-canadian env
> ```
> The result is:
> """
> PREFERRED_VERSION_gcc-cross-canadian-x86-64="11.%"
> """
> 
> We need to explictly change DEFAULTTUNE to ensure TRANSLATED_TARGET_ARCH is
> changed when trying to set the preferred version for multilib version of
> the canadian recipes.
> 
> e.g.
> ```
> bitbake core-image-minimal -c populate_sdk -e > env
> grep ^PREFERRED_VERSION_gcc-cross-canadian env
> ```
> The result is:
> """
> PREFERRED_VERSION_gcc-cross-canadian-i686="11.%"
> PREFERRED_VERSION_gcc-cross-canadian-x86-64="11.%"
> """
> 
> Signed-off-by: Chen Qi <[email protected]>
> ---
>  meta/classes/multilib_global.bbclass | 3 +++
>  1 file changed, 3 insertions(+)

This seems to break multilib builds:

https://autobuilder.yoctoproject.org/typhoon/#/builders/44/builds/4844

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#162584): 
https://lists.openembedded.org/g/openembedded-core/message/162584
Mute This Topic: https://lists.openembedded.org/mt/89471636/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to