* Remove make gnu-ism in gdbserver
@ 2011-03-01 7:03 Yao Qi
2011-03-04 5:49 ` Joel Brobecker
2011-03-04 17:02 ` Ulrich Weigand
0 siblings, 2 replies; 7+ messages in thread
From: Yao Qi @ 2011-03-01 7:03 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 391 bytes --]
On 03/01/2011 01:46 PM, Yao Qi wrote:
> 3. GNU make feature,
> http://sourceware.org/ml/gdb-patches/2011-02/msg00489.html
> Since we decide not to require GNU make, I'll remove its GNU make feature.
This patch is to fix this problem above. This patch should be applied
top of my "make-clean fix" patch
(http://sourceware.org/ml/gdb-patches/2011-03/msg00020.html).
--
Yao (é½å°§)
[-- Attachment #2: remove-gdbserver-gnu-0301.patch --]
[-- Type: text/x-patch, Size: 581 bytes --]
gdb/gdbserver/
* Makefile.in: Remove GNU make feature --direcotry.
diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in
index d27c942..14ee91f 100644
--- a/gdb/gdbserver/Makefile.in
+++ b/gdb/gdbserver/Makefile.in
@@ -200,7 +200,7 @@ FLAGS_TO_PASS = \
all: gdbserver$(EXEEXT) gdbreplay$(EXEEXT) $(extra_libraries)
$(LIBCOMMON): $(LIBCOMMON_DIR)/Makefile
- @$(MAKE) $(FLAGS_TO_PASS) DO=all --directory=common
+ @$(MAKE) $(FLAGS_TO_PASS) DO=all DODIRS=common subdir_do
common/Makefile: configure-common config.status
CONFIG_FILES="common/Makefile" \
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Remove make gnu-ism in gdbserver
2011-03-01 7:03 Remove make gnu-ism in gdbserver Yao Qi
@ 2011-03-04 5:49 ` Joel Brobecker
2011-03-04 6:34 ` Yao Qi
2011-03-04 17:02 ` Ulrich Weigand
1 sibling, 1 reply; 7+ messages in thread
From: Joel Brobecker @ 2011-03-04 5:49 UTC (permalink / raw)
To: Yao Qi; +Cc: gdb-patches
> gdb/gdbserver/
>
> * Makefile.in: Remove GNU make feature --direcotry.
directory
OK for this one.
--
Joel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Remove make gnu-ism in gdbserver
2011-03-04 5:49 ` Joel Brobecker
@ 2011-03-04 6:34 ` Yao Qi
0 siblings, 0 replies; 7+ messages in thread
From: Yao Qi @ 2011-03-04 6:34 UTC (permalink / raw)
To: Joel Brobecker; +Cc: gdb-patches
On 03/04/2011 01:49 PM, Joel Brobecker wrote:
>> > gdb/gdbserver/
>> >
>> > * Makefile.in: Remove GNU make feature --direcotry.
> directory
>
> OK for this one.
Thanks for the review. Applied.
--
Yao (é½å°§)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Remove make gnu-ism in gdbserver
2011-03-01 7:03 Remove make gnu-ism in gdbserver Yao Qi
2011-03-04 5:49 ` Joel Brobecker
@ 2011-03-04 17:02 ` Ulrich Weigand
2011-03-05 3:25 ` Joel Brobecker
1 sibling, 1 reply; 7+ messages in thread
From: Ulrich Weigand @ 2011-03-04 17:02 UTC (permalink / raw)
To: Yao Qi; +Cc: gdb-patches
Yao Qi wrote:
> $(LIBCOMMON): $(LIBCOMMON_DIR)/Makefile
> - @$(MAKE) $(FLAGS_TO_PASS) DO=all --directory=common
> + @$(MAKE) $(FLAGS_TO_PASS) DO=all DODIRS=common subdir_do
This breaks building gdbserver completely for me:
make[4]: Entering directory `/home/uweigand/fsf/gdb-head-build/gdb/gdbserver'
make[5]: Entering directory `/home/uweigand/fsf/gdb-head-build/gdb/gdbserver'
make[5]: *** No rule to make target `subdir_do'. Stop.
make[5]: Leaving directory `/home/uweigand/fsf/gdb-head-build/gdb/gdbserver'
make[4]: *** [common/libcommon.a] Error 2
And indeed there is no make target "subdir_do" in the gdbserver Makefile ...
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Remove make gnu-ism in gdbserver
2011-03-04 17:02 ` Ulrich Weigand
@ 2011-03-05 3:25 ` Joel Brobecker
2011-03-05 3:51 ` Joel Brobecker
2011-03-05 14:15 ` Yao Qi
0 siblings, 2 replies; 7+ messages in thread
From: Joel Brobecker @ 2011-03-05 3:25 UTC (permalink / raw)
To: Ulrich Weigand; +Cc: Yao Qi, gdb-patches
> > $(LIBCOMMON): $(LIBCOMMON_DIR)/Makefile
> > - @$(MAKE) $(FLAGS_TO_PASS) DO=all --directory=common
> > + @$(MAKE) $(FLAGS_TO_PASS) DO=all DODIRS=common subdir_do
>
> This breaks building gdbserver completely for me:
Probably because Yao forgot that this patch was dependent on
one of his previous patches. I was a little surprised when Yao
said he checked it in, but I thought that maybe the other part
got approved beforehand. Let's see if we can approve the part
of the other patch that - otherwise, we'll make a temporary
revert. Sorry about that.
--
Joel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Remove make gnu-ism in gdbserver
2011-03-05 3:25 ` Joel Brobecker
@ 2011-03-05 3:51 ` Joel Brobecker
2011-03-05 14:15 ` Yao Qi
1 sibling, 0 replies; 7+ messages in thread
From: Joel Brobecker @ 2011-03-05 3:51 UTC (permalink / raw)
To: Ulrich Weigand; +Cc: Yao Qi, gdb-patches
On Sat, Mar 05, 2011 at 07:24:45AM +0400, Joel Brobecker wrote:
> > > $(LIBCOMMON): $(LIBCOMMON_DIR)/Makefile
> > > - @$(MAKE) $(FLAGS_TO_PASS) DO=all --directory=common
> > > + @$(MAKE) $(FLAGS_TO_PASS) DO=all DODIRS=common subdir_do
> >
> > This breaks building gdbserver completely for me:
This should now be fixed. I was able to reproduce by building
the gdbserver standalone. It turns out that the other patch
on which this depended had been approved by me (!), except
that I asked Yao to wait for a few days, in order to give
others some time to comment (I tend to defer to Pedro in the
gdbserver/ area). Since I approved the patch, I applied it now.
--
Joel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Remove make gnu-ism in gdbserver
2011-03-05 3:25 ` Joel Brobecker
2011-03-05 3:51 ` Joel Brobecker
@ 2011-03-05 14:15 ` Yao Qi
1 sibling, 0 replies; 7+ messages in thread
From: Yao Qi @ 2011-03-05 14:15 UTC (permalink / raw)
To: Joel Brobecker; +Cc: Ulrich Weigand, gdb-patches
On 03/05/2011 11:24 AM, Joel Brobecker wrote:
>>> $(LIBCOMMON): $(LIBCOMMON_DIR)/Makefile
>>> - @$(MAKE) $(FLAGS_TO_PASS) DO=all --directory=common
>>> + @$(MAKE) $(FLAGS_TO_PASS) DO=all DODIRS=common subdir_do
>>
>> This breaks building gdbserver completely for me:
>
> Probably because Yao forgot that this patch was dependent on
> one of his previous patches. I was a little surprised when Yao
> said he checked it in, but I thought that maybe the other part
> got approved beforehand. Let's see if we can approve the part
> of the other patch that - otherwise, we'll make a temporary
> revert. Sorry about that.
>
Sorry about breaking the build. I forget that this patch depends on the
other patch which was not approved then.
--
Yao (é½å°§)
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-03-05 14:15 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-01 7:03 Remove make gnu-ism in gdbserver Yao Qi
2011-03-04 5:49 ` Joel Brobecker
2011-03-04 6:34 ` Yao Qi
2011-03-04 17:02 ` Ulrich Weigand
2011-03-05 3:25 ` Joel Brobecker
2011-03-05 3:51 ` Joel Brobecker
2011-03-05 14:15 ` Yao Qi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox