ioemu-stubdom: don't link *-softmmu* and *-linux-user*
PATCH 1/1 ioemu-stubdom: don't link *-softmmu* and *-linux-user*
They are generated by ./configure. Having them linked can cause race between tools build and stubdom build.
---
Cc: Ian Jackson <[email protected]>
Cc: Juergen Gross <[email protected]>
Cc: Julien Grall <[email protected]>
Should fix
http://logs.test-lab.xenproject.org/osstest/logs/109330/build-amd64/5.ts-xen-build.log
--- stubdom/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
stubdom/Makefile +5 -3
@@ -295,10 +295,12 @@ ioemu/linkfarm.stamp: $(XEN_ROOT)/tools/qemu-xen-traditional-dir $(buildmakevars2shellvars); \ cd ioemu; \ src="$$XEN_ROOT/tools/qemu-xen-traditional-dir"; export src; \ - (cd $$src && find * -type d -print) | xargs mkdir -p; \ - (cd $$src && find * ! -type l -type f $(addprefix ! -name , \ + (cd $$src && find * -type d \ + $(addprefix ! -path , '*-softmmu*' '*-linux-user*') -print) \ + | xargs mkdir -p; \ + (cd $$src && find * ! -type l -type f $(addprefix ! -path , \ '*.[oda1]' 'config-*' config.mak qemu-dm qemu-img-xen \ - '*.html' '*.pod' \ + '*.html' '*.pod' '*-softmmu*' '*-linux-user*' \ )) >linkfarm.stamp.tmp; \ cmp -s linkfarm.stamp.tmp linkfarm.stamp && \ rm linkfarm.stamp.tmp || { \
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 4 lines · Wei Liu
They are generated by ./configure. Having them linked can cause race between tools build and stubdom build.
Signed-off-by Wei Liu <[email protected]>
FTR Juergen told me on IRC:
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Hi,
Quoted 9 lines · Wei Liu
Quoted 4 lines · Wei Liu
They are generated by ./configure. Having them linked can cause race between tools build and stubdom build.
Signed-off-by Wei Liu <[email protected]>FTR Juergen told me on IRC:
Reviewed-by Juergen Gross <[email protected]>
Cheers,
Signature · 6 lines
Julien Grall _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Ian Jackson
Acked-byJulien Grall writes ("Re: [PATCH for-4.9] ioemu-stubdom: don't link *-softmmu* and *-linux-user*"):
Quoted 5 lines · Wei Liu
Quoted 4 lines · Wei Liu
Quoted 3 lines
They are generated by ./configure. Having them linked can cause race between tools build and stubdom build.
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
Signed-off-by Wei Liu <[email protected]>FTR Juergen told me on IRC:
Reviewed-by Juergen Gross <[email protected]>Release-acked-by Julien Grall <[email protected]>
I haven't analysed the race in detail but the explanation is plausible and the change is at worst harmless.
Thanks,
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel