public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* 'posix_spawnp' error in build
@ 2023-12-25 14:41 Prashant
  2023-12-25 16:28 ` Segher Boessenkool
  0 siblings, 1 reply; 9+ messages in thread
From: Prashant @ 2023-12-25 14:41 UTC (permalink / raw)
  To: gcc-help, gcc

[-- Attachment #1: Type: text/plain, Size: 1625 bytes --]

Hello,

I'm new to the GCC community, who is willing to contribute and expand my
knowledge on compilers. I hope this is the right forum I'm asking for help.

 I'm trying to build the gcc repository. Based on the instructions given on
the SummerOfCode - GCC Wiki (gnu.org)
<https://gcc.gnu.org/wiki/SummerOfCode#Before_you_apply> and GCC for New
Contributors — GCC Contributors Guide 0.1 documentation
(gcc-newbies-guide.readthedocs.io)
<https://gcc-newbies-guide.readthedocs.io/en/latest/>, I have tried the
following commands.

1) git clone git://gcc.gnu.org/git/gcc.git
2) cd gcc & ./contrib/download_prerequisites
3) mkdir objdir & cd objdir
4) ../gcc/configure --prefix=/home/path/to/gcc --enable-languages=c,c++
5) make -j 4

Running the 5th throws the following error:
'xgcc: fatal error: cannot execute ‘cc1plus’: posix_spawnp: No such file or
directory
compilation terminated.'

I have tried to search Google and take help of ChatGPT but even the
guidance didn't resolve my issue.

Following are the solutions that I tried.

Executing the command:

1) 'sudo apt-get install --reinstall build-essential'
2) 'sudo apt-get install --reinstall g++'
3) 'unset GCC_EXEC_PREFIX'

This is based on the following pages:
php - Compile error: "g++: error trying to exec 'cc1plus': execvp: No such
file or directory" - Stack Overflow
<https://stackoverflow.com/questions/8878676/compile-error-g-error-trying-to-exec-cc1plus-execvp-no-such-file-or-dir>

and ChatGPT inputs.

I haven't been able to find a solution for the same. Any guidance/input
will be appreciated.


Thanks

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 'posix_spawnp' error in build
  2023-12-25 14:41 'posix_spawnp' error in build Prashant
@ 2023-12-25 16:28 ` Segher Boessenkool
  2023-12-25 16:33   ` Xi Ruoyao
  2023-12-25 18:26   ` Prashant
  0 siblings, 2 replies; 9+ messages in thread
From: Segher Boessenkool @ 2023-12-25 16:28 UTC (permalink / raw)
  To: Prashant; +Cc: gcc-help, gcc

Hi!

On Mon, Dec 25, 2023 at 08:11:23PM +0530, Prashant via Gcc-help wrote:
>  I'm trying to build the gcc repository. Based on the instructions given on
> the SummerOfCode - GCC Wiki (gnu.org)
> <https://gcc.gnu.org/wiki/SummerOfCode#Before_you_apply> and GCC for New
> Contributors — GCC Contributors Guide 0.1 documentation
> (gcc-newbies-guide.readthedocs.io)
> <https://gcc-newbies-guide.readthedocs.io/en/latest/>, I have tried the
> following commands.
> 
> 1) git clone git://gcc.gnu.org/git/gcc.git
> 2) cd gcc & ./contrib/download_prerequisites
> 3) mkdir objdir & cd objdir
> 4) ../gcc/configure --prefix=/home/path/to/gcc --enable-languages=c,c++

That is wrong.  Build dir as a subdir of the source dir is not
supported.  It might work in many cases, but that does not mean it is
okay to do.

> Running the 5th throws the following error:
> 'xgcc: fatal error: cannot execute ‘cc1plus’: posix_spawnp: No such file or
> directory
> compilation terminated.'

I don't know if that is one of the weird problems caused by this.  Easy
enough to find out.  First "make distclean", and then "git status".

The error message says that the newly compiled compiler driver ("xgcc",
which will be insbtalled as just "gcc" eventually) cannot execute the
newly compiled actual C++ compiler ("cc1plus"), not from the place it
thinks it put it, anyway.

gl;hf, happy holidays, let us know how it went / what else you find out,


Segher

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 'posix_spawnp' error in build
  2023-12-25 16:28 ` Segher Boessenkool
@ 2023-12-25 16:33   ` Xi Ruoyao
  2023-12-25 23:00     ` Segher Boessenkool
  2023-12-25 18:26   ` Prashant
  1 sibling, 1 reply; 9+ messages in thread
From: Xi Ruoyao @ 2023-12-25 16:33 UTC (permalink / raw)
  To: Segher Boessenkool, Prashant; +Cc: gcc-help, gcc

On Mon, 2023-12-25 at 10:28 -0600, Segher Boessenkool wrote:
> Hi!
> 
> On Mon, Dec 25, 2023 at 08:11:23PM +0530, Prashant via Gcc-help wrote:
> >  I'm trying to build the gcc repository. Based on the instructions given on
> > the SummerOfCode - GCC Wiki (gnu.org)
> > <https://gcc.gnu.org/wiki/SummerOfCode#Before_you_apply> and GCC for New
> > Contributors — GCC Contributors Guide 0.1 documentation
> > (gcc-newbies-guide.readthedocs.io)
> > <https://gcc-newbies-guide.readthedocs.io/en/latest/>, I have tried the
> > following commands.
> > 
> > 1) git clone git://gcc.gnu.org/git/gcc.git
> > 2) cd gcc & ./contrib/download_prerequisites
> > 3) mkdir objdir & cd objdir
> > 4) ../gcc/configure --prefix=/home/path/to/gcc --enable-languages=c,c++
> 
> That is wrong.  Build dir as a subdir of the source dir is not
> supported.  It might work in many cases, but that does not mean it is
> okay to do.

It *is* supported, per discussion at
https://gcc.gnu.org/pipermail/gcc-patches/2023-November/638760.html.

But then you should use "../configure", not "../gcc/configure".  Running
the configure script of a GCC component (instead of the top-level
configure) directly is completely unsupported.

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 'posix_spawnp' error in build
  2023-12-25 16:28 ` Segher Boessenkool
  2023-12-25 16:33   ` Xi Ruoyao
@ 2023-12-25 18:26   ` Prashant
  1 sibling, 0 replies; 9+ messages in thread
From: Prashant @ 2023-12-25 18:26 UTC (permalink / raw)
  To: Segher Boessenkool; +Cc: gcc-help, gcc

[-- Attachment #1: Type: text/plain, Size: 1118 bytes --]

On Mon, 25 Dec 2023 at 22:00, Segher Boessenkool <segher@kernel.crashing.org>
wrote:

> Hi!
>
> > That is wrong.  Build dir as a subdir of the source dir is not
> > supported.  It might work in many cases, but that does not mean it is
> > okay to do.
>
> I'm really sorry to miss out this important piece of information. Before
> the execution of step 3, I'm out of the gcc repo. So 'gcc' and 'objdir' are
> in the same level.



>

> I don't know if that is one of the weird problems caused by this.  Easy
> > enough to find out.  First "make distclean", and then "git status".
>
> I don't know if we require it to execute above, specially if it's outside
the actual gcc repo.


> >The error message says that the newly compiled compiler driver ("xgcc",
> > which will be insbtalled as just "gcc" eventually) cannot execute the
> > newly compiled actual C++ compiler ("cc1plus"), not from the place it
> > thinks it put it, anyway.
>
> Any solution for this> Problem still exists.


> > gl;hf, happy holidays, let us know how it went / what else you find out,
>
> Thank you and happy holidays to everyone!
> Segher
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 'posix_spawnp' error in build
  2023-12-25 16:33   ` Xi Ruoyao
@ 2023-12-25 23:00     ` Segher Boessenkool
  2023-12-26 14:04       ` Prashant
  0 siblings, 1 reply; 9+ messages in thread
From: Segher Boessenkool @ 2023-12-25 23:00 UTC (permalink / raw)
  To: Xi Ruoyao; +Cc: Prashant, gcc-help, gcc

On Tue, Dec 26, 2023 at 12:33:40AM +0800, Xi Ruoyao wrote:
> On Mon, 2023-12-25 at 10:28 -0600, Segher Boessenkool wrote:
> > > 1) git clone git://gcc.gnu.org/git/gcc.git
> > > 2) cd gcc & ./contrib/download_prerequisites
> > > 3) mkdir objdir & cd objdir
> > > 4) ../gcc/configure --prefix=/home/path/to/gcc --enable-languages=c,c++
> > 
> > That is wrong.  Build dir as a subdir of the source dir is not
> > supported.  It might work in many cases, but that does not mean it is
> > okay to do.
> 
> It *is* supported, per discussion at
> https://gcc.gnu.org/pipermail/gcc-patches/2023-November/638760.html.

Huh, okay.  That changed "recently" then, for some elongated timescale
anyway :-)

> But then you should use "../configure", not "../gcc/configure".

Ha!  I didn't even notice that.

> Running
> the configure script of a GCC component (instead of the top-level
> configure) directly is completely unsupported.

Without all the necessary configuration arguments, yeah.  So it is still
easier to just make an actually  separate object dir -- even if only so
you can just blow it away when you want to start over :-)


Segher

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 'posix_spawnp' error in build
  2023-12-25 23:00     ` Segher Boessenkool
@ 2023-12-26 14:04       ` Prashant
  2023-12-26 15:49         ` Xi Ruoyao
  0 siblings, 1 reply; 9+ messages in thread
From: Prashant @ 2023-12-26 14:04 UTC (permalink / raw)
  To: Segher Boessenkool; +Cc: Xi Ruoyao, gcc-help, gcc

[-- Attachment #1: Type: text/plain, Size: 1335 bytes --]

Hello,

Any solution you have in mind?

Thanks,
Prashanth

On Tue, 26 Dec 2023 at 04:32, Segher Boessenkool <segher@kernel.crashing.org>
wrote:

> On Tue, Dec 26, 2023 at 12:33:40AM +0800, Xi Ruoyao wrote:
> > On Mon, 2023-12-25 at 10:28 -0600, Segher Boessenkool wrote:
> > > > 1) git clone git://gcc.gnu.org/git/gcc.git
> > > > 2) cd gcc & ./contrib/download_prerequisites
> > > > 3) mkdir objdir & cd objdir
> > > > 4) ../gcc/configure --prefix=/home/path/to/gcc
> --enable-languages=c,c++
> > >
> > > That is wrong.  Build dir as a subdir of the source dir is not
> > > supported.  It might work in many cases, but that does not mean it is
> > > okay to do.
> >
> > It *is* supported, per discussion at
> > https://gcc.gnu.org/pipermail/gcc-patches/2023-November/638760.html.
>
> Huh, okay.  That changed "recently" then, for some elongated timescale
> anyway :-)
>
> > But then you should use "../configure", not "../gcc/configure".
>
> Ha!  I didn't even notice that.
>
> > Running
> > the configure script of a GCC component (instead of the top-level
> > configure) directly is completely unsupported.
>
> Without all the necessary configuration arguments, yeah.  So it is still
> easier to just make an actually  separate object dir -- even if only so
> you can just blow it away when you want to start over :-)
>
>
> Segher
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 'posix_spawnp' error in build
  2023-12-26 14:04       ` Prashant
@ 2023-12-26 15:49         ` Xi Ruoyao
  2023-12-27  4:19           ` Prashant
  0 siblings, 1 reply; 9+ messages in thread
From: Xi Ruoyao @ 2023-12-26 15:49 UTC (permalink / raw)
  To: Prashant, Segher Boessenkool; +Cc: gcc-help

On Tue, 2023-12-26 at 19:34 +0530, Prashant wrote:
> Hello,
> 
> Any solution you have in mind?

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 ...")

and do not cross post to gcc@gcc.gnu.org with no reason.

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 'posix_spawnp' error in build
  2023-12-26 15:49         ` Xi Ruoyao
@ 2023-12-27  4:19           ` Prashant
  2023-12-27 13:45             ` Xi Ruoyao
  0 siblings, 1 reply; 9+ messages in thread
From: Prashant @ 2023-12-27  4:19 UTC (permalink / raw)
  To: Xi Ruoyao; +Cc: Segher Boessenkool, gcc-help


[-- Attachment #1.1: Type: text/plain, Size: 1976 bytes --]

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 ...")


   - 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
   - File system hierarchy(from home directory)
   . (home)
   └── gcc-install
       ├── gcc
       └── objdir

   I have been running the above 'configure command' (Bullet point 3) and
   'make -j 4' command in the objdir directory. Executed the prerequisites
   command (./contrib/download_prerequisites) in the gcc directory before
   executing all of the above.

Getting the same error for Ubuntu versions 22.04, 20.04 and 18.04.

> and do not cross post to gcc@gcc.gnu.org with no reason.
Sorry for that. I've a little less idea on how to use these platforms. Will
take care of the same.

Thanks,
Prashanth

[-- Attachment #2: log.txt --]
[-- Type: text/plain, Size: 25474 bytes --]

[ -f stage_final ] || echo stage3 > stage_final
make[1]: Entering directory '/home/prashanthd/gcc-install/objdir'
make[2]: Entering directory '/home/prashanthd/gcc-install/objdir'
make[3]: Entering directory '/home/prashanthd/gcc-install/objdir'
rm -f stage_current
make[3]: Leaving directory '/home/prashanthd/gcc-install/objdir'
make[2]: Leaving directory '/home/prashanthd/gcc-install/objdir'
make[2]: Entering directory '/home/prashanthd/gcc-install/objdir'
make[3]: Entering directory '/home/prashanthd/gcc-install/objdir/gmp'
make  all-recursive
make[3]: Entering directory '/home/prashanthd/gcc-install/objdir/libiberty'
make[4]: Entering directory '/home/prashanthd/gcc-install/objdir/gmp'
make[3]: Entering directory '/home/prashanthd/gcc-install/objdir/build-x86_64-pc-linux-gnu/libiberty'
make[3]: Entering directory '/home/prashanthd/gcc-install/objdir/gettext'
Making all in tests
make  all-recursive
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/gmp/tests'
make[4]: Entering directory '/home/prashanthd/gcc-install/objdir/libiberty/testsuite'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/prashanthd/gcc-install/objdir/libiberty/testsuite'
make[4]: Entering directory '/home/prashanthd/gcc-install/objdir/gettext'
make[4]: Entering directory '/home/prashanthd/gcc-install/objdir/build-x86_64-pc-linux-gnu/libiberty/testsuite'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/prashanthd/gcc-install/objdir/build-x86_64-pc-linux-gnu/libiberty/testsuite'
make[3]: Leaving directory '/home/prashanthd/gcc-install/objdir/libiberty'
make[3]: Leaving directory '/home/prashanthd/gcc-install/objdir/build-x86_64-pc-linux-gnu/libiberty'
Making all in .
Making all in doc
make[6]: Entering directory '/home/prashanthd/gcc-install/objdir/gmp/tests'
make[6]: Nothing to be done for 'all-am'.
make[6]: Leaving directory '/home/prashanthd/gcc-install/objdir/gmp/tests'
Making all in devel
make[6]: Entering directory '/home/prashanthd/gcc-install/objdir/gmp/tests/devel'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/prashanthd/gcc-install/objdir/gmp/tests/devel'
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/gettext/doc'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/gettext/doc'
Making all in mpn
Making all in intl
make[6]: Entering directory '/home/prashanthd/gcc-install/objdir/gmp/tests/mpn'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/prashanthd/gcc-install/objdir/gmp/tests/mpn'
Making all in mpz
make[6]: Entering directory '/home/prashanthd/gcc-install/objdir/gmp/tests/mpz'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/prashanthd/gcc-install/objdir/gmp/tests/mpz'
Making all in mpq
make[6]: Entering directory '/home/prashanthd/gcc-install/objdir/gmp/tests/mpq'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/prashanthd/gcc-install/objdir/gmp/tests/mpq'
Making all in mpf
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/gettext/intl'
make[6]: Entering directory '/home/prashanthd/gcc-install/objdir/gmp/tests/mpf'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/prashanthd/gcc-install/objdir/gmp/tests/mpf'
Making all in rand
make  all-recursive
make[6]: Entering directory '/home/prashanthd/gcc-install/objdir/gmp/tests/rand'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/prashanthd/gcc-install/objdir/gmp/tests/rand'
Making all in misc
make[3]: Entering directory '/home/prashanthd/gcc-install/objdir/libbacktrace'
make[3]: Entering directory '/home/prashanthd/gcc-install/objdir/zlib'
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g" "CXXFLAGS=-g" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=-static-libstdc++ -static-libgcc " "LIBCFLAGS=-g -O2  " "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make" "MAKEINFO=/home/prashanthd/gcc-install/gcc/missing makeinfo --split-size=5000000 --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/bash" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/home/prashanthd/GCC" "infodir=/home/prashanthd/GCC/share/info" "libdir=/home/prashanthd/GCC/lib" "prefix=/home/prashanthd/GCC" "tooldir=/home/prashanthd/GCC/x86_64-pc-linux-gnu" "AR=ar " "AS=as" "CC=gcc" "CXX=g++ -std=c++11" "LD=ld" "LIBCFLAGS=-g -O2  " "NM=nm" "PICFLAG=" "RANLIB=ranlib " "DESTDIR=" DO=all multi-do # make
make[6]: Entering directory '/home/prashanthd/gcc-install/objdir/gmp/tests/misc'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/prashanthd/gcc-install/objdir/gmp/tests/misc'
Making all in cxx
make[3]: Leaving directory '/home/prashanthd/gcc-install/objdir/zlib'
make  all-am
make[6]: Entering directory '/home/prashanthd/gcc-install/objdir/gmp/tests/cxx'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/prashanthd/gcc-install/objdir/gmp/tests/cxx'
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/gmp/tests'
Making all in mpn
make[4]: Entering directory '/home/prashanthd/gcc-install/objdir/libbacktrace'
make[6]: Entering directory '/home/prashanthd/gcc-install/objdir/gettext/intl'
true  DO=all multi-do # make
make[4]: Leaving directory '/home/prashanthd/gcc-install/objdir/libbacktrace'
make[3]: Leaving directory '/home/prashanthd/gcc-install/objdir/libbacktrace'
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/gmp/mpn'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/gmp/mpn'
Making all in gnulib-lib
Making all in mpz
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/gmp/mpz'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/gmp/mpz'
Making all in mpq
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/gmp/mpq'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/gmp/mpq'
Making all in mpf
make[7]: Entering directory '/home/prashanthd/gcc-install/objdir/gettext/intl/gnulib-lib'
make  all-recursive
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/gmp/mpf'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/gmp/mpf'
Making all in printf
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/gmp/printf'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/gmp/printf'
Making all in scanf
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/gmp/scanf'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/gmp/scanf'
Making all in rand
make[3]: Entering directory '/home/prashanthd/gcc-install/objdir/libcody'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/prashanthd/gcc-install/objdir/libcody'
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/gmp/rand'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/gmp/rand'
Making all in cxx
make[3]: Entering directory '/home/prashanthd/gcc-install/objdir/libdecnumber'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/prashanthd/gcc-install/objdir/libdecnumber'
make[8]: Entering directory '/home/prashanthd/gcc-install/objdir/gettext/intl/gnulib-lib'
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/gmp/cxx'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/gmp/cxx'
Making all in demos
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/gmp/demos'
Making all in calc
make[6]: Entering directory '/home/prashanthd/gcc-install/objdir/gmp/demos/calc'
make  all-am
make[7]: Entering directory '/home/prashanthd/gcc-install/objdir/gmp/demos/calc'
make[7]: Nothing to be done for 'all-am'.
make[7]: Leaving directory '/home/prashanthd/gcc-install/objdir/gmp/demos/calc'
make[6]: Leaving directory '/home/prashanthd/gcc-install/objdir/gmp/demos/calc'
Making all in expr
make[6]: Entering directory '/home/prashanthd/gcc-install/objdir/gmp/demos/expr'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/prashanthd/gcc-install/objdir/gmp/demos/expr'
make[3]: Entering directory '/home/prashanthd/gcc-install/objdir/build-x86_64-pc-linux-gnu/fixincludes'
make[6]: Entering directory '/home/prashanthd/gcc-install/objdir/gmp/demos'
make[6]: Nothing to be done for 'all-am'.
make[6]: Leaving directory '/home/prashanthd/gcc-install/objdir/gmp/demos'
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/gmp/demos'
Making all in tune
make[3]: Entering directory '/home/prashanthd/gcc-install/objdir/lto-plugin'
make[9]: Entering directory '/home/prashanthd/gcc-install/objdir/gettext/intl/gnulib-lib'
make[9]: Nothing to be done for 'all-am'.
make[3]: Nothing to be done for 'all'.
make[9]: Leaving directory '/home/prashanthd/gcc-install/objdir/gettext/intl/gnulib-lib'
make[3]: Leaving directory '/home/prashanthd/gcc-install/objdir/build-x86_64-pc-linux-gnu/fixincludes'
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/gmp/tune'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/gmp/tune'
make[8]: Leaving directory '/home/prashanthd/gcc-install/objdir/gettext/intl/gnulib-lib'
make[7]: Leaving directory '/home/prashanthd/gcc-install/objdir/gettext/intl/gnulib-lib'
Making all in doc
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/gmp/doc'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/gmp/doc'
make  all-am
make[4]: Entering directory '/home/prashanthd/gcc-install/objdir/lto-plugin'
make[7]: Entering directory '/home/prashanthd/gcc-install/objdir/gettext/intl'
make[4]: Leaving directory '/home/prashanthd/gcc-install/objdir/lto-plugin'
make[3]: Leaving directory '/home/prashanthd/gcc-install/objdir/lto-plugin'
make[3]: Entering directory '/home/prashanthd/gcc-install/objdir/build-x86_64-pc-linux-gnu/libcpp'
make[3]: Leaving directory '/home/prashanthd/gcc-install/objdir/build-x86_64-pc-linux-gnu/libcpp'
make[7]: Leaving directory '/home/prashanthd/gcc-install/objdir/gettext/intl'
make[6]: Leaving directory '/home/prashanthd/gcc-install/objdir/gettext/intl'
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/gettext/intl'
Making all in intl-java
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/gmp'
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/gettext/intl-java'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/gettext/intl-java'
Making all in intl-csharp
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/gmp'
make[4]: Leaving directory '/home/prashanthd/gcc-install/objdir/gmp'
make[3]: Leaving directory '/home/prashanthd/gcc-install/objdir/gmp'
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/gettext/intl-csharp'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/gettext/intl-csharp'
Making all in gnulib-lib
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/gettext/gnulib-lib'
make  all-recursive
make[6]: Entering directory '/home/prashanthd/gcc-install/objdir/gettext/gnulib-lib'
make[3]: Entering directory '/home/prashanthd/gcc-install/objdir/mpfr'
Making all in doc
make[4]: Entering directory '/home/prashanthd/gcc-install/objdir/mpfr/doc'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/prashanthd/gcc-install/objdir/mpfr/doc'
Making all in src
make[7]: Entering directory '/home/prashanthd/gcc-install/objdir/gettext/gnulib-lib'
make[7]: Nothing to be done for 'all-am'.
make[7]: Leaving directory '/home/prashanthd/gcc-install/objdir/gettext/gnulib-lib'
make[6]: Leaving directory '/home/prashanthd/gcc-install/objdir/gettext/gnulib-lib'
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/gettext/gnulib-lib'
Making all in src
make[3]: Entering directory '/home/prashanthd/gcc-install/objdir/isl'
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/gettext/src'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/gettext/src'
Making all in po
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/gettext/po'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/gettext/po'
make  all-recursive
Making all in man
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/gettext/man'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/gettext/man'
Making all in m4
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/gettext/m4'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/gettext/m4'
Making all in tests
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/gettext/tests'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/gettext/tests'
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/gettext'
make[4]: Entering directory '/home/prashanthd/gcc-install/objdir/mpfr/src'
make  all-am
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/gettext'
make[4]: Leaving directory '/home/prashanthd/gcc-install/objdir/gettext'
make[3]: Leaving directory '/home/prashanthd/gcc-install/objdir/gettext'
make[4]: Entering directory '/home/prashanthd/gcc-install/objdir/isl'
Making all in .
make[3]: Entering directory '/home/prashanthd/gcc-install/objdir/libcpp'
test -f config.h || (rm -f stamp-h1 && make stamp-h1)
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/libcpp/../mkinstalldirs po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/libcpp/../mkinstalldirs po
: --statistics -o po/be.gmo /home/prashanthd/gcc-install/objdir/../gcc/libcpp/po/be.po
: --statistics -o po/ca.gmo /home/prashanthd/gcc-install/objdir/../gcc/libcpp/po/ca.po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/libcpp/../mkinstalldirs po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/libcpp/../mkinstalldirs po
: --statistics -o po/da.gmo /home/prashanthd/gcc-install/objdir/../gcc/libcpp/po/da.po
: --statistics -o po/de.gmo /home/prashanthd/gcc-install/objdir/../gcc/libcpp/po/de.po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/libcpp/../mkinstalldirs po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/libcpp/../mkinstalldirs po
: --statistics -o po/el.gmo /home/prashanthd/gcc-install/objdir/../gcc/libcpp/po/el.po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/libcpp/../mkinstalldirs po
: --statistics -o po/eo.gmo /home/prashanthd/gcc-install/objdir/../gcc/libcpp/po/eo.po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/libcpp/../mkinstalldirs po
: --statistics -o po/es.gmo /home/prashanthd/gcc-install/objdir/../gcc/libcpp/po/es.po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/libcpp/../mkinstalldirs po
: --statistics -o po/fi.gmo /home/prashanthd/gcc-install/objdir/../gcc/libcpp/po/fi.po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/libcpp/../mkinstalldirs po
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/isl'
: --statistics -o po/fr.gmo /home/prashanthd/gcc-install/objdir/../gcc/libcpp/po/fr.po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/libcpp/../mkinstalldirs po
: --statistics -o po/id.gmo /home/prashanthd/gcc-install/objdir/../gcc/libcpp/po/id.po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/libcpp/../mkinstalldirs po
: --statistics -o po/ja.gmo /home/prashanthd/gcc-install/objdir/../gcc/libcpp/po/ja.po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/libcpp/../mkinstalldirs po
: --statistics -o po/ka.gmo /home/prashanthd/gcc-install/objdir/../gcc/libcpp/po/ka.po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/libcpp/../mkinstalldirs po
: --statistics -o po/nl.gmo /home/prashanthd/gcc-install/objdir/../gcc/libcpp/po/nl.po
: --statistics -o po/pt_BR.gmo /home/prashanthd/gcc-install/objdir/../gcc/libcpp/po/pt_BR.po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/libcpp/../mkinstalldirs po
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/mpfr/src'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/mpfr/src'
make[4]: Leaving directory '/home/prashanthd/gcc-install/objdir/mpfr/src'
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/libcpp/../mkinstalldirs po
Making all in tests
: --statistics -o po/ro.gmo /home/prashanthd/gcc-install/objdir/../gcc/libcpp/po/ro.po
: --statistics -o po/ru.gmo /home/prashanthd/gcc-install/objdir/../gcc/libcpp/po/ru.po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/libcpp/../mkinstalldirs po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/libcpp/../mkinstalldirs po
: --statistics -o po/sr.gmo /home/prashanthd/gcc-install/objdir/../gcc/libcpp/po/sr.po
make[4]: Entering directory '/home/prashanthd/gcc-install/objdir/mpfr/tests'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/prashanthd/gcc-install/objdir/mpfr/tests'
Making all in tune
: --statistics -o po/sv.gmo /home/prashanthd/gcc-install/objdir/../gcc/libcpp/po/sv.po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/libcpp/../mkinstalldirs po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/libcpp/../mkinstalldirs po
make[4]: Entering directory '/home/prashanthd/gcc-install/objdir/mpfr/tune'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/prashanthd/gcc-install/objdir/mpfr/tune'
Making all in tools/bench
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/isl'
: --statistics -o po/tr.gmo /home/prashanthd/gcc-install/objdir/../gcc/libcpp/po/tr.po
Making all in doc
: --statistics -o po/uk.gmo /home/prashanthd/gcc-install/objdir/../gcc/libcpp/po/uk.po
make[4]: Entering directory '/home/prashanthd/gcc-install/objdir/mpfr/tools/bench'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/home/prashanthd/gcc-install/objdir/mpfr/tools/bench'
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/libcpp/../mkinstalldirs po
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/isl/doc'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/isl/doc'
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/libcpp/../mkinstalldirs po
make[4]: Entering directory '/home/prashanthd/gcc-install/objdir/mpfr'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/home/prashanthd/gcc-install/objdir/mpfr'
make[4]: Leaving directory '/home/prashanthd/gcc-install/objdir/isl'
make[3]: Leaving directory '/home/prashanthd/gcc-install/objdir/isl'
make[3]: Leaving directory '/home/prashanthd/gcc-install/objdir/mpfr'
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/libcpp/../mkinstalldirs po
: --statistics -o po/zh_CN.gmo /home/prashanthd/gcc-install/objdir/../gcc/libcpp/po/zh_CN.po
: --statistics -o po/vi.gmo /home/prashanthd/gcc-install/objdir/../gcc/libcpp/po/vi.po
: --statistics -o po/zh_TW.gmo /home/prashanthd/gcc-install/objdir/../gcc/libcpp/po/zh_TW.po
make[3]: Leaving directory '/home/prashanthd/gcc-install/objdir/libcpp'
make[3]: Entering directory '/home/prashanthd/gcc-install/objdir/mpc'
make  all-recursive
make[4]: Entering directory '/home/prashanthd/gcc-install/objdir/mpc'
Making all in src
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/mpc/src'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/mpc/src'
Making all in tests
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/mpc/tests'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/mpc/tests'
Making all in doc
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/mpc/doc'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/mpc/doc'
Making all in tools
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/mpc/tools'
Making all in bench
make[6]: Entering directory '/home/prashanthd/gcc-install/objdir/mpc/tools/bench'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/prashanthd/gcc-install/objdir/mpc/tools/bench'
Making all in mpcheck
make[6]: Entering directory '/home/prashanthd/gcc-install/objdir/mpc/tools/mpcheck'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/prashanthd/gcc-install/objdir/mpc/tools/mpcheck'
make[6]: Entering directory '/home/prashanthd/gcc-install/objdir/mpc/tools'
make[6]: Nothing to be done for 'all-am'.
make[6]: Leaving directory '/home/prashanthd/gcc-install/objdir/mpc/tools'
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/mpc/tools'
make[5]: Entering directory '/home/prashanthd/gcc-install/objdir/mpc'
make[5]: Leaving directory '/home/prashanthd/gcc-install/objdir/mpc'
make[4]: Leaving directory '/home/prashanthd/gcc-install/objdir/mpc'
make[3]: Leaving directory '/home/prashanthd/gcc-install/objdir/mpc'
make[3]: Entering directory '/home/prashanthd/gcc-install/objdir/gcc'
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/gcc/../mkinstalldirs po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/gcc/../mkinstalldirs po
: --statistics -o po/be.gmo /home/prashanthd/gcc-install/objdir/../gcc/gcc/po/be.po
: --statistics -o po/da.gmo /home/prashanthd/gcc-install/objdir/../gcc/gcc/po/da.po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/gcc/../mkinstalldirs po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/gcc/../mkinstalldirs po
: --statistics -o po/el.gmo /home/prashanthd/gcc-install/objdir/../gcc/gcc/po/el.po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/gcc/../mkinstalldirs po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/gcc/../mkinstalldirs po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/gcc/../mkinstalldirs po
: --statistics -o po/es.gmo /home/prashanthd/gcc-install/objdir/../gcc/gcc/po/es.po
: --statistics -o po/fr.gmo /home/prashanthd/gcc-install/objdir/../gcc/gcc/po/fr.po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/gcc/../mkinstalldirs po
: --statistics -o po/fi.gmo /home/prashanthd/gcc-install/objdir/../gcc/gcc/po/fi.po
: --statistics -o po/de.gmo /home/prashanthd/gcc-install/objdir/../gcc/gcc/po/de.po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/gcc/../mkinstalldirs po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/gcc/../mkinstalldirs po
: --statistics -o po/id.gmo /home/prashanthd/gcc-install/objdir/../gcc/gcc/po/id.po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/gcc/../mkinstalldirs po
: --statistics -o po/hr.gmo /home/prashanthd/gcc-install/objdir/../gcc/gcc/po/hr.po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/gcc/../mkinstalldirs po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/gcc/../mkinstalldirs po
: --statistics -o po/ja.gmo /home/prashanthd/gcc-install/objdir/../gcc/gcc/po/ja.po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/gcc/../mkinstalldirs po
: --statistics -o po/ru.gmo /home/prashanthd/gcc-install/objdir/../gcc/gcc/po/ru.po
: --statistics -o po/sr.gmo /home/prashanthd/gcc-install/objdir/../gcc/gcc/po/sr.po
: --statistics -o po/nl.gmo /home/prashanthd/gcc-install/objdir/../gcc/gcc/po/nl.po
: --statistics -o po/sv.gmo /home/prashanthd/gcc-install/objdir/../gcc/gcc/po/sv.po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/gcc/../mkinstalldirs po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/gcc/../mkinstalldirs po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/gcc/../mkinstalldirs po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/gcc/../mkinstalldirs po
: --statistics -o po/uk.gmo /home/prashanthd/gcc-install/objdir/../gcc/gcc/po/uk.po
: --statistics -o po/tr.gmo /home/prashanthd/gcc-install/objdir/../gcc/gcc/po/tr.po
: --statistics -o po/vi.gmo /home/prashanthd/gcc-install/objdir/../gcc/gcc/po/vi.po
: --statistics -o po/zh_CN.gmo /home/prashanthd/gcc-install/objdir/../gcc/gcc/po/zh_CN.po
/bin/bash /home/prashanthd/gcc-install/objdir/../gcc/gcc/../mkinstalldirs po
: --statistics -o po/zh_TW.gmo /home/prashanthd/gcc-install/objdir/../gcc/gcc/po/zh_TW.po
/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=/home/prashanthd/gcc-install/objdir/../gcc/gcc/testsuite/selftests
/home/prashanthd/gcc-install/objdir/../gcc/gcc/cp/Make-lang.in:255: recipe for target 's-selftest-c++' failed
xgcc: fatal error: cannot execute ‘cc1plus’: posix_spawnp: No such file or directory
compilation terminated.
make[3]: Leaving directory '/home/prashanthd/gcc-install/objdir/gcc'
Makefile:5058: recipe for target 'all-stage1-gcc' failed
make[2]: Leaving directory '/home/prashanthd/gcc-install/objdir'
Makefile:29611: recipe for target 'stage1-bubble' failed
make[1]: Leaving directory '/home/prashanthd/gcc-install/objdir'
Makefile:1103: recipe for target 'all' failed

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 'posix_spawnp' error in build
  2023-12-27  4:19           ` Prashant
@ 2023-12-27 13:45             ` Xi Ruoyao
  0 siblings, 0 replies; 9+ messages in thread
From: Xi Ruoyao @ 2023-12-27 13:45 UTC (permalink / raw)
  To: Prashant; +Cc: Segher Boessenkool, gcc-help

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@xry111.site>
School of Aerospace Science and Technology, Xidian University

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-12-27 13:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-25 14:41 'posix_spawnp' error in build Prashant
2023-12-25 16:28 ` Segher Boessenkool
2023-12-25 16:33   ` Xi Ruoyao
2023-12-25 23:00     ` Segher Boessenkool
2023-12-26 14:04       ` Prashant
2023-12-26 15:49         ` Xi Ruoyao
2023-12-27  4:19           ` Prashant
2023-12-27 13:45             ` Xi Ruoyao
2023-12-25 18:26   ` Prashant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).