Fixed
Created: Aug 11, 2016
Updated: Dec 3, 2018
Resolved Date: Sep 6, 2016
Found In Version: 8.0.0.9
Fix Version: 8.0.0.9
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Userspace
Problem Description
======================
elfutils_0.163.bb, do_compile failed on a fedora24 host/container
Logs
======================
isystem/buildarea1/Workspace/LIN8-4123/bitbake_build/tmp/sysroots/x86_64-linux/usr/include -std=gnu99 -Wall -Wshadow -Werror -Wunused -Wextra -fgnu89-inline -Wformat=2 -Wstack-usage=262144 -Werror -fpic -isystem/buildarea1/Workspace/LIN8-4123/bitbake_build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c -o eblsymfuncval.o /buildarea1/Workspace/LIN8-4123/bitbake_build/tmp/work/x86_64-linux/elfutils-native/0.163-r0/elfutils-0.163/libebl/eblsymfuncval.c
| /buildarea1/Workspace/LIN8-4123/bitbake_build/tmp/work/x86_64-linux/elfutils-native/0.163-r0/elfutils-0.163/libebl/eblnormalizepc.c: In function 'ebl_normalize_pc':
| /buildarea1/Workspace/LIN8-4123/bitbake_build/tmp/work/x86_64-linux/elfutils-native/0.163-r0/elfutils-0.163/libebl/eblnormalizepc.c:38:6: error: nonnull argument 'ebl' compared to NULL [-Werror=nonnull-compare]
| if (ebl != NULL && ebl->normalize_pc != NULL)
| ^
| /buildarea1/Workspace/LIN8-4123/bitbake_build/tmp/work/x86_64-linux/elfutils-native/0.163-r0/elfutils-0.163/libebl/ebldwarftoregno.c: In function 'ebl_dwarf_to_regno':
| /buildarea1/Workspace/LIN8-4123/bitbake_build/tmp/work/x86_64-linux/elfutils-native/0.163-r0/elfutils-0.163/libebl/ebldwarftoregno.c:38:6: error: nonnull argument 'ebl' compared to NULL [-Werror=nonnull-compare]
| if (ebl == NULL)
| ^
| cc1: all warnings being treated as errors
| Makefile:540: recipe for target 'eblobjnote.o' failed
| make[2]: *** [eblobjnote.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| cc1: all warnings being treated as errors
| Makefile:540: recipe for target 'eblnormalizepc.o' failed
| make[2]: *** [eblnormalizepc.o] Error 1
| cc1: all warnings being treated as errors
| Makefile:540: recipe for target 'ebldwarftoregno.o' failed
| make[2]: *** [ebldwarftoregno.o] Error 1
| /buildarea1/Workspace/LIN8-4123/bitbake_build/tmp/work/x86_64-linux/elfutils-native/0.163-r0/elfutils-0.163/libebl/eblunwind.c: In function 'ebl_unwind':
| /buildarea1/Workspace/LIN8-4123/bitbake_build/tmp/work/x86_64-linux/elfutils-native/0.163-r0/elfutils-0.163/libebl/eblunwind.c:40:6: error: nonnull argument 'ebl' compared to NULL [-Werror=nonnull-compare]
| if (ebl == NULL || ebl->unwind == NULL)
| ^
| /buildarea1/Workspace/LIN8-4123/bitbake_build/tmp/work/x86_64-linux/elfutils-native/0.163-r0/elfutils-0.163/libebl/eblinitreg.c: In function 'ebl_frame_nregs':
| /buildarea1/Workspace/LIN8-4123/bitbake_build/tmp/work/x86_64-linux/elfutils-native/0.163-r0/elfutils-0.163/libebl/eblinitreg.c:50:26: error: nonnull argument 'ebl' compared to NULL [-Werror=nonnull-compare]
| return ebl == NULL ? 0 : ebl->frame_nregs;
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
| cc1: all warnings being treated as errors
| Makefile:540: recipe for target 'eblunwind.o' failed
| make[2]: *** [eblunwind.o] Error 1
| cc1: all warnings being treated as errors
| Makefile:540: recipe for target 'eblinitreg.o' failed
| make[2]: *** [eblinitreg.o] Error 1
| make[2]: Leaving directory '/buildarea1/Workspace/LIN8-4123/bitbake_build/tmp/work/x86_64-linux/elfutils-native/0.163-r0/build/libebl'
| Makefile:475: recipe for target 'all-recursive' failed
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory '/buildarea1/Workspace/LIN8-4123/bitbake_build/tmp/work/x86_64-linux/elfutils-native/0.163-r0/build'
| Makefile:391: recipe for target 'all' failed
| make: *** [all] Error 2
| WARNING: /buildarea1/Workspace/LIN8-4123/bitbake_build/tmp/work/x86_64-linux/elfutils-native/0.163-r0/temp/do_compile/run.do_compile.32623:1 exit 1 from
| exit 1
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /buildarea1/Workspace/LIN8-4123/bitbake_build/tmp/work/x86_64-linux/elfutils-native/0.163-r0/temp/do_compile/log.do_compile.32623)
NOTE: recipe elfutils-native-0.163-r0: task do_compile: Failed
ERROR: Task 854 (virtual:native:/buildarea1/Workspace/LIN8-4123/layers/oe-core/meta/recipes-devtools/elfutils/elfutils_0.163.bb, do_compile) failed with exit code '1'
Expected Behavior
======================
elfutils_0.163.bb, do_compile success on a fedora24 host/container
N/A
On host:
(1) # configure --enable-board=qemux86-64 --enable-rootfs=glibc-std --enable-kernel=standard
(2) # make fs