Wind River Support Network

HomeDefectsLIN7-2978
Fixed

LIN7-2978 : qemu-native fails to build; missing g_type_check_instance_is_fundamentally_a

Created: Feb 20, 2015    Updated: Sep 8, 2018
Resolved Date: Mar 19, 2015
Found In Version: 7.0
Fix Version: 7.0.0.5
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Userspace

Description

glib has "g_type_check_instance_is_fundamentally_a"  [crazy name!] added to it as shown here:

https://mail.gnome.org/archives/commits-list/2014-May/msg08836.html

This commit is not present in our glib, and so qemu-native fails as follows:

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
Setting up host-cross and links
Setting up packages link
Creating export directory
Creating project properties
NOTE: Executing RunQueue Tasks
Setting up host-cross and links
Setting up packages link
Creating export directory
Creating project properties
ERROR: Function failed: do_compile (log file is located at /7.x/build/ovp-host-Feb19/bitbake_build/tmp/work/x86_64-linux/qemu-native/2.1.2-r0/temp/do_compile/log.do_compile.31037)
ERROR: Logfile of failure stored in: /7.x/build/ovp-host-Feb19/bitbake_build/tmp/work/x86_64-linux/qemu-native/2.1.2-r0/temp/do_compile/log.do_compile.31037
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 16
|   LINK  mips64el-softmmu/qemu-system-mips64el
|   LINK  mips64-softmmu/qemu-system-mips64
|   LINK  ppc-softmmu/qemu-system-ppc
|   LINK  mipsel-softmmu/qemu-system-mipsel
|   LINK  mips-softmmu/qemu-system-mips
|   LINK  x86_64-softmmu/qemu-system-x86_64
|   LINK  i386-softmmu/qemu-system-i386
|   LINK  aarch64-softmmu/qemu-system-aarch64
|   LINK  arm-softmmu/qemu-system-arm
| /usr/lib/gcc/x86_64-poky-linux/4.9.1/../../../../lib/libgtk-x11-2.0.so: undefined reference to `g_type_check_instance_is_fundamentally_a'
| collect2: error: ld returned 1 exit status
| Makefile:168: recipe for target 'qemu-system-mips64el' failed
| make[1]: *** [qemu-system-mips64el] Error 1
| Makefile:163: recipe for target 'subdir-mips64el-softmmu' failed
| make: *** [subdir-mips64el-softmmu] Error 2
| make: *** Waiting for unfinished jobs....
| /usr/lib/gcc/x86_64-poky-linux/4.9.1/../../../../lib/libgtk-x11-2.0.so: undefined reference to `g_type_check_instance_is_fundamentally_a'
| collect2: error: ld returned 1 exit status
| Makefile:168: recipe for target 'qemu-system-mips64' failed
| make[1]: *** [qemu-system-mips64] Error 1
| Makefile:163: recipe for target 'subdir-mips64-softmmu' failed
| make: *** [subdir-mips64-softmmu] Error 2
| /usr/lib/gcc/x86_64-poky-linux/4.9.1/../../../../lib/libgtk-x11-2.0.so: undefined reference to `g_type_check_instance_is_fundamentally_a'
| collect2: error: ld returned 1 exit status
| Makefile:168: recipe for target 'qemu-system-mipsel' failed
| make[1]: *** [qemu-system-mipsel] Error 1
| Makefile:163: recipe for target 'subdir-mipsel-softmmu' failed
| make: *** [subdir-mipsel-softmmu] Error 2
| /usr/lib/gcc/x86_64-poky-linux/4.9.1/../../../../lib/libgtk-x11-2.0.so: undefined reference to `g_type_check_instance_is_fundamentally_a'
| collect2: error: ld returned 1 exit status
| Makefile:168: recipe for target 'qemu-system-mips' failed
| make[1]: *** [qemu-system-mips] Error 1
| Makefile:163: recipe for target 'subdir-mips-softmmu' failed
| make: *** [subdir-mips-softmmu] Error 2
| /usr/lib/gcc/x86_64-poky-linux/4.9.1/../../../../lib/libgtk-x11-2.0.so: undefined reference to `g_type_check_instance_is_fundamentally_a'
| collect2: error: ld returned 1 exit status
| Makefile:168: recipe for target 'qemu-system-ppc' failed
| make[1]: *** [qemu-system-ppc] Error 1
| Makefile:163: recipe for target 'subdir-ppc-softmmu' failed
| make: *** [subdir-ppc-softmmu] Error 2
| /usr/lib/gcc/x86_64-poky-linux/4.9.1/../../../../lib/libgtk-x11-2.0.so: undefined reference to `g_type_check_instance_is_fundamentally_a'
| collect2: error: ld returned 1 exit status
| Makefile:168: recipe for target 'qemu-system-x86_64' failed
| make[1]: *** [qemu-system-x86_64] Error 1
| Makefile:163: recipe for target 'subdir-x86_64-softmmu' failed
| make: *** [subdir-x86_64-softmmu] Error 2
| /usr/lib/gcc/x86_64-poky-linux/4.9.1/../../../../lib/libgtk-x11-2.0.so: undefined reference to `g_type_check_instance_is_fundamentally_a'
| collect2: error: ld returned 1 exit status
| Makefile:168: recipe for target 'qemu-system-i386' failed
| make[1]: *** [qemu-system-i386] Error 1
| Makefile:163: recipe for target 'subdir-i386-softmmu' failed
| make: *** [subdir-i386-softmmu] Error 2
| /usr/lib/gcc/x86_64-poky-linux/4.9.1/../../../../lib/libgtk-x11-2.0.so: undefined reference to `g_type_check_instance_is_fundamentally_a'
| collect2: error: ld returned 1 exit status
| Makefile:168: recipe for target 'qemu-system-arm' failed
| make[1]: *** [qemu-system-arm] Error 1
| Makefile:163: recipe for target 'subdir-arm-softmmu' failed
| make: *** [subdir-arm-softmmu] Error 2
| /usr/lib/gcc/x86_64-poky-linux/4.9.1/../../../../lib/libgtk-x11-2.0.so: undefined reference to `g_type_check_instance_is_fundamentally_a'
| collect2: error: ld returned 1 exit status
| Makefile:168: recipe for target 'qemu-system-aarch64' failed
| make[1]: *** [qemu-system-aarch64] Error 1
| Makefile:163: recipe for target 'subdir-aarch64-softmmu' failed
| make: *** [subdir-aarch64-softmmu] Error 2
| ERROR: oe_runmake failed
| WARNING: /7.x/build/ovp-host-Feb19/bitbake_build/tmp/work/x86_64-linux/qemu-native/2.1.2-r0/temp/do_compile/run.do_compile.31037:1 exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (log file is located at /7.x/build/ovp-host-Feb19/bitbake_build/tmp/work/x86_64-linux/qemu-native/2.1.2-r0/temp/do_compile/log.do_compile.31037)
ERROR: Task 205 (virtual:native:/7.x/build/ovp-host-Feb19/layers/oe-core/meta/recipes-devtools/qemu/qemu_2.1.2.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2088 tasks of which 2041 didn't need to be rerun and 1 failed.
NOTE: Build completion summary:
NOTE:   From shared state: 0
NOTE:   From scratch: 10
Waiting for 0 running tasks to finish:

Other Downloads


Live chat
Online