* [Buildroot] [PATCH/master 0/7] Qemu and gobject-introspection fixes
@ 2021-09-03 16:18 Adam Duskett
0 siblings, 0 replies; 5+ messages in thread
From: Adam Duskett @ 2021-09-03 16:18 UTC (permalink / raw)
To: buildroot; +Cc: Romain Naour, Anisse Astier, Adam Duskett
From: Adam Duskett <aduskett@gmail.com>
First of all, sorry this took so long!
This series is an accumulation of several conversations between Thomas, Yann,
and myself. The basics are this:
- GOI fails to build with the corei7 architecture because calling qemu results
in qemu trying to use instructions that may not exist on the host processor.
This causes a core dump.
- OpenEmbedded gets around this issue by adding options to qemu on certain
CPU and architecture combinations, Corei7 being one of those architectures.
- As discussed with Thomas, a new string "BR2_PACKAGE_HOST_QEMU_USER_MODE_ARGS"
in qemu/Config.in.host is added, which we then sed to g-ir-scanner.in.
In addition, I was anonyed that there were so many shellcheck issues with the
various wrappers, and Yann was annoyed that the wrappers were calling to bash
when they didn't need to do so, so those are also fixed in this patch series.
And last (but not least), Yann noticed a latent bug in g-ir-scanner-qemuwrapper.
If GIR_EXTRA_LIBS_PATH is empty, then the LD_LIBRARY_PATH is prepended with a
colon, so that is also fixed.
This will lead the way to NodeJS 14 which is one step closer to removing
Python2!
Tested in a CentOS7 docker container:
andes-nds32 [ 1/45]: SKIPPED
arm-aarch64 [ 2/45]: OK
bootlin-aarch64-glibc [ 3/45]: OK
bootlin-arcle-hs38-uclibc [ 4/45]: SKIPPED
bootlin-armv5-uclibc [ 5/45]: SKIPPED
bootlin-armv7-glibc [ 6/45]: OK
bootlin-armv7m-uclibc [ 7/45]: SKIPPED
bootlin-armv7-musl [ 8/45]: SKIPPED
bootlin-m68k-5208-uclibc [ 9/45]: SKIPPED
bootlin-m68k-68040-uclibc [10/45]: SKIPPED
bootlin-microblazeel-uclibc [11/45]: SKIPPED
bootlin-mipsel32r6-glibc [12/45]: OK
bootlin-mipsel-uclibc [13/45]: SKIPPED
bootlin-nios2-glibc [14/45]: OK
bootlin-openrisc-uclibc [15/45]: SKIPPED
bootlin-powerpc64le-power8-glibc [16/45]: OK
bootlin-powerpc-e500mc-uclibc [17/45]: SKIPPED
bootlin-riscv32-glibc [18/45]: OK
bootlin-riscv64-glibc [19/45]: OK
bootlin-riscv64-musl [20/45]: SKIPPED
bootlin-sh4-uclibc [21/45]: SKIPPED
bootlin-sparc64-glibc [22/45]: OK
bootlin-sparc-uclibc [23/45]: SKIPPED
bootlin-x86-64-glibc [24/45]: OK
bootlin-x86-64-musl [25/45]: SKIPPED
bootlin-x86-64-uclibc [26/45]: SKIPPED
bootlin-xtensa-uclibc [27/45]: SKIPPED
br-arm-basic [28/45]: SKIPPED
br-arm-full-nothread [29/45]: SKIPPED
br-arm-full-static [30/45]: SKIPPED
br-i386-pentium4-full [31/45]: SKIPPED
br-i386-pentium-mmx-musl [32/45]: SKIPPED
br-mips64-n64-full [33/45]: SKIPPED
br-mips64r6-el-hf-glibc [34/45]: SKIPPED
br-powerpc-603e-basic-cpp [35/45]: SKIPPED
br-powerpc64-power7-glibc [36/45]: OK
linaro-aarch64-be [37/45]: SKIPPED
linaro-aarch64 [38/45]: OK
linaro-arm [39/45]: OK
sourcery-arm-armv4t [40/45]: SKIPPED
sourcery-arm [41/45]: SKIPPED
sourcery-arm-thumb2 [42/45]: SKIPPED
sourcery-mips64 [43/45]: SKIPPED
sourcery-mips [44/45]: OK
sourcery-nios2 [45/45]: OK
Adam Duskett (7):
g-ir-scanner-qemuwrapper.in: Fix latent bug in LD_LIBRARY_PATH string
g-ir-scanner-qemuwrapper.in: Fix shellcheck warnings, switch to sh
g-ir-scanner.in: Fix shellcheck warnings, switch to sh
g-ir-scanner-lddwrapper.in: Fix shellcheck warnings, switch to sh
g-ir-compiler.in: Fix shellcheck warnings, switch to sh
package/qemu: add BR2_PACKAGE_HOST_QEMU_USER_MODE_ARGS string
package/gobject-introspection: Add QEMU_USERMODE_ARGS support
.../gobject-introspection/g-ir-compiler.in | 4 ++--
.../g-ir-scanner-lddwrapper.in | 4 ++--
.../g-ir-scanner-qemuwrapper.in | 19 ++++++++++++-------
package/gobject-introspection/g-ir-scanner.in | 12 ++++++------
.../gobject-introspection.mk | 2 ++
package/qemu/Config.in.host | 4 ++++
6 files changed, 28 insertions(+), 17 deletions(-)
--
2.30.2
_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH/master 0/7] Qemu and gobject-introspection fixes
@ 2021-09-03 16:20 Adam Duskett
2021-09-03 22:27 ` Thomas Petazzoni
0 siblings, 1 reply; 5+ messages in thread
From: Adam Duskett @ 2021-09-03 16:20 UTC (permalink / raw)
To: buildroot; +Cc: Romain Naour, Anisse Astier, Adam Duskett
First of all, sorry this took so long!
This series is an accumulation of several conversations between Thomas, Yann,
and myself. The basics are this:
- GOI fails to build with the corei7 architecture because calling qemu results
in qemu trying to use instructions that may not exist on the host processor.
This causes a core dump.
- OpenEmbedded gets around this issue by adding options to qemu on certain
CPU and architecture combinations, Corei7 being one of those architectures.
- As discussed with Thomas, a new string "BR2_PACKAGE_HOST_QEMU_USER_MODE_ARGS"
in qemu/Config.in.host is added, which we then sed to g-ir-scanner.in.
In addition, I was anonyed that there were so many shellcheck issues with the
various wrappers, and Yann was annoyed that the wrappers were calling to bash
when they didn't need to do so, so those are also fixed in this patch series.
And last (but not least), Yann noticed a latent bug in g-ir-scanner-qemuwrapper.
If GIR_EXTRA_LIBS_PATH is empty, then the LD_LIBRARY_PATH is prepended with a
colon, so that is also fixed.
This will lead the way to NodeJS 14 which is one step closer to removing
Python2!
Tested in a CentOS7 docker container:
andes-nds32 [ 1/45]: SKIPPED
arm-aarch64 [ 2/45]: OK
bootlin-aarch64-glibc [ 3/45]: OK
bootlin-arcle-hs38-uclibc [ 4/45]: SKIPPED
bootlin-armv5-uclibc [ 5/45]: SKIPPED
bootlin-armv7-glibc [ 6/45]: OK
bootlin-armv7m-uclibc [ 7/45]: SKIPPED
bootlin-armv7-musl [ 8/45]: SKIPPED
bootlin-m68k-5208-uclibc [ 9/45]: SKIPPED
bootlin-m68k-68040-uclibc [10/45]: SKIPPED
bootlin-microblazeel-uclibc [11/45]: SKIPPED
bootlin-mipsel32r6-glibc [12/45]: OK
bootlin-mipsel-uclibc [13/45]: SKIPPED
bootlin-nios2-glibc [14/45]: OK
bootlin-openrisc-uclibc [15/45]: SKIPPED
bootlin-powerpc64le-power8-glibc [16/45]: OK
bootlin-powerpc-e500mc-uclibc [17/45]: SKIPPED
bootlin-riscv32-glibc [18/45]: OK
bootlin-riscv64-glibc [19/45]: OK
bootlin-riscv64-musl [20/45]: SKIPPED
bootlin-sh4-uclibc [21/45]: SKIPPED
bootlin-sparc64-glibc [22/45]: OK
bootlin-sparc-uclibc [23/45]: SKIPPED
bootlin-x86-64-glibc [24/45]: OK
bootlin-x86-64-musl [25/45]: SKIPPED
bootlin-x86-64-uclibc [26/45]: SKIPPED
bootlin-xtensa-uclibc [27/45]: SKIPPED
br-arm-basic [28/45]: SKIPPED
br-arm-full-nothread [29/45]: SKIPPED
br-arm-full-static [30/45]: SKIPPED
br-i386-pentium4-full [31/45]: SKIPPED
br-i386-pentium-mmx-musl [32/45]: SKIPPED
br-mips64-n64-full [33/45]: SKIPPED
br-mips64r6-el-hf-glibc [34/45]: SKIPPED
br-powerpc-603e-basic-cpp [35/45]: SKIPPED
br-powerpc64-power7-glibc [36/45]: OK
linaro-aarch64-be [37/45]: SKIPPED
linaro-aarch64 [38/45]: OK
linaro-arm [39/45]: OK
sourcery-arm-armv4t [40/45]: SKIPPED
sourcery-arm [41/45]: SKIPPED
sourcery-arm-thumb2 [42/45]: SKIPPED
sourcery-mips64 [43/45]: SKIPPED
sourcery-mips [44/45]: OK
sourcery-nios2 [45/45]: OK
Adam Duskett (7):
g-ir-scanner-qemuwrapper.in: Fix latent bug in LD_LIBRARY_PATH string
g-ir-scanner-qemuwrapper.in: Fix shellcheck warnings, switch to sh
g-ir-scanner.in: Fix shellcheck warnings, switch to sh
g-ir-scanner-lddwrapper.in: Fix shellcheck warnings, switch to sh
g-ir-compiler.in: Fix shellcheck warnings, switch to sh
package/qemu: add BR2_PACKAGE_HOST_QEMU_USER_MODE_ARGS string
package/gobject-introspection: Add QEMU_USERMODE_ARGS support
.../gobject-introspection/g-ir-compiler.in | 4 ++--
.../g-ir-scanner-lddwrapper.in | 4 ++--
.../g-ir-scanner-qemuwrapper.in | 19 ++++++++++++-------
package/gobject-introspection/g-ir-scanner.in | 12 ++++++------
.../gobject-introspection.mk | 2 ++
package/qemu/Config.in.host | 4 ++++
6 files changed, 28 insertions(+), 17 deletions(-)
--
2.30.2
_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH/master 0/7] Qemu and gobject-introspection fixes
2021-09-03 16:20 Adam Duskett
@ 2021-09-03 22:27 ` Thomas Petazzoni
2021-09-03 23:09 ` Adam Duskett
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2021-09-03 22:27 UTC (permalink / raw)
To: Adam Duskett; +Cc: Romain Naour, Anisse Astier, buildroot
On Fri, 3 Sep 2021 09:20:20 -0700
Adam Duskett <aduskett@gmail.com> wrote:
> First of all, sorry this took so long!
>
> This series is an accumulation of several conversations between Thomas, Yann,
> and myself. The basics are this:
>
> - GOI fails to build with the corei7 architecture because calling qemu results
> in qemu trying to use instructions that may not exist on the host processor.
> This causes a core dump.
>
> - OpenEmbedded gets around this issue by adding options to qemu on certain
> CPU and architecture combinations, Corei7 being one of those architectures.
>
> - As discussed with Thomas, a new string "BR2_PACKAGE_HOST_QEMU_USER_MODE_ARGS"
> in qemu/Config.in.host is added, which we then sed to g-ir-scanner.in.
>
> In addition, I was anonyed that there were so many shellcheck issues with the
> various wrappers, and Yann was annoyed that the wrappers were calling to bash
> when they didn't need to do so, so those are also fixed in this patch series.
>
> And last (but not least), Yann noticed a latent bug in g-ir-scanner-qemuwrapper.
> If GIR_EXTRA_LIBS_PATH is empty, then the LD_LIBRARY_PATH is prepended with a
> colon, so that is also fixed.
>
> This will lead the way to NodeJS 14 which is one step closer to removing
> Python2!
Thanks a lot for all this work! Could you remind me what's the
relationship between this and NodeJS 14 ?
Thanks!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH/master 0/7] Qemu and gobject-introspection fixes
2021-09-03 22:27 ` Thomas Petazzoni
@ 2021-09-03 23:09 ` Adam Duskett
2021-09-04 7:49 ` Thomas Petazzoni
0 siblings, 1 reply; 5+ messages in thread
From: Adam Duskett @ 2021-09-03 23:09 UTC (permalink / raw)
To: Thomas Petazzoni; +Cc: Romain Naour, Anisse Astier, buildroot
Hey Thomas;
NodeJS14 ALSO requires a qemu wrapper to compile, so this work is
necessary to allows NodeJS14 to
not crash when compiling against a corei7 target.
Adam
On Fri, Sep 3, 2021 at 3:27 PM Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
>
> On Fri, 3 Sep 2021 09:20:20 -0700
> Adam Duskett <aduskett@gmail.com> wrote:
>
> > First of all, sorry this took so long!
> >
> > This series is an accumulation of several conversations between Thomas, Yann,
> > and myself. The basics are this:
> >
> > - GOI fails to build with the corei7 architecture because calling qemu results
> > in qemu trying to use instructions that may not exist on the host processor.
> > This causes a core dump.
> >
> > - OpenEmbedded gets around this issue by adding options to qemu on certain
> > CPU and architecture combinations, Corei7 being one of those architectures.
> >
> > - As discussed with Thomas, a new string "BR2_PACKAGE_HOST_QEMU_USER_MODE_ARGS"
> > in qemu/Config.in.host is added, which we then sed to g-ir-scanner.in.
> >
> > In addition, I was anonyed that there were so many shellcheck issues with the
> > various wrappers, and Yann was annoyed that the wrappers were calling to bash
> > when they didn't need to do so, so those are also fixed in this patch series.
> >
> > And last (but not least), Yann noticed a latent bug in g-ir-scanner-qemuwrapper.
> > If GIR_EXTRA_LIBS_PATH is empty, then the LD_LIBRARY_PATH is prepended with a
> > colon, so that is also fixed.
> >
> > This will lead the way to NodeJS 14 which is one step closer to removing
> > Python2!
>
> Thanks a lot for all this work! Could you remind me what's the
> relationship between this and NodeJS 14 ?
>
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, co-owner and CEO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH/master 0/7] Qemu and gobject-introspection fixes
2021-09-03 23:09 ` Adam Duskett
@ 2021-09-04 7:49 ` Thomas Petazzoni
0 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2021-09-04 7:49 UTC (permalink / raw)
To: Adam Duskett; +Cc: Romain Naour, Anisse Astier, buildroot
Hello Adam,
On Fri, 3 Sep 2021 16:09:35 -0700
Adam Duskett <aduskett@gmail.com> wrote:
> NodeJS14 ALSO requires a qemu wrapper to compile, so this work is
> necessary to allows NodeJS14 to
> not crash when compiling against a corei7 target.
Ah, OK. So there's no relationship between NodeJS and GOI, but it's
NodeJS that needs a qemu wrapper. OK makes sense!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-09-04 7:50 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-03 16:18 [Buildroot] [PATCH/master 0/7] Qemu and gobject-introspection fixes Adam Duskett
2021-09-03 16:20 Adam Duskett
2021-09-03 22:27 ` Thomas Petazzoni
2021-09-03 23:09 ` Adam Duskett
2021-09-04 7:49 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.