From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18127 invoked by alias); 5 Apr 2012 09:44:15 -0000 Received: (qmail 18074 invoked by uid 22791); 5 Apr 2012 09:44:14 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,MSGID_MULTIPLE_AT X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.157) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 05 Apr 2012 09:43:54 +0000 Received: from md1.u-strasbg.fr (md1.u-strasbg.fr [IPv6:2001:660:2402::186]) by mailhost.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id q359hXZO052223 ; Thu, 5 Apr 2012 11:43:33 +0200 (CEST) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from mailserver.u-strasbg.fr (ms3.u-strasbg.fr [130.79.204.12]) by md1.u-strasbg.fr (8.14.4/jtpda-5.5pre1) with ESMTP id q359hXhc042926 ; Thu, 5 Apr 2012 11:43:33 +0200 (CEST) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from E6510Muller (gw-ics.u-strasbg.fr [130.79.210.225]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.4/jtpda-5.5pre1) with ESMTP id q359hVsl055573 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) ; Thu, 5 Apr 2012 11:43:32 +0200 (CEST) (envelope-from pierre.muller@ics-cnrs.unistra.fr) From: "Pierre Muller" To: "'Tom Tromey'" Cc: "'Joel Brobecker'" , References: <32726.6318876811$1333031278@news.gmane.org> <87ehs9n7xx.fsf@fleche.redhat.com> <20120330213422.GX2713@adacore.com> <20120330220740.GA18842@adacore.com> <002101cd0f36$ee5b8bc0$cb12a340$@muller@ics-cnrs.unistra.fr> <24504.7532058836$1333217860@news.gmane.org> <877gxykyjq.fsf@fleche.redhat.com> In-Reply-To: <877gxykyjq.fsf@fleche.redhat.com> Subject: RE: gdb/gnulib problems with BSD operating systems Date: Thu, 05 Apr 2012 09:44:00 -0000 Message-ID: <000301cd1310$8fdaad50$af9007f0$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-04/txt/msg00048.txt.bz2 I was looking in the wrong file, I should have compared build/gdb/config.log. I think that I now understood the reason of the different behavior: Using gmake or=20 gmake all Result in MAKE=3Dgmake being passed to configure script in sub-directories via the all phony target that uses RECURSE_FLAGS_TO_PASS for each subdirectory configure call while using gmake all-gdb uses=20 configure-gdb phony target that also calls gdb/configure but without using RECURSE_FLAGS_TO_PASS Thus, the two former get MAKE=3Dgmake environment=20 while the MAKE is not set for the last case. In such case, gdb/configure looks for make in the=20 pass and thus find the BSD make which later fails at build/gdb/gnulib level. It is probably related to some recent change in the top level configure... I have no clue if and how this should be fixed. Especially as top Makefile contains the lines: 691-# We leave this in just in case, but it is not needed anymore. 692:RECURSE_FLAGS_TO_PASS =3D $(BASE_FLAGS_TO_PASS) Pierre Muller > -----Message d'origine----- > De=A0: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] De la p= art > de Tom Tromey > Envoy=E9=A0: lundi 2 avril 2012 16:18 > =C0=A0: Pierre Muller > Cc=A0: 'Joel Brobecker'; gdb@sourceware.org > Objet=A0: Re: gdb/gnulib problems with BSD operating systems >=20 > >>>>> "Pierre" =3D=3D Pierre Muller writes: >=20 > Pierre> There are differences in the gdb/Makefile's (see below) > Pierre> but I have no idea if this explains the > Pierre> failure with all-gdb target. >=20 > These differences look harmless to me. > The biggest one is disabling dependency tracking, since that requires > GNU make -- at configure time. >=20 > Tom