Fixed
Created: Jan 29, 2016
Updated: Dec 3, 2018
Resolved Date: Feb 16, 2016
Found In Version: 6.0.0.27
Fix Version: 6.0.0.28
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Build & Config
configure will turn to the latest version of toolchain if the corresponding version not installed, below warning got from the configure
==========
======================================================================================
!!!! WARNING WARNING WARNING !!!!
Don't find the corresponding toolchain binary-toolchain-4.8-45, turn to use the newest toolchain binary-toolchain-4.8-47
You can download the corresponding toolchain from URL:
https://knowledge.windriver.com/Content_Lookup?id=045388
!!!! WARNING WARNING WARNING !!!!
======================================================================================
==========
but this may result in building failed, for instance, use binary-toolchain-4.8-47 to compile rcpl0 will failed
==========
......
| x86_64-wrs-linux-gcc -m64 --sysroot=/wrlinux/builds/build-6.0.0.27-def-1/bitbake_build/tmp/sysroots/intel-x86-64 -DHAVE_CONFIG_H -I. -Wall -W -I./include -DGRUB_UTIL=1 -DGRUB_LIBDIR=\"/usr/lib64/grub\" -DLOCALEDIR=\"/usr/share/locale\" -DGRUB_FILE=\"grub-core/lib/reed_solomon.c\" -I. -I. -I. -I. -I./include -I./include -I./grub-core/gnulib -I./grub-core/gnulib -DGRUB_SETUP_BIOS=1 -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -Werror -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -O2 -pipe -g -feliminate-unused-debug-types -c -o grub-core/lib/grub_bios_setup-reed_solomon.o `test -f 'grub-core/lib/reed_solomon.c' || echo './'`grub-core/lib/reed_solomon.c
| cc1: all warnings being treated as errors
| make[2]: *** [util/grub_mkimage-grub-mkimage.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| make[2]: Leaving directory `/wrlinux/builds/build-6.0.0.27-def-1/bitbake_build/tmp/work/x86_64-wrs-linux/grub/2.00-r1/grub-2.00'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/wrlinux/builds/build-6.0.0.27-def-1/bitbake_build/tmp/work/x86_64-wrs-linux/grub/2.00-r1/grub-2.00'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: /wrlinux/builds/build-6.0.0.27-def-1/bitbake_build/tmp/work/x86_64-wrs-linux/grub/2.00-r1/temp/do_compile/run.do_compile.26057:1 exit 1 from
| exit 1
| ERROR: Function failed: do_compile (log file is located at /wrlinux/builds/build-6.0.0.27-def-1/bitbake_build/tmp/work/x86_64-wrs-linux/grub/2.00-r1/temp/do_compile/log.do_compile.26057)
ERROR: Task 6 (/wrlinux/builds/build-6.0.0.27-def-1/layers/oe-core/meta/recipes-bsp/grub/grub_2.00.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 782 tasks of which 781 didn't need to be rerun and 1 failed.
No currently running tasks (507 of 789)
==========
1. Install RCPL0027 with only latest toolchain installed
2. configure project and build
$ configure --enable-board=intel-x86-64 --enable-kernel=standard --enable-rootfs=glibc-small --enable-parallel-pkgbuilds=6 --enable-jobs=6 --with-rcpl-version=0
$ make -C build grub