Skip to contentSkip to conversation

Xen 4.9 rc6

PATCH In review Julien Grall 5 participants 18 messages May 22, 2017 – May 25, 2017 Kbuild

lore
Share & tools
lore
#0 lore raw

Hi all,

Xen 4.9 rc6 is tagged. You can check that out from xen.git:

git://xenbits.xen.org/xen.git 4.9.0-rc6

For your convenience there is also a tarball at:
https://downloads.xenproject.org/release/xen/4.9.0-rc6/xen-4.9.0-rc6.tar.gz

And the signature is at:
https://downloads.xenproject.org/release/xen/4.9.0-rc6/xen-4.9.0-rc6.tar.gz.sig

Please send bug reports and test reports to [email protected]. When sending bug reports, please CC relevant maintainers and me ([email protected]).

We are aware of bugs below:
- Recent patches introduced a regression in the build. Some targets (e.g install-tools) will not install the headers. A patch has been sent on the mailing list (see [1]). A known workaround is to call make.
- HVM_set_hvm_param and HVMOP_flush_tlbs may fail if requiring continuation. A patch has been sent on the mailing list (see [2]).

As a reminder, there will be another Xen Test Day tomorrow (Tuesday 23th May), for the instructions see:

https://blog.xenproject.org/2017/04/13/announcing-xen-project-4-9-rc-and-test-day-schedule/

Cheers,

[1] https://lists.xenproject.org/archives/html/xen-devel/2017-05/msg02165.html
[2] https://lists.xenproject.org/archives/html/xen-devel/2017-05/msg02108.html

Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#1 lore raw
Quoted 26 lines · Julien Grall

Hi all,

Xen 4.9 rc6 is tagged. You can check that out from xen.git:

git://xenbits.xen.org/xen.git 4.9.0-rc6

For your convenience there is also a tarball at:
https://downloads.xenproject.org/release/xen/4.9.0-rc6/xen-4.9.0-rc6.tar.gz

And the signature is at:
https://downloads.xenproject.org/release/xen/4.9.0-rc6/xen-4.9.0-rc6.tar.gz.sig

Please send bug reports and test reports to [email protected]. When sending bug reports, please CC relevant maintainers and me ([email protected]).

We are aware of bugs below:
- Recent patches introduced a regression in the build. Some targets (e.g install-tools) will not install the headers. A patch has been sent on the mailing list (see [1]). A known workaround is to call make.
- HVM_set_hvm_param and HVMOP_flush_tlbs may fail if requiring continuation. A patch has been sent on the mailing list (see [2]).

As a reminder, there will be another Xen Test Day tomorrow (Tuesday 23th May), for the instructions see:

Quoted 6 lines

https://blog.xenproject.org/2017/04/13/announcing-xen-project-4-9-rc-and-test-day-schedule/

Cheers,

[1] https://lists.xenproject.org/archives/html/xen-devel/2017-05/msg02165.html
[2] https://lists.xenproject.org/archives/html/xen-devel/2017-05/msg02108.html

I had build problems with these two patches added (and before I added them). It looks like at the stage in my build process where make -j2 prefix=/usr tools
gets run it is running
make -C tools/include install
make -C tools/include dist
together and it fails soon after when the alignment checks run at the same time.

The full build log is at
https://copr-be.cloud.fedoraproject.org/results/myoung/xentest/fedora-26-x86_64/00555373-xen/build.log.gz

Michael Young

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#2 lore raw

(CC Andrew and Ian)

Quoted 49 lines · M A Young
Quoted 26 lines · Julien Grall

Hi all,

Xen 4.9 rc6 is tagged. You can check that out from xen.git:

git://xenbits.xen.org/xen.git 4.9.0-rc6

For your convenience there is also a tarball at:
https://downloads.xenproject.org/release/xen/4.9.0-rc6/xen-4.9.0-rc6.tar.gz

And the signature is at:
https://downloads.xenproject.org/release/xen/4.9.0-rc6/xen-4.9.0-rc6.tar.gz.sig

Please send bug reports and test reports to [email protected]. When sending bug reports, please CC relevant maintainers and me ([email protected]).

We are aware of bugs below:
- Recent patches introduced a regression in the build. Some targets (e.g install-tools) will not install the headers. A patch has been sent on the mailing list (see [1]). A known workaround is to call make.
- HVM_set_hvm_param and HVMOP_flush_tlbs may fail if requiring continuation. A patch has been sent on the mailing list (see [2]).

As a reminder, there will be another Xen Test Day tomorrow (Tuesday 23th May), for the instructions see:

Quoted 6 lines

https://blog.xenproject.org/2017/04/13/announcing-xen-project-4-9-rc-and-test-day-schedule/

Cheers,

[1] https://lists.xenproject.org/archives/html/xen-devel/2017-05/msg02165.html
[2] https://lists.xenproject.org/archives/html/xen-devel/2017-05/msg02108.html

I had build problems with these two patches added (and before I added them). It looks like at the stage in my build process where make -j2 prefix=/usr tools
gets run it is running
make -C tools/include install
make -C tools/include dist
together and it fails soon after when the alignment checks run at the same time.

The full build log is at
https://copr-be.cloud.fedoraproject.org/results/myoung/xentest/fedora-26-x86_64/00555373-xen/build.log.gz

Michael Young

Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#3 lore raw

Julien Grall writes ("Re: [Xen-devel] Xen 4.9 rc6"):

Quoted 9 lines · M A Young
Quoted 8 lines

I had build problems with these two patches added (and before I added them). It looks like at the stage in my build process where make -j2 prefix=/usr tools
gets run it is running
make -C tools/include install
make -C tools/include dist
together and it fails soon after when the alignment checks run at the same time.

I think this is happening because, in xen.git/Makeefile:

dist-tools: dist-tools-public-headers

   dist-%: DESTDIR=$(DISTDIR)/install
   dist-%: install-%
           @: # do nothing

install-tools: build-tools-public-headers

So make thinks it can try to `build' the targets build-tools-public-headers and dist-tools-public-headers simultaneously.

The problem here is that
1. /Makefile needs to invoke each subdirectory exactly once, not multiple times, or they come in parallel
2. /Makefile is (now) confused about when it should handle the relationship between different targets for the same subcomponent, and when the subdirectory Makefile is supposed to do that.

The rule for (2) used to be:
/Makefile converts make dist to DESTDIR=... make install for all other targets, /Makefile's make <target>-<subdir> passes the <target> to <subdir> and does not consider what <target> might mean and whether it ought to imply some other targets in subdir.

I think therefore that maybe this can fixed by:

* Dropping the `dist-tools' dependency on dist-tools-p.-h.

* Replacing the `install-tools' dependency by one on install-tools-p-h.

* Replacing the rules for *-public-headers with something

    like

        %-tools-public-headers:
            $(MAKE) -C tools/include $*

Does this sound plausible ?

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#5 lore raw

PATCH 1/2 tools/include/Makefile: Support `build' target

This is the only one of the Makefiles invoked with -C from the toplevel which lacks this target.

CC Julien Grall <[email protected]>
CC M A Young <[email protected]>
CC Andrew Cooper <[email protected]>
CC Wei Liu <[email protected]>
---
 tools/include/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/include/Makefile +2 -2
index 98b479f..db0f030 100644
@@ -4,8 +4,8 @@ include $(XEN_ROOT)/tools/Rules.mk
 # Relative to $(XEN_ROOT)/xen/xsm/flask
 FLASK_H_DEPEND := policy/initial_sids
 
-.PHONY: all
-all: xen-foreign xen/.dir xen-xsm/.dir
+.PHONY: all build
+all build: xen-foreign xen/.dir xen-xsm/.dir
 
 .PHONY: xen-foreign
 xen-foreign:
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Acked-by on v1 1/2
#6 lore raw

Re: [PATCH for-4.9 1/2] tools/include/Makefile: Support `build' target

Quoted 8 lines · Ian Jackson

This is the only one of the Makefiles invoked with -C from the toplevel which lacks this target.

CC Julien Grall <[email protected]>
CC M A Young <[email protected]>
CC Andrew Cooper <[email protected]>
CC Wei Liu <[email protected]>

Roger.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#7 lore raw

PATCH 2/2 Makefile: Regularise subdir targets and their dependencies

In reply to Ian Jackson

Recent changes to this Makefile have broken some build targets, and some parallel builds.

Looking at it, I think I have identified the undocumented design intent in the top-level Makefile. So in this patch I document it, and also make it true.

In detail:

* Add a comment with the new design intent
* Get rid of the ad-hoc rules for recursing into tools/include, and replace them with a pattern rule
* Add an appropriate dependency on TARGET-tools-public-headers from TARGET-tools and TARGET-stubdom (but not dist-*).
* Get rid of all the separate invocations of $(MAKE) -C tools/include which are now obsolete
* Un-deprecate the simple tools' etc. targets (aliases for dist-tools') which we seem not to be making any effort to get rid of

I have verified with the following shell script that after my change, the tree producese the same results for various build targets as 3fafdc28eb98 (before the Makefile-hacking started).

My tests failed as expected for make -C tools, both before and after.

Separately, there is a bug in the Makefiles that `make distclean-tools' fails. I have not investigated that bug in detail.

#!/bin/bash

set -e
set -o pipefail

listings=../listings

rm -rf $listings
mkdir $listings

chks () {
reskey="C$subdir $*"
reskey="${reskey// /_}"
reskey="${reskey//\//:}"
lk=$listings/$reskey
for suffix in '' -xen -tools -stubdom -docs; do
case "$subdir:$suffix" in
.:*) ;;
*:) ;;
*) continue;;
esac
git clean -qxdff
rm -rf $output
printf '%s' "running -C$subdir suffix=$suffix "
case "$subdir $suffix" in
*xen*) ;;
*) printf 'configure '; ./configure >$lk.cfg 2>&1 ;; esac
fail=''
for targ in $*; do
realtarg=$targ$suffix
printf '%s ' "$realtarg"
if ! make -C $subdir -j10 $realtarg >${lk}_${realtarg}.log 2>&1 then
fail=$realtarg
break
fi
done
if [ "$fail" ]; then
echo fail!
echo "$fail failed" >$lk.list
else
echo ok.
(test ! -e "$output" || find $output) |sort >$lk.list
fi
done
}

subdirs='. xen docs tools'

output=$PWD/dist
for subdir in $subdirs; do
chks build clean distclean
done

output=$PWD/dist
subdir=.
chks dist

export DESTDIR=$PWD/destdir
output=$PWD/destdir
for subdir in $subdirs; do
chks install
done

And the output:

    (64)iwj@mariner:~/work/xen.git$ ~/junk/chks
    running -C. suffix= configure build clean distclean ok.
    running -C. suffix=-xen build-xen clean-xen distclean-xen ok.
    running -C. suffix=-tools configure build-tools clean-tools distclean-tools fail!
    running -C. suffix=-stubdom configure build-stubdom clean-stubdom distclean-stubdom ok.
    running -C. suffix=-docs configure build-docs clean-docs distclean-docs ok.
    running -Cxen suffix= build clean distclean ok.
    running -Cdocs suffix= configure build clean distclean ok.
    running -Ctools suffix= configure build fail!
    running -C. suffix= configure dist ok.
    running -C. suffix=-xen dist-xen ok.
    running -C. suffix=-tools configure dist-tools ok.
    running -C. suffix=-stubdom configure dist-stubdom ok.
    running -C. suffix=-docs configure dist-docs ok.
    running -C. suffix= configure install ok.
    running -C. suffix=-xen install-xen ok.
    running -C. suffix=-tools configure install-tools ok.
    running -C. suffix=-stubdom configure install-stubdom ok.
    running -C. suffix=-docs configure install-docs ok.
    running -Cxen suffix= install ok.
    running -Cdocs suffix= configure install ok.
    running -Ctools suffix= configure install fail!
    (64)iwj@mariner:~/work/xen.git$
CC Julien Grall <[email protected]>
CC M A Young <[email protected]>
CC Andrew Cooper <[email protected]>
CC Wei Liu <[email protected]>
---
 Makefile | 39 +++++++++++++++++++++++----------------
 1 file changed, 23 insertions(+), 16 deletions(-)
Makefile +23 -16
index fc30b3c..51905eb 100644
@@ -38,18 +38,13 @@ mini-os-dir-force-update: mini-os-dir
 export XEN_TARGET_ARCH
 export DESTDIR
 
-.PHONY: build-tools-public-headers
-build-tools-public-headers:
-	$(MAKE) -C tools/include
-
-.PHONY: dist-tools-public-headers
-dist-tools-public-headers: build-tools-public-headers
-	$(MAKE) -C tools/include dist
+.PHONY: %-tools-public-headers
+%-tools-public-headers:
+	$(MAKE) -C tools/include $*
 
 # build and install everything into the standard system directories
 .PHONY: install
 install: $(TARGS_INSTALL)
-	$(MAKE) -C tools/include install
 
 .PHONY: build
 build: $(TARGS_BUILD)
@@ -80,7 +75,22 @@ build-docs:
 test:
 	$(MAKE) -C tools/python test
 
-# build and install everything into local dist directory
+# For most targets here,
+#   make COMPONENT-TARGET
+# is implemented, more or less, by
+#   make -C COMPONENT TARGET
+#
+# Each rule that does this needs to have dependencies on any
+# other COMPONENTs that have to be processed first.  See
+# The install-tools target here for an example.
+#
+# dist* targets are special: these do not occur in lower-level
+# Makefiles.  Instead, these are all implemented only here.
+# They run the appropriate install targets with DESTDIR set.
+#
+# Also, we have a number of targets COMPONENT which run
+# dist-COMPONENT, for convenience.
+
 .PHONY: dist
 dist: DESTDIR=$(DISTDIR)/install
 dist: $(TARGS_DIST) dist-misc
@@ -92,12 +102,10 @@ dist-misc:
 	$(INSTALL_PROG) ./install.sh $(DISTDIR)
 
 
-dist-tools: dist-tools-public-headers
 dist-%: DESTDIR=$(DISTDIR)/install
 dist-%: install-%
 	@: # do nothing
 
-# Legacy dist targets
 .PHONY: xen tools stubdom docs
 xen: dist-xen
 tools: dist-tools
@@ -109,11 +117,11 @@ install-xen:
 	$(MAKE) -C xen install
 
 .PHONY: install-tools
-install-tools: build-tools-public-headers
+install-tools: install-tools-public-headers
 	$(MAKE) -C tools install
 
 .PHONY: install-stubdom
-install-stubdom: mini-os-dir build-tools-public-headers
+install-stubdom: mini-os-dir install-tools-public-headers
 	$(MAKE) -C stubdom install
 ifeq (x86_64,$(XEN_TARGET_ARCH))
 	XEN_TARGET_ARCH=x86_32 $(MAKE) -C stubdom install-grub
@@ -180,18 +188,17 @@ src-tarball: subtree-force-update-all
 
 .PHONY: clean
 clean: $(TARGS_CLEAN)
-	$(MAKE) -C tools/include clean
 
 .PHONY: clean-xen
 clean-xen:
 	$(MAKE) -C xen clean
 
 .PHONY: clean-tools
-clean-tools:
+clean-tools: clean-tools-public-headers
 	$(MAKE) -C tools clean
 
 .PHONY: clean-stubdom
-clean-stubdom:
+clean-stubdom: clean-tools-public-headers
 	$(MAKE) -C stubdom crossclean
 ifeq (x86_64,$(XEN_TARGET_ARCH))
 	XEN_TARGET_ARCH=x86_32 $(MAKE) -C stubdom crossclean
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Tested-by on v1 2/2
#8 lore raw

