Wind River Support Network

HomeDefectsCGP8-320
Fixed

CGP8-320 : dconf_0.18.0.bb, do_compile) failed

Created: May 11, 2016    Updated: Dec 3, 2018
Resolved Date: May 19, 2016
Found In Version: 8.0
Fix Version: 8.0.0.6
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: Userspace

Description

| rm -f libdconf-gdbus-thread-shared.a
| ar cru libdconf-gdbus-thread-shared.a libdconf_gdbus_thread_shared_a-dconf-gdbus-thread.o
| x86_64-wrs-linux-ranlib libdconf-gdbus-thread-shared.a
| rm -f libdconf-gdbus-filter-shared.a
| ar cru libdconf-gdbus-filter-shared.a libdconf_gdbus_filter_shared_a-dconf-gdbus-filter.o
| x86_64-wrs-linux-ranlib libdconf-gdbus-filter-shared.a
| rm -f libdconf-gdbus-thread.a
| ar cru libdconf-gdbus-thread.a libdconf_gdbus_thread_a-dconf-gdbus-thread.o
| rm -f libdconf-gdbus-filter.a
| x86_64-wrs-linux-ranlib libdconf-gdbus-thread.a
| ar cru libdconf-gdbus-filter.a libdconf_gdbus_filter_a-dconf-gdbus-filter.o
| x86_64-wrs-linux-ranlib libdconf-gdbus-filter.a
| make[2]: Leaving directory '/WRL8CGP/build_dir/userspace/GIT_201605/lxbuilds/Romley-EP_platform_up/intel-x86-64-cgl-glibc-cgl/wrlinux/test/bitbake_build/tmp/work/corei7-64-wrs-linux/dconf/0.18.0-r0/build/gdbus'
| Making all in gsettings
| make[2]: Entering directory '/WRL8CGP/build_dir/userspace/GIT_201605/lxbuilds/Romley-EP_platform_up/intel-x86-64-cgl-glibc-cgl/wrlinux/test/bitbake_build/tmp/work/corei7-64-wrs-linux/dconf/0.18.0-r0/build/gsettings'
| x86_64-wrs-linux-gcc -m64 -march=corei7 -mtune=corei7 -mfpmath=sse -msse4.2 --sysroot=/WRL8CGP/build_dir/userspace/GIT_201605/lxbuilds/Romley-EP_platform_up/intel-x86-64-cgl-glibc-cgl/wrlinux/test/bitbake_build/tmp/sysroots/intel-x86-64 -DHAVE_CONFIG_H -I. -I/WRL8CGP/build_dir/userspace/GIT_201605/lxbuilds/Romley-EP_platform_up/intel-x86-64-cgl-glibc-cgl/wrlinux/test/bitbake_build/tmp/work/corei7-64-wrs-linux/dconf/0.18.0-r0/dconf-0.18.0/gsettings -I..    -pthread -I/WRL8CGP/build_dir/userspace/GIT_201605/lxbuilds/Romley-EP_platform_up/intel-x86-64-cgl-glibc-cgl/wrlinux/test/bitbake_build/tmp/sysroots/intel-x86-64/usr/include/gio-unix-2.0/ -I/WRL8CGP/build_dir/userspace/GIT_201605/lxbuilds/Romley-EP_platform_up/intel-x86-64-cgl-glibc-cgl/wrlinux/test/bitbake_build/tmp/sysroots/intel-x86-64/usr/include/glib-2.0 -I/WRL8CGP/build_dir/userspace/GIT_201605/lxbuilds/Romley-EP_platform_up/intel-x86-64-cgl-glibc-cgl/wrlinux/test/bitbake_build/tmp/sysroots/intel-x86-64/usr/lib64/glib-2.0/include -fPIC -DPIC -DG_LOG_DOMAIN=\"dconf\" -O2 -pipe -g -fno-omit-frame-pointer -fvisibility=default -fstack-protector-all -pie -fpie -D_FORTIFY_SOURCE=2 -c -o libdconfsettings_so-dconfsettingsbackend.o `test -f 'dconfsettingsbackend.c' || echo '/WRL8CGP/build_dir/userspace/GIT_201605/lxbuilds/Romley-EP_platform_up/intel-x86-64-cgl-glibc-cgl/wrlinux/test/bitbake_build/tmp/work/corei7-64-wrs-linux/dconf/0.18.0-r0/dconf-0.18.0/gsettings/'`dconfsettingsbackend.c
| x86_64-wrs-linux-gcc -m64 -march=corei7 -mtune=corei7 -mfpmath=sse -msse4.2 --sysroot=/WRL8CGP/build_dir/userspace/GIT_201605/lxbuilds/Romley-EP_platform_up/intel-x86-64-cgl-glibc-cgl/wrlinux/test/bitbake_build/tmp/sysroots/intel-x86-64 -pthread -I/WRL8CGP/build_dir/userspace/GIT_201605/lxbuilds/Romley-EP_platform_up/intel-x86-64-cgl-glibc-cgl/wrlinux/test/bitbake_build/tmp/sysroots/intel-x86-64/usr/include/gio-unix-2.0/ -I/WRL8CGP/build_dir/userspace/GIT_201605/lxbuilds/Romley-EP_platform_up/intel-x86-64-cgl-glibc-cgl/wrlinux/test/bitbake_build/tmp/sysroots/intel-x86-64/usr/include/glib-2.0 -I/WRL8CGP/build_dir/userspace/GIT_201605/lxbuilds/Romley-EP_platform_up/intel-x86-64-cgl-glibc-cgl/wrlinux/test/bitbake_build/tmp/sysroots/intel-x86-64/usr/lib64/glib-2.0/include -fPIC -DPIC -DG_LOG_DOMAIN=\"dconf\" -O2 -pipe -g -fno-omit-frame-pointer -fvisibility=default -fstack-protector-all -pie -fpie -D_FORTIFY_SOURCE=2 -shared -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now -o libdconfsettings.so libdconfsettings_so-dconfsettingsbackend.o ../engine/libdconf-engine-shared.a ../gvdb/libgvdb-shared.a ../gdbus/libdconf-gdbus-thread-shared.a ../common/libdconf-common-hidden.a ../shm/libdconf-shm-shared.a -L/WRL8CGP/build_dir/userspace/GIT_201605/lxbuilds/Romley-EP_platform_up/intel-x86-64-cgl-glibc-cgl/wrlinux/test/bitbake_build/tmp/sysroots/intel-x86-64/usr/lib64 -lgio-2.0 -lgobject-2.0 -lglib-2.0
| /WRL8CGP/build_dir/userspace/GIT_201605/lxbuilds/Romley-EP_platform_up/intel-x86-64-cgl-glibc-cgl/wrlinux/test/bitbake_build/tmp/sysroots/x86_64-linux/usr/libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/5.2.0/ld: ../engine/libdconf-engine-shared.a(libdconf_engine_shared_a-dconf-engine-profile.o): relocation R_X86_64_PC32 against undefined symbol `g_ascii_table' can not be used when making a shared object; recompile with -fPIC
| /WRL8CGP/build_dir/userspace/GIT_201605/lxbuilds/Romley-EP_platform_up/intel-x86-64-cgl-glibc-cgl/wrlinux/test/bitbake_build/tmp/sysroots/x86_64-linux/usr/libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/5.2.0/ld: final link failed: Bad value
| collect2: error: ld returned 1 exit status
| Makefile:621: recipe for target 'libdconfsettings.so' failed
| make[2]: *** [libdconfsettings.so] Error 1
| make[2]: Leaving directory '/WRL8CGP/build_dir/userspace/GIT_201605/lxbuilds/Romley-EP_platform_up/intel-x86-64-cgl-glibc-cgl/wrlinux/test/bitbake_build/tmp/work/corei7-64-wrs-linux/dconf/0.18.0-r0/build/gsettings'
| Makefile:422: recipe for target 'all-recursive' failed
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory '/WRL8CGP/build_dir/userspace/GIT_201605/lxbuilds/Romley-EP_platform_up/intel-x86-64-cgl-glibc-cgl/wrlinux/test/bitbake_build/tmp/work/corei7-64-wrs-linux/dconf/0.18.0-r0/build'
| Makefile:362: recipe for target 'all' failed
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /WRL8CGP/build_dir/userspace/GIT_201605/lxbuilds/Romley-EP_platform_up/intel-x86-64-cgl-glibc-cgl/wrlinux/test/bitbake_build/tmp/work/corei7-64-wrs-linux/dconf/0.18.0-r0/temp/do_compile/log.do_compile.89836)
ERROR: Task 6 (/WRL8CGP/build_dir/userspace/GIT_201605/lxbuilds/Romley-EP_platform_up/intel-x86-64-cgl-glibc-cgl/wrlinux/test/layers/meta-openembedded/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2079 tasks of which 9 didn't need to be rerun and 1 failed.
NOTE: Build completion summary:
NOTE:   do_populate_sysroot: 0% sstate reuse (0 setscene, 228 scratch)
NOTE:   do_package: 0% sstate reuse (0 setscene, 126 scratch)
NOTE:   do_packagedata: 0% sstate reuse (0 setscene, 125 scratch)
NOTE:   do_package_write_rpm: 0% sstate reuse (0 setscene, 124 scratch)
NOTE:   do_populate_lic: 0% sstate reuse (0 setscene, 1 scratch)
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /WRL8CGP/build_dir/userspace/GIT_201605/lxbuilds/Romley-EP_platform_up/intel-x86-64-cgl-glibc-cgl/wrlinux/test/layers/meta-openembedded/meta-gnome/recipes-gnome/dconf/dconf_0.18.0.bb, do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
make: *** [dconf] Error 1

Workaround

disable PIE flags for dconf, as some part of it is designed to be static, forcing PIE flags in CC will unavoidably break it.

Steps to Reproduce

1) configure --enable-board=intel-x86-64 --enable-kernel=cgl --enable-rootfs=glibc-cgl --with-layer=common --with-template=feature/xfce --enable-internet-download=yes --enable-build=profiling

2) make dconf

Other Downloads


Live chat
Online