From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20822 invoked by alias); 6 Mar 2011 17:23:12 -0000 Received: (qmail 20814 invoked by uid 22791); 6 Mar 2011 17:23:11 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 06 Mar 2011 17:23:05 +0000 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id E0778188A190; Sun, 6 Mar 2011 18:23:01 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 2BFCF1C000EA; Sun, 6 Mar 2011 18:23:02 +0100 (CET) Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id nq6srA3vsn3C; Sun, 6 Mar 2011 18:23:02 +0100 (CET) Received: from igel.home (ppp-93-104-143-187.dynamic.mnet-online.de [93.104.143.187]) by mail.mnet-online.de (Postfix) with ESMTP; Sun, 6 Mar 2011 18:23:01 +0100 (CET) Received: by igel.home (Postfix, from userid 501) id 1DF21CA2A0; Sun, 6 Mar 2011 18:23:00 +0100 (CET) From: Andreas Schwab To: Mark Kettenis Cc: jan.kratochvil@redhat.com, brobecker@adacore.com, tromey@redhat.com, yao@codesourcery.com, gdb-patches@sourceware.org Subject: Re: [rfa/rfc] Build libcommon.a for gdb and gdbserver References: <4D30E23F.3080103@codesourcery.com> <4D34C9DE.3040603@codesourcery.com> <4D375F44.70504@codesourcery.com> <20110219121448.GA17297@adacore.com> <201102191318.p1JDIQE6005275@glazunov.sibelius.xs4all.nl> <20110306161631.GA15735@host1.jankratochvil.net> <201103061658.p26Gwvni017860@glazunov.sibelius.xs4all.nl> X-Yow: So this is what it feels like to be potato salad Date: Sun, 06 Mar 2011 18:28:00 -0000 In-Reply-To: <201103061658.p26Gwvni017860@glazunov.sibelius.xs4all.nl> (Mark Kettenis's message of "Sun, 6 Mar 2011 17:58:57 +0100 (CET)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-03/txt/msg00398.txt.bz2 Mark Kettenis writes: >> Date: Sun, 6 Mar 2011 17:16:31 +0100 >> From: Jan Kratochvil >> >> On Sat, 19 Feb 2011 14:18:26 +0100, Mark Kettenis wrote: >> > Sorry, but I'm really strongly opposed to making GNU make a >> > requirement. >> >> And does GDB HEAD build on BSD with its make? > > It did a couple of days ago. > >> It does not on OpenSolaris 2009.06: >> >> $ cd .../gdb/data-directory >> $ make >> mkdir -p -- ./python/gdb >> mkdir -p -- ./python/./../python/lib/gdb >> /usr/bin/ginstall: cannot stat `./../python/lib/./../python/lib/gdb/types.py': >> No such file or directory >> *** Error code 1 >> make: Fatal error: Command failed for target `stamp-python' >> >> But maybe it is a Solaris make bug and BSD make is compatible. > > Solaris make is probably of SVR4 heritage. Different codebase, > different bugs! The problem here is that $(PYTHON_FILES) appears as prerequisite of the rule and the files are found via VPATH, so Solaris make modified the expansion of $(PYTHON_FILES) to prefix it with the VPATH, causing PYTHON_SRCDIR to appear twice. (*Note (autoconf) Automatic Rule Rewriting::) Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."