From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 137CF3858418; Wed, 15 Mar 2023 14:33:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 137CF3858418 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678890815; bh=6Hew9jBEBva31JWxw4zydn7iWr1qGiISHHOVBa2qpIA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=EZiBjGRWktgeE5h1y2+30pHDC4iOJgT3pwRzq/2oseIpT/8q05PJqpbpt5BhP7Bf1 OlSeBBKeiIx9wBMertMMhtNk8oeaUUKUwwR0gKeHFSQk3kZh9gazNV0R95SLyUJdkz T+PNeOn3wyPpJzzsYTkjecyR8UvCPVVQcq8wNPMY= From: "sgk at troutmask dot apl.washington.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/109135] Wrong make utility called with LTO testsuite Date: Wed, 15 Mar 2023 14:33:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: lto X-Bugzilla-Severity: normal X-Bugzilla-Who: sgk at troutmask dot apl.washington.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109135 --- Comment #7 from Steve Kargl -= -- 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=3D109135 >=20 > --- Comment #6 from Richard Biener --- > (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: > >=20 > > Looking in obj/gcc/Makefile at line 341 I see the comment > >=20 > > # Make sure the $(MAKE) variable is defined. > >=20 > > followed by no checking to see if MAKE is defined. >=20 > Makefile.in has >=20 > # Make sure the $(MAKE) variable is defined. > @SET_MAKE@ >=20 > configure has >=20 > if eval test \$ac_cv_prog_make_${ac_make}_set =3D yes; then > { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 > $as_echo "yes" >&6; } > SET_MAKE=3D > else > { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 > $as_echo "no" >&6; } > SET_MAKE=3D"MAKE=3D${MAKE-make}" > fi >=20 > from AC_PROG_MAKE_SET which seems to check whether make sets $MAKE. > That appearantly succeeds for you. Do you "properly" do sth like >=20 > MAKE=3Dgmake ../configure >=20 > 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.=20 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' >=20 > 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=3Dgmake ..' form or some variation as I use tcsh.=