Re: 'posix_spawnp' error in build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2023-12-27 at 09:49 +0530, Prashant wrote:
> Hello,
> 
> > The info is not sufficient to diagnose the root cause.
> 
> > Can you provide more information?
> 
> > - The exact version of GCC;
> > - The system type;
> > - The options given when GCC was configured/built;
> > - The complete command line that triggers the error (not the "make"
> > command, but the command which really outputted this error message, i.
> > e. "/path/to/.../xgcc ...")

It'd be better to have a complete log (from running make -j4 in a clean
build directory).

>  * Version GCC: gcc-14-20231224
>  * system-type: Ubuntu-18.04 LTS (WSL)
>  * options when configured (exact command given, the given are the only commands I have given): 
>    $PWD/../gcc/configure --prefix=$HOME/GCC --enable-languages=c,c++ --disable-werror --disable-multilib
>  * complete command that triggers the error (I have attached the log too, that has the complete set of outputs):
>    make[3]: Entering directory '/home/prashanthd/gcc-install/objdir/gcc'
>    .......<some more text>
>    /home/prashanthd/gcc-install/objdir/./gcc/xgcc -B/home/prashanthd/gcc-install/objdir/./gcc/ -fno-checking -xc++ -nostdinc /dev/null -S -o /dev/null -fself-test=../../gcc/gcc/testsuite/selftests
>    xgcc: fatal error: cannot execute ‘cc1plus’: posix_spawnp: No such file or directory
>    compilation terminated.
>    ../../gcc/gcc/cp/Make-lang.in:255: recipe for target 's-selftest-c++' failed

Does cc1plus exist in $HOME/gcc-install/objdir/gcc then?


-- 
Xi Ruoyao <xry111@xxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux