Still not solved this. Don't work with -j option, and working without -j at all.
Arch don't have additional c++ packages for gcc.
Commands not helped me.
GCC_EXEC_PREFIX=/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0
GCC_EXEC_PREFIX=/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/
echo $GCC_EXEC_PREFIX
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/
Also tried indicate path to g++
GCC_EXEC_PREFIX=/usr/bin/
echo $GCC_EXEC_PREFIX
/usr/bin/
PATH=/usr/bin/
I'm Russian and first time working with gcc. Solving this strange problem hard to me.
Before i compiling Unreal Engine, Blender and Armor Paint, but this a bit easier.
Why without -j compiler found all files and compiling in 1 thread, but with -j8 cannot found files.
WTF?
[100%] lto-wrapper: fatal error: execvp: No such file or directory
compilation terminated.
/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
scons: *** [bin/godot.x11.opt.tools.64] Error 1
scons: building terminated because of errors.
execvp does not exist how file at all, i guess execvp part of g++