https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109135
--- Comment #7 from Steve Kargl <sgk at troutmask dot apl.washington.edu> --- On Wed, Mar 15, 2023 at 08:35:41AM +0000, rguenth at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109135 > > --- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- > (In reply to Steve Kargl from comment #4) > > On Tue, Mar 14, 2023 at 10:36:27PM +0000, sgk at troutmask dot > > apl.washington.edu wrote: > > > > Looking in obj/gcc/Makefile at line 341 I see the comment > > > > # Make sure the $(MAKE) variable is defined. > > > > followed by no checking to see if MAKE is defined. > > Makefile.in has > > # Make sure the $(MAKE) variable is defined. > @SET_MAKE@ > > configure has > > if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then > { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 > $as_echo "yes" >&6; } > SET_MAKE= > else > { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 > $as_echo "no" >&6; } > SET_MAKE="MAKE=${MAKE-make}" > fi > > from AC_PROG_MAKE_SET which seems to check whether make sets $MAKE. > That appearantly succeeds for you. Do you "properly" do sth like > > MAKE=gmake ../configure > > so configure sees which make you are using? I think if your gmake No. I simply use '../configure ; gmake -j6 bootstrap'. This has worked for years. I'm currently using GNU make 4.3. If MAKE is not being set to gmake, then I would expect bootstrap to fail. I plan to run gmake with debugging output, and need to check gmake.info to see how to dump the environment information. > doesn't set it then even recursive configure invocations from gmake > will resort to 'make' > > but then I _think_ that gmake itself sets $MAKE (if it was not set?) for > sub-processes. But maybe only if it thinks its recursive make? I suppose I'll start using the 'MAKE=gmake ..' form or some variation as I use tcsh.