Skip to contentSkip to conversation

New: package gobject-introspection-1.72.0 fails to build

Buildroot [email protected] 1 participant 6 messages Feb 25, 2023 – Jun 15, 2024

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=15356

Bug ID: 15356
Summary: package gobject-introspection-1.72.0 fails to build
Product: buildroot
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---

Hello,

When building with target architecture "x86_64" and setting an architecture variant as anything other than "x86_64" ie. "haswell" or "broadwell", package "gobject-introspection" fails to build and ends erroring out with messages like:

qemu: uncaught target signal 4 (Illegal instruction) - core dumped Illegal instruction (core dumped)

Many examples of this error can be found on the buildbot at
http://autobuild.buildroot.org/?arch=x86_64&reason=gobject-introspection-1.72.0&step=50&start=0
and checking out endlog data.

When building with target architecture "x86_64" and architecture variant "x86_64" it completes correctly.

Could it be there is some confusion between host and target for the wrapper commands?

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

[Buildroot] [Bug 15356] package gobject-introspection-1.72.0 fails to build

https://bugs.busybox.net/show_bug.cgi?id=15356

--- Comment #1 from Jonathan Bittner <[email protected]> --- gobject-introspection tries to build some of its code inside a qemu environment. Selecting an "advanced" x86_64 architecture produces some instructions that qemu does not understand. I'm not sure if a -cpu mode flag could be set on qemu to enable those instructions.

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

[Buildroot] [Bug 15356] package gobject-introspection-1.72.0 fails to build

In reply to [email protected]

https://bugs.busybox.net/show_bug.cgi?id=15356

--- Comment #2 from Jonathan Bittner <[email protected]> --- from experimenting with an image with cpu flags set to x86_64/slivermont on a i9-9900 machine, setting "-cpu max" for qemu takes advantage of all instructions available to the host processor and would likely fix your issue assuming your host is at least as modern as your target architecture

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

[Buildroot] [Bug 15356] package gobject-introspection-1.72.0 fails to build

In reply to [email protected]

https://bugs.busybox.net/show_bug.cgi?id=15356

--- Comment #3 from [email protected] ---
(In reply to Jonathan Bittner from comment #2)
Thank you for the investigation. I think it would work in my case as well building on a R9 5950X targeting i7 broadwell.

Which file would I add this "-cpu max" to ?

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw

[Buildroot] [Bug 15356] package gobject-introspection-1.72.0 fails to build

In reply to [email protected]

https://bugs.busybox.net/show_bug.cgi?id=15356

--- Comment #4 from James Hilliard <[email protected]> --- FYI I have a series bumping gobject-introspection and libglib2 to version 1.74.0, I wonder if that might be helpful here:

https://patchwork.ozlabs.org/project/buildroot/list/?series=321845&submitter=&state=*&q=&archive=both&delegate=

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#5 lore raw

[Buildroot] [Bug 15356] package gobject-introspection-1.72.0 fails to build

In reply to [email protected]

https://bugs.busybox.net/show_bug.cgi?id=15356

Yann E. MORIN <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #5 from Yann E. MORIN <[email protected]> --- Thank you for your report.

The issue tracker for the Buildroot project has been moved to the Gitlab.com issue tracker:
https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old tracker. If you believe your issue is still relevant, please open one in the new issue tracker.

Thank you!

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot