On 14 Dec 2023, at 07:49, Alexandre Belloni <[email protected]> 
wrote:
> Not obvious but this is the cause of:
> 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/20/builds/8697

That was a fun rabbithole to dig.

The error from the log is:

ERROR: 
/home/pokybuild/yocto-worker/buildtools/build/meta/recipes-devtools/python/python3_3.11.5.bb:
 pgo cannot be enabled as there is no qemu-usermode support for this 
architecture/machine

Which was intentional fallout: MACHINE_FEATURES don’t describe the SDK so that 
this ever worked was more luck than judgement.  Also the python3 recipe will 
write the qemu-calling wrapper script using the architecture only for target 
builds, so we’ve not had PGO nativesdk python since the 3.7.2 upgrade in 
2019[1] which changed this from all builds to target only.

Maybe we should allow machine-sdk configurations to extend SDK_MACHINE_FEATURES 
and then nativesdk can use that?  This might allow the MACHINE_FEATURES to 
“work” without being based on the target machine.

Alternatively, I can remove the pgo from the buildtools build, as it doesn’t 
actually do anything right now anyway.

Ross

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

Reply via email to