This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix Solaris make gdb/data-directory/ compat. [Re: [rfa/rfc] Build libcommon.a for gdb and gdbserver]
- From: Yao Qi <yao at codesourcery dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: Andreas Schwab <schwab at linux-m68k dot org>, Mark Kettenis <mark dot kettenis at xs4all dot nl>, brobecker at adacore dot com, tromey at redhat dot com, gdb-patches at sourceware dot org
- Date: Mon, 07 Mar 2011 10:19:22 +0800
- Subject: Re: [patch] Fix Solaris make gdb/data-directory/ compat. [Re: [rfa/rfc] Build libcommon.a for gdb and gdbserver]
- References: <m31v4blatz.fsf@fleche.redhat.com> <4D34C9DE.3040603@codesourcery.com> <m3mxmyi6i3.fsf@fleche.redhat.com> <4D375F44.70504@codesourcery.com> <m3oc69xjx8.fsf@fleche.redhat.com> <20110219121448.GA17297@adacore.com> <201102191318.p1JDIQE6005275@glazunov.sibelius.xs4all.nl> <20110306161631.GA15735@host1.jankratochvil.net> <201103061658.p26Gwvni017860@glazunov.sibelius.xs4all.nl> <m2pqq4xix7.fsf@igel.home> <20110306190515.GC22789@host1.jankratochvil.net>
On 03/07/2011 03:05 AM, Jan Kratochvil wrote:
> On Sun, 06 Mar 2011 18:23:00 +0100, Andreas Schwab wrote:
>> 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::)
> * Automatic Rule Rewriting:: `VPATH' goes wild on Solaris
>
> Thanks for the explanatory documentation reference.
>
> Fixed it on OpenSolaris with /usr/bin/make and checked it is still compatible
> with GNU/Linux. Checked both the in-tree and out-of-tree compilation and
> installation. Checked out-of-tree build directory in a different number of
> subdirectories than the srcdir.
>
> I will even check it in with no comments in some time but a review would be
> better.
Jan,
I don't have some comments to this patch. Do you know which commit
breaks build on Solaris? If it is related to my recent libcommon.a
patches, I'd like to help on this problem.
--
Yao (éå)