Re: [PATCH for-4.9 2/2] Makefile: Regularise subdir targets and their dependencies

Quoted 5 lines · Ian Jackson
CC Julien Grall <[email protected]>
CC M A Young <[email protected]>
CC Andrew Cooper <[email protected]>
CC Wei Liu <[email protected]>

This resolves all the XenServer build issues I encountered.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#9 lore raw

Re: [PATCH for-4.9 2/2] Makefile: Regularise subdir targets and their dependencies

Quoted 10 lines · Andrew Cooper
Quoted 5 lines · Ian Jackson
CC Julien Grall <[email protected]>
CC M A Young <[email protected]>
CC Andrew Cooper <[email protected]>
CC Wei Liu <[email protected]>

This resolves all the XenServer build issues I encountered.

I tried building with both patches and it works for me as well.

Michael Young

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#10 lore raw

Re: [PATCH for-4.9 2/2] Makefile: Regularise subdir targets and their dependencies

In reply to Andrew Cooper
Quoted 10 lines · Andrew Cooper
Quoted 5 lines · Ian Jackson
CC Julien Grall <[email protected]>
CC M A Young <[email protected]>
CC Andrew Cooper <[email protected]>
CC Wei Liu <[email protected]>

This resolves all the XenServer build issues I encountered.

Quoted 1 line
Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Acked-by on v1 2/2
#11 lore raw

Re: [PATCH for-4.9 2/2] Makefile: Regularise subdir targets and their dependencies

In reply to Ian Jackson
Quoted 119 lines · Ian Jackson

Recent changes to this Makefile have broken some build targets, and some parallel builds.

Looking at it, I think I have identified the undocumented design intent in the top-level Makefile. So in this patch I document it, and also make it true.

In detail:

* Add a comment with the new design intent
* Get rid of the ad-hoc rules for recursing into tools/include, and replace them with a pattern rule
* Add an appropriate dependency on TARGET-tools-public-headers from TARGET-tools and TARGET-stubdom (but not dist-*).
* Get rid of all the separate invocations of $(MAKE) -C tools/include which are now obsolete
* Un-deprecate the simple tools' etc. targets (aliases for dist-tools') which we seem not to be making any effort to get rid of

I have verified with the following shell script that after my change, the tree producese the same results for various build targets as 3fafdc28eb98 (before the Makefile-hacking started).

My tests failed as expected for make -C tools, both before and after.

Separately, there is a bug in the Makefiles that `make distclean-tools' fails. I have not investigated that bug in detail.

#!/bin/bash

set -e
set -o pipefail

listings=../listings

rm -rf $listings
mkdir $listings

chks () {
reskey="C$subdir $*"
reskey="${reskey// /_}"
reskey="${reskey//\//:}"
lk=$listings/$reskey
for suffix in '' -xen -tools -stubdom -docs; do
case "$subdir:$suffix" in
.:*) ;;
*:) ;;
*) continue;;
esac
git clean -qxdff
rm -rf $output
printf '%s' "running -C$subdir suffix=$suffix "
case "$subdir $suffix" in
*xen*) ;;
*) printf 'configure '; ./configure >$lk.cfg 2>&1 ;; esac
fail=''
for targ in $*; do
realtarg=$targ$suffix
printf '%s ' "$realtarg"
if ! make -C $subdir -j10 $realtarg >${lk}_${realtarg}.log 2>&1 then
fail=$realtarg
break
fi
done
if [ "$fail" ]; then
echo fail!
echo "$fail failed" >$lk.list
else
echo ok.
(test ! -e "$output" || find $output) |sort >$lk.list
fi
done
}

subdirs='. xen docs tools'

output=$PWD/dist
for subdir in $subdirs; do
chks build clean distclean
done

output=$PWD/dist
subdir=.
chks dist

export DESTDIR=$PWD/destdir
output=$PWD/destdir
for subdir in $subdirs; do
chks install
done

And the output:

    (64)iwj@mariner:~/work/xen.git$ ~/junk/chks
    running -C. suffix= configure build clean distclean ok.
    running -C. suffix=-xen build-xen clean-xen distclean-xen ok.
    running -C. suffix=-tools configure build-tools clean-tools distclean-tools fail!
    running -C. suffix=-stubdom configure build-stubdom clean-stubdom distclean-stubdom ok.
    running -C. suffix=-docs configure build-docs clean-docs distclean-docs ok.
    running -Cxen suffix= build clean distclean ok.
    running -Cdocs suffix= configure build clean distclean ok.
    running -Ctools suffix= configure build fail!
    running -C. suffix= configure dist ok.
    running -C. suffix=-xen dist-xen ok.
    running -C. suffix=-tools configure dist-tools ok.
    running -C. suffix=-stubdom configure dist-stubdom ok.
    running -C. suffix=-docs configure dist-docs ok.
    running -C. suffix= configure install ok.
    running -C. suffix=-xen install-xen ok.
    running -C. suffix=-tools configure install-tools ok.
    running -C. suffix=-stubdom configure install-stubdom ok.
    running -C. suffix=-docs configure install-docs ok.
    running -Cxen suffix= install ok.
    running -Cdocs suffix= configure install ok.
    running -Ctools suffix= configure install fail!
    (64)iwj@mariner:~/work/xen.git$
Quoted 5 lines
CC Julien Grall <[email protected]>
CC M A Young <[email protected]>
CC Andrew Cooper <[email protected]>
CC Wei Liu <[email protected]>

Just a minor nit/question.

Makefile mini-os-dir-force-update: mini-os-dir · line 39

Quoted 11 lines
---
 Makefile | 39 +++++++++++++++++++++++----------------
 1 file changed, 23 insertions(+), 16 deletions(-)
Makefile +0 -0
index fc30b3c..51905eb 100644
@@ -38,18 +38,13 @@ mini-os-dir-force-update: mini-os-dir
 export XEN_TARGET_ARCH
 export DESTDIR

Maybe it would be good to add a note like:

"All the Makefiles invoked with -C from the toplevel should have the following targets: all, build, install, clean, distclean"

?

Roger.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#12 lore raw

Re: [PATCH for-4.9 2/2] Makefile: Regularise subdir targets and their dependencies

Thanks to everyone for testing and review and acks. I have just pushed those two commits to staging.

Roger Pau Monné writes ("Re: [Xen-devel] [PATCH for-4.9 2/2] Makefile: Regularise subdir targets and their dependencies"):

Quoted 4 lines

Maybe it would be good to add a note like:

"All the Makefiles invoked with -C from the toplevel should have the following targets: all, build, install, clean, distclean"

Yes, indeed. How about the extra patch below ? There are some special cases, so I think `generally' is right.

I'll wait a bit for opinions, but given that this is a comment-only patch I guess Julien's exception for docs applies, so I will probably commit it tomorrow unless someone objects.

Ian.

From 352f4a1f9797d1eee94121565fb4e3d8fc698371 Mon Sep 17 00:00:00 2001
From: Ian Jackson <[email protected]>
Date: Thu, 25 May 2017 16:42:12 +0100
Subject: [PATCH] Makefile: Mention usual targets of subdir Makefiles
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 Makefile | 5 +++++
 1 file changed, 5 insertions(+)
Makefile +5 -0
index 51905eb..2ff33df 100644
@@ -90,6 +90,11 @@ test:
 #
 # Also, we have a number of targets COMPONENT which run
 # dist-COMPONENT, for convenience.
+#
+# The Makefiles invoked with -C from the toplevel should
+# generally have the following targets:
+#       all  build  install  clean  distclean
+
 
 .PHONY: dist
 dist: DESTDIR=$(DISTDIR)/install
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#13 lore raw

Re: [PATCH for-4.9 2/2] Makefile: Regularise subdir targets and their dependencies

Quoted 9 lines · Ian Jackson

Thanks to everyone for testing and review and acks. I have just pushed those two commits to staging.

Roger Pau Monné writes ("Re: [Xen-devel] [PATCH for-4.9 2/2] Makefile: Regularise subdir targets and their dependencies"):

Quoted 4 lines

Maybe it would be good to add a note like:

"All the Makefiles invoked with -C from the toplevel should have the following targets: all, build, install, clean, distclean"

Quoted 6 lines

Yes, indeed. How about the extra patch below ? There are some special cases, so I think `generally' is right.

I'll wait a bit for opinions, but given that this is a comment-only patch I guess Julien's exception for docs applies, so I will probably commit it tomorrow unless someone objects.

That's right. However, I'd like to try branching tomorrow so we need staging != master.

Could you hold the patch until we branch? (I will send an e-mail for a commit moratorium).

Cheers,

Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#14 lore raw

Re: [PATCH for-4.9 2/2] Makefile: Regularise subdir targets and their dependencies

In reply to Ian Jackson
Quoted 26 lines · Ian Jackson

Thanks to everyone for testing and review and acks. I have just pushed those two commits to staging.

Roger Pau Monné writes ("Re: [Xen-devel] [PATCH for-4.9 2/2] Makefile: Regularise subdir targets and their dependencies"):

Quoted 4 lines

Maybe it would be good to add a note like:

"All the Makefiles invoked with -C from the toplevel should have the following targets: all, build, install, clean, distclean"

Yes, indeed. How about the extra patch below ? There are some special cases, so I think `generally' is right.

I'll wait a bit for opinions, but given that this is a comment-only patch I guess Julien's exception for docs applies, so I will probably commit it tomorrow unless someone objects.

Ian.

From 352f4a1f9797d1eee94121565fb4e3d8fc698371 Mon Sep 17 00:00:00 2001
From: Ian Jackson <[email protected]>
Date: Thu, 25 May 2017 16:42:12 +0100
Subject: [PATCH] Makefile: Mention usual targets of subdir Makefiles
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Quoted 2 lines

Thanks, Roger.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#15 lore raw

Re: Xen 4.9 rc6 [and 1 more messages]

In reply to Ian Jackson

Thanks for the test reports and the release-ack. Ideally I would like a review but I may not get one. Julien, or Michael, do you feel qualified to review this ?

Looking at the REST MAINTAINERS:

I know Andrew, Jan and Konrad are extremely busy right now so I don't want to ask them to stare at these Makefiles, and Wei is away.

Stefano, do you think you could look ?

If I can't get a review, I do think I should get some kind of ack to commit it. An ack from a REST maintainer suffices I think.

Thanks,
Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#16 lore raw

Re: Xen 4.9 rc6 [and 1 more messages]

Hi Ian,

Quoted 3 lines · Ian Jackson

Thanks for the test reports and the release-ack. Ideally I would like a review but I may not get one. Julien, or Michael, do you feel qualified to review this ?

My knowledge of the build system is very limited. So I don't think my review here will be useful sorry.

Quoted 10 lines

Looking at the REST MAINTAINERS:

I know Andrew, Jan and Konrad are extremely busy right now so I don't want to ask them to stare at these Makefiles, and Wei is away.

Stefano, do you think you could look ?

If I can't get a review, I do think I should get some kind of ack to commit it. An ack from a REST maintainer suffices I think.

Cheers,

Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Acked-by
#17 lore raw

Re: Xen 4.9 rc6 [and 1 more messages]

Quoted 20 lines · Julien Grall

Hi Ian,

Quoted 3 lines · Ian Jackson

Thanks for the test reports and the release-ack. Ideally I would like a review but I may not get one. Julien, or Michael, do you feel qualified to review this ?

My knowledge of the build system is very limited. So I don't think my review here will be useful sorry.

Quoted 10 lines

Looking at the REST MAINTAINERS:

I know Andrew, Jan and Konrad are extremely busy right now so I don't want to ask them to stare at these Makefiles, and Wei is away.

Stefano, do you think you could look ?

If I can't get a review, I do think I should get some kind of ack to commit it. An ack from a REST maintainer suffices I think.

If it helps, the arguments look persuasive and the changes appear to match the arguments.

~Andrew

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel