Fixed
Created: Sep 29, 2018
Updated: Dec 3, 2018
Resolved Date: Oct 15, 2018
Found In Version: 10.17.41.12
Fix Version: 10.17.41.12
Severity: Standard
Applicable for: Wind River Linux LTS 17
Component/s: Userspace
ERROR: restool-git-r0 do_compile: oe_runmake failed
ERROR: restool-git-r0 do_compile: Function failed: do_compile (log file is located at /nxp-lx2xxx-clean/build_test/tmp-glibc/work/nxp_lx2xxx-wrs-linux/restool/git-r0/temp/log.do_compile.22747)
ERROR: Logfile of failure stored in: /nxp-lx2xxx-clean/build_test/tmp-glibc/work/nxp_lx2xxx-wrs-linux/restool/git-r0/temp/log.do_compile.22747
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 48 CC=aarch64-wrs-linux-gcc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/nxp-lx2xxx-clean/build_test/tmp-glibc/work/nxp_lx2xxx-wrs-linux/restool/git-r0/recipe-sysroot EXTRA_CFLAGS=-Wno-missing-field-initializers -Wno-missing-braces
| aarch64-wrs-linux-gcc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/nxp-lx2xxx-clean/build_test/tmp-glibc/work/nxp_lx2xxx-wrs-linux/restool/git-r0/recipe-sysroot -Wno-missing-field-initializers -Wno-missing-braces -Wall -Wstrict-prototypes -Wextra -Wformat -std=gnu99 -Wmissing-prototypes -Wpointer-arith -Winline -Werror -Wundef -Icommon/ -DVERSION=\"lx2160a-early-access-bsp0.3\" -c dpdmai_commands.c -o dpdmai_commands.o
| In file included from /nxp-lx2xxx-clean/build_test/tmp-glibc/work/nxp_lx2xxx-wrs-linux/restool/git-r0/recipe-sysroot/usr/include/bits/libc-header-start.h:33:0,
| from /nxp-lx2xxx-clean/build_test/tmp-glibc/work/nxp_lx2xxx-wrs-linux/restool/git-r0/recipe-sysroot/usr/include/stdio.h:27,
| from dpdmai_commands.c:33:
| /nxp-lx2xxx-clean/build_test/tmp-glibc/work/nxp_lx2xxx-wrs-linux/restool/git-r0/recipe-sysroot/usr/include/features.h:376:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
| # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
| ^~~~~~~
| aarch64-wrs-linux-gcc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/nxp-lx2xxx-clean/build_test/tmp-glibc/work/nxp_lx2xxx-wrs-linux/restool/git-r0/recipe-sysroot -Wno-missing-field-initializers -Wno-missing-braces -Wall -Wstrict-prototypes -Wextra -Wformat -std=gnu99 -Wmissing-prototypes -Wpointer-arith -Winline -Werror -Wundef -Icommon/ -DVERSION=\"lx2160a-early-access-bsp0.3\" -c dpmcp_commands.c -o dpmcp_commands.o
| In file included from /nxp-lx2xxx-clean/build_test/tmp-glibc/work/nxp_lx2xxx-wrs-linux/restool/git-r0/recipe-sysroot/usr/include/bits/libc-header-start.h:33:0,
| from /nxp-lx2xxx-clean/build_test/tmp-glibc/work/nxp_lx2xxx-wrs-linux/restool/git-r0/recipe-sysroot/usr/include/stdio.h:27,
| from dpmcp_commands.c:33:
| /nxp-lx2xxx-clean/build_test/tmp-glibc/work/nxp_lx2xxx-wrs-linux/restool/git-r0/recipe-sysroot/usr/include/features.h:376:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
| # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
| ^~~~~~~
| aarch64-wrs-linux-gcc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/nxp-lx2xxx-clean/build_test/tmp-glibc/work/nxp_lx2xxx-wrs-linux/restool/git-r0/recipe-sysroot -Wno-missing-field-initializers -Wno-missing-braces -Wall -Wstrict-prototypes -Wextra -Wformat -std=gnu99 -Wmissing-prototypes -Wpointer-arith -Winline -Werror -Wundef -Icommon/ -DVERSION=\"lx2160a-early-access-bsp0.3\" -c dprc_commands_generate_dpl.c -o dprc_commands_generate_dpl.o
| In file included from /nxp-lx2xxx-clean/build_test/tmp-glibc/work/nxp_lx2xxx-wrs-linux/restool/git-r0/recipe-sysroot/usr/include/bits/libc-header-start.h:33:0,
| from /nxp-lx2xxx-clean/build_test/tmp-glibc/work/nxp_lx2xxx-wrs-linux/restool/git-r0/recipe-sysroot/usr/include/stdio.h:27,
| from dprc_commands_generate_dpl.c:33:
| /nxp-lx2xxx-clean/build_test/tmp-glibc/work/nxp_lx2xxx-wrs-linux/restool/git-r0/recipe-sysroot/usr/include/features.h:376:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
| # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
| ^~~~~~~
| cc1: all warnings being treated as errors
| make: *** [Makefile:40: dpmcp_commands.o] Error 1
| make: *** Waiting for unfinished jobs....
| cc1: all warnings being treated as errors
| make: *** [Makefile:40: dpdmai_commands.o] Error 1
| cc1: all warnings being treated as errors
| make: *** [Makefile:40: dprc_commands_generate_dpl.o] Error 1
| ERROR: oe_runmake failed
| WARNING: /nxp-lx2xxx-clean/build_test/tmp-glibc/work/nxp_lx2xxx-wrs-linux/restool/git-r0/temp/run.do_compile.22747:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at /nxp-lx2xxx-clean/build_test/tmp-glibc/work/nxp_lx2xxx-wrs-linux/restool/git-r0/temp/log.do_compile.22747)
ERROR: Task (/nxp-lx2xxx-clean/layers/meta-freescale/recipes-dpaa2/restool/restool_git.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3699 tasks of which 6 didn't need to be rerun and 1 failed.
setup.sh --machines nxp-lx2xxx --templates feature/system-stats,feature/valgrind,feature/iotop --distro wrlinux-cgl --dl-layers --accept-eula=yes
. ./environment-setup-x86_64-wrlinuxsdk-linux && . ./oe-init-build-env build_test
bitbake wrlinux-image-glibc-cgl