Bug 218519

Summary: devel/gobject-introspection - build fail on aarch64 qemu user mode
Product: Ports & Packages Reporter: Phillip R. Jaenke <prj>
Component: Individual Port(s)Assignee: Sean Bruno <sbruno>
Status: Closed FIXED    
Severity: Affects Only Me CC: emaste, kwm, mikael, sbruno, sson
Priority: --- Flags: bugzilla: maintainer-feedback? (gnome)
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 201763    
Attachments:
Description Flags
gobject-introspection-1.50.0,1.log none

Description Phillip R. Jaenke 2017-04-10 04:54:18 UTC
Created attachment 181625 [details]
gobject-introspection-1.50.0,1.log

Build failure occurred in poudriere using qemu as part of dep chain. Poudriere host is 11.0-RELEASE-p8 amd64. qemu is latest from ports. Full log attached.

libtool: link: cc -o /wrkdirs/usr/ports/devel/gobject-introspection/work/gobject-introspection-1.50.0/tmp-introspectHU_Byx/Gio-2.0 -isystem /usr/local/include -Wsign-compare -Wcast-align -Wpointer-arith -Wnested-externs -Wmissing-prototypes -Wmissing-declarations -Wchar-subscripts -Wall -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing tmp-introspectHU_Byx/wrkdirs/usr/ports/devel/gobject-introspection/work/gobject-introspection-1.50.0/tmp-introspectHU_Byx/Gio-2.0.o -Wl,--export-dynamic -pthread -Wl,--export-dynamic  -L/usr/local/lib -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lgio-2.0 -pthread
qemu: unhandled CPU exception 0x10005 - aborting
PC=000000400209d460  SP=000000086a7fdcd0
X00=000000400304f698 X01=0000000000000002 X02=0000000000000070 X03=00000040022b687a
X04=00000000000000e1 X05=0000000000000006 X06=0000000000000000 X07=000000400300d000
X08=0000000000000002 X09=0000000000000002 X10=000000000000001c X11=0000000000000000
X12=000000400304f6b0 X13=000000000000001c X14=000000400304f6b4 X15=0000000000000000
X16=000000400206be98 X17=000000400209d448 X18=0000000000000003 X19=000000400304f698
X20=000000400304f660 X21=000000400301db40 X22=0000000000000001 X23=000000400206c4d8
X24=aaaaaaaaaaaaaaab X25=0000000000000018 X26=0000000000000005 X27=0000000000000001
X28=0000004003022270 X29=000000086a7fdce0 X30=00000040020388a0 
PSTATE=80000000 N--- EL0t
Comment 1 Koop Mast freebsd_committer freebsd_triage 2017-04-20 16:36:16 UTC
Without knowing anything about arm64/qemu, it looks like a qemu issue though.
Comment 2 Ed Maste freebsd_committer freebsd_triage 2017-06-16 13:50:15 UTC
The native built package collection includes a gobject-introspection package so this indeed appears to be a user mode QEMU issue.
Comment 3 Koop Mast freebsd_committer freebsd_triage 2017-06-17 15:38:52 UTC
Hi, can either of you look at this qemu issue triggered by gobject-introspection? Thanks.
Comment 4 Mikael Urankar freebsd_committer freebsd_triage 2018-04-30 13:20:16 UTC
It builds fine under emulation with a recent qemu:
http://mikael.urankar.free.fr/FreeBSD/aarch64/build_logs/gobject-introspection-1.50.0_1%2C1.log
Comment 5 Ed Maste freebsd_committer freebsd_triage 2018-07-31 19:52:32 UTC
Phillip, can you retest with an updated qemu?
Comment 6 Ed Maste freebsd_committer freebsd_triage 2018-08-30 16:55:31 UTC
Comment #4 reports that it builds under QEMU user mode now. Please reopen if issues persist.