On Tue, 11 Nov 2025 at 13:51, Markus Volk <[email protected]> wrote:

> Now compilation started  and failed some time later with a more informative 
> error:
> | FAILED: [code=1] 
> media_driver/CMakeFiles/iHD_drv_video_COMMON.dir/agnostic/common/cm/cm_array.cpp.o
> | 
> /home/flk/bitbake-builds/poky-master-poky-distro_poky-altcfg-machine_genericx86-64/build/tmp/work/core2-64-poky-linux/intel-media-driver/25.1.4/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++
>  
> --sysroot=/home/flk/bitbake-builds/poky-master-poky-distro_poky-altcfg-machine_genericx86-64/build/tmp/work/core2-64-poky-linux/intel-media-driver/25.1.4/recipe-sysroot
>  
> @media_driver/CMakeFiles/iHD_drv_video_COMMON.dir/agnostic/common/cm/cm_array.cpp.o.rsp
>  -MD -MT 
> media_driver/CMakeFiles/iHD_drv_video_COMMON.dir/agnostic/common/cm/cm_array.cpp.o
>  -MF 
> media_driver/CMakeFiles/iHD_drv_video_COMMON.dir/agnostic/common/cm/cm_array.cpp.o.d
>  -o 
> media_driver/CMakeFiles/iHD_drv_video_COMMON.dir/agnostic/common/cm/cm_array.cpp.o
>  -c 
> /home/flk/bitbake-builds/poky-master-poky-distro_poky-altcfg-machine_genericx86-64/build/tmp/work/core2-64-poky-linux/intel-media-driver/25.1.4/sources/intel-media-driver-25.1.4/media_driver/agnostic/common/cm/cm_array.cpp
> | x86_64-poky-linux-g++: fatal error: cannot execute 
> '/home/flk/bitbake-builds/poky-master-poky-distro_poky-altcfg-machine_genericx86-64/build/tmp/work/core2-64-poky-linux/intel-media-driver/25.1.4/recipe-sysroot-native/usr/bin/x86_64-poky-linux/../../libexec/x86_64-poky-linux/gcc/x86_64-poky-linux/15.2.0/cc1plus':
>  posix_spawn: Argument list too long
> | compilation terminated.

This line in itself is not problematic, but somehow the arguments that
g++ passes to cc1plus are. Which makes me wonder, what does
'@media_driver/CMakeFiles/iHD_drv_video_COMMON.dir/agnostic/common/cm/cm_array.cpp.o.rsp'
part do? I haven't seen such syntax before. I suspect that becomes a
very long list of files, each with a full path that exceeds the limits
anywhere with a long-ish build prefix, not just one made by
bitbake-setup.

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

Reply via email to