2048932_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2048932_en-US

2048932_en-US

Yocto build fail (vulkan-validation-layers)

Running bitbake imx-image-multimedia, all passes but vulkan-validation-layers keeps failing. Unsure how to proceed.

Tried to bitbake vulkan-validation-layers -c clean, but still getting same error

ERROR: Task (/opt/yocto/imx-6.6.52-2.2.0-build/sources/poky/meta/recipes-graphics/vulkan/vulkan-validation-layers_1.3.275.0.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1669 tasks of which 1668 didn't need to be rerun and 1 failed.

Attached the log file.

Re: Yocto build fail (vulkan-validation-layers)

Thanks. 

Running on a 6core 12thread intel with 16GB ram.

Managed to get it to work by adding this to the local.conf

BB_NUMBER_THREADS = "2"
PARALLEL_MAKE = "-j2" 

Re: Yocto build fail (vulkan-validation-layers)

A few suggestions for you.

1> The error log indicates that insufficient system resources caused the compilation to terminate. So, suggest to check the number of CPU cores and memory of your HOST, as well as the number of parallel compilations, etc.

2> Follow up the section Host Setup> Yocto User Guide, like the version of Ubuntu, Host packages.

3> Try bitbake vulkan-validation-layers -c cleanall when you clean the one, then rebuild it.


Regards

Harvey

タグ(1)
評価なし
バージョン履歴
最終更新日:
‎11-22-2025 05:49 AM
更新者: