DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
DEBUG: Executing shell function do_compile
NOTE: make -j 96 -l 144.0 CC=x86_64-yoe-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0/recipe-sysroot OPT_FLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0=/usr/src/debug/gradm/3.1-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0=/usr/src/debug/gradm/3.1-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0/recipe-sysroot-native= LLEX=TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0/recipe-sysroot-native/usr/bin/lex FLEX=TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0/recipe-sysroot-native/usr/bin/flex BISON=TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0/recipe-sysroot-native/usr/bin/bison
TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0/recipe-sysroot-native/usr/bin/bison -b gradm -p gradm -d ./gradm.y
TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0/recipe-sysroot-native/usr/bin/bison -b grlearn2_config -p grlearn2_config -d ./grlearn2_config.y
x86_64-yoe-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0=/usr/src/debug/gradm/3.1-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0=/usr/src/debug/gradm/3.1-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0/recipe-sysroot-native= -fPIE -Wcast-qual -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o gradm.tab.o gradm.tab.c
Unable to detect PAM headers, disabling PAM support.
x86_64-yoe-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0=/usr/src/debug/gradm/3.1-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0=/usr/src/debug/gradm/3.1-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0/recipe-sysroot-native= -fPIE -Wcast-qual -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o gradm_replace.o gradm_replace.c
x86_64-yoe-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0=/usr/src/debug/gradm/3.1-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0=/usr/src/debug/gradm/3.1-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0/recipe-sysroot-native= -fPIE -Wcast-qual -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -c -o gradm_globals.o gradm_globals.c
TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0/recipe-sysroot-native/usr/bin/flex -Cfa -B -8 -Pgrlearn_config ./grlearn_config.l
TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0/recipe-sysroot-native/usr/bin/bison -b grlearn_config -p grlearn_config -d ./grlearn_config.y
x86_64-yoe-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0=/usr/src/debug/gradm/3.1-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0=/usr/src/debug/gradm/3.1-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0/recipe-sysroot-native= -fPIE -Wcast-qual -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -DIS_GRLEARN -o grlearn grlearn.c gradm_lib.c gradm_globals.c grlearn2_config.tab.c lex.grlearn_config.c -lfl -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now -pie
gradm_lib.c: In function 'add_to_string_array':
gradm_lib.c:123:3: warning: to be safe all intermediate pointers in cast from 'char **' to 'const char **' must be 'const' qualified [-Wcast-qual]
123 | *(const char **)(*array + size) = str;
| ^
TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0/recipe-sysroot-native/usr/bin/x86_64-yoe-linux/../../libexec/x86_64-yoe-linux/gcc/x86_64-yoe-linux/9.1.0/ld: TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0/recipe-sysroot/usr/lib/../lib/libfl.so: undefined reference to `yylex'
collect2: error: ld returned 1 exit status
Makefile:66: recipe for target 'grlearn' failed
make: *** [grlearn] Error 1
ERROR: oe_runmake failed
WARNING: TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0/temp/run.do_compile.34624:1 exit 1 from 'exit 1'
ERROR: Function failed: do_compile (log file is located at TOPDIR/build/tmp/work/core2-64-yoe-linux/gradm/3.1-r0/temp/log.do_compile.34624)