Skip to contentSkip to conversation

tools: pygrub actually cross-compiles just fine

PATCH Stefano Stabellini 2 participants 6 messages Nov 5, 2019 – Nov 7, 2019 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

+ xen-devel

Quoted 32 lines · Stefano Stabellini

Actually, pygrub cross-compiles without issues. The cross-compilation work-around goes back to 2005 and it probably referred to PowerPC.

Remove the work-around now.

---
 tools/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/Makefile +2 -2
index 7b1f6c4d28..0a293b4a30 100644
@@ -39,11 +39,11 @@ SUBDIRS-$(CONFIG_X86) += xenpaging
 SUBDIRS-$(CONFIG_X86) += debugger/gdbsx
 SUBDIRS-$(CONFIG_X86) += debugger/kdd
 SUBDIRS-$(CONFIG_TESTS) += tests
+SUBDIRS-y += python
+SUBDIRS-y += pygrub
 
 # These don't cross-compile
 ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
-SUBDIRS-y += python
-SUBDIRS-y += pygrub
 SUBDIRS-$(OCAML_TOOLS) += ocaml
 endif
 
Signature · 1 line
2.17.1

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

#2 lore raw
In reply to a message not in the archive

Cc xen-devel

Quoted 7 lines · Stefano Stabellini

Actually, pygrub cross-compiles without issues. The cross-compilation work-around goes back to 2005 and it probably referred to PowerPC.

Remove the work-around now.

Presumably you tried to cross-compile it for Arm? It would be good to mention that in the commit message.

I think the content of this patch is fine:

Wei.

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

#3 lore raw
Quoted 6 lines · Wei Liu
Quoted 5 lines · Stefano Stabellini

Actually, pygrub cross-compiles without issues. The cross-compilation work-around goes back to 2005 and it probably referred to PowerPC.

Remove the work-around now.

Quoted 7 lines
Quoted 2 lines

Presumably you tried to cross-compile it for Arm? It would be good to mention that in the commit message.

I think the content of this patch is fine:

It cross-compiles fine for aarch64 on x86_64 with Yocto. Although we don't do any cross-compilations in OSSTest as far as I know, so applying the patch won't break OSSTest, given the state of the release, I think it would be best to wait for the next merge window.

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

#4 lore raw
Quoted 13 lines · Stefano Stabellini
Quoted 12 lines · Wei Liu
Quoted 7 lines · Stefano Stabellini

Actually, pygrub cross-compiles without issues. The cross-compilation work-around goes back to 2005 and it probably referred to PowerPC.

Remove the work-around now.

Presumably you tried to cross-compile it for Arm? It would be good to mention that in the commit message.

Quoted 6 lines
Quoted 1 line

I think the content of this patch is fine:

It cross-compiles fine for aarch64 on x86_64 with Yocto. Although we don't do any cross-compilations in OSSTest as far as I know, so applying the patch won't break OSSTest, given the state of the release, I think it would be best to wait for the next merge window.

That's of course fine by me.

Wei.

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

#5 lore raw
Quoted 14 lines · Wei Liu
Quoted 13 lines · Stefano Stabellini
Quoted 12 lines · Wei Liu
Quoted 7 lines · Stefano Stabellini

Actually, pygrub cross-compiles without issues. The cross-compilation work-around goes back to 2005 and it probably referred to PowerPC.

Remove the work-around now.

Presumably you tried to cross-compile it for Arm? It would be good to mention that in the commit message.

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

I think the content of this patch is fine:

It cross-compiles fine for aarch64 on x86_64 with Yocto. Although we don't do any cross-compilations in OSSTest as far as I know, so applying the patch won't break OSSTest, given the state of the release, I think it would be best to wait for the next merge window.

That's of course fine by me.

I'll resend the patch with a better commit message. It would be good to get an ack if you are OK with it (of course there will be no committing it right now.)

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

Acked-by
#6 lore raw
Quoted 22 lines · Stefano Stabellini
Quoted 21 lines · Wei Liu
Quoted 19 lines · Stefano Stabellini
Quoted 6 lines · Wei Liu
Quoted 5 lines · Stefano Stabellini

Actually, pygrub cross-compiles without issues. The cross-compilation work-around goes back to 2005 and it probably referred to PowerPC.

Remove the work-around now.

Quoted 7 lines
Quoted 2 lines

Presumably you tried to cross-compile it for Arm? It would be good to mention that in the commit message.

I think the content of this patch is fine:

It cross-compiles fine for aarch64 on x86_64 with Yocto. Although we don't do any cross-compilations in OSSTest as far as I know, so applying the patch won't break OSSTest, given the state of the release, I think it would be best to wait for the next merge window.

Quoted 5 lines
Quoted 1 line

That's of course fine by me.

I'll resend the patch with a better commit message. It would be good to get an ack if you are OK with it (of course there will be no committing it right now.)

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