This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: gdb/gnulib problems with BSD operating systems
- From: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- To: "'Tom Tromey'" <tromey at redhat dot com>
- Cc: "'Joel Brobecker'" <brobecker at adacore dot com>, <gdb at sourceware dot org>
- Date: Thu, 5 Apr 2012 11:43:30 +0200
- Subject: RE: gdb/gnulib problems with BSD operating systems
- 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>
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
gmake all
Result in MAKE=gmake
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
configure-gdb phony target
that also calls
gdb/configure
but without using RECURSE_FLAGS_TO_PASS
Thus, the two former
get MAKE=gmake environment
while the MAKE is not set for
the last case.
In such case, gdb/configure looks for make in the
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 = $(BASE_FLAGS_TO_PASS)
Pierre Muller
> -----Message d'origine-----
> De?: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] De la part
> de Tom Tromey
> Envoyé?: lundi 2 avril 2012 16:18
> À?: Pierre Muller
> Cc?: 'Joel Brobecker'; gdb@sourceware.org
> Objet?: Re: gdb/gnulib problems with BSD operating systems
>
> >>>>> "Pierre" == Pierre Muller <pierre.muller@ics-cnrs.unistra.fr>
writes:
>
> 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.
>
> These differences look harmless to me.
> The biggest one is disabling dependency tracking, since that requires
> GNU make -- at configure time.
>
> Tom