DEBUG: Executing shell function do_compile
NOTE: make -j 70 -l 140 m4=TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/recipe-sysroot-native/usr/bin/m4 FLEX=TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/recipe-sysroot-native/usr/bin/flex
Making all in src
make[1]: Entering directory 'TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/build/src'
make all-am
make[2]: Entering directory 'TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/build/src'
gcc -DHAVE_CONFIG_H -I. -I../../flex-2.6.4/src -DLOCALEDIR=\"/usr/share/locale\" -isystemTOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/recipe-sysroot-native/usr/include -isystemTOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/recipe-sysroot-native/usr/include -O2 -pipe -c -o ../lib/stage1flex-malloc.o `test -f '../lib/malloc.c' || echo '../../flex-2.6.4/src/'`../lib/malloc.c
/bin/bash ../libtool --tag=CC --mode=link x86_64-oe-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-all -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/recipe-sysroot -O2 -g -ffile-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/flex-2.6.4=/usr/src/debug/flex/2.6.4 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/build=/usr/src/debug/flex/2.6.4 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/recipe-sysroot-native= -pipe -version-info 2:0:0 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -ffile-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/flex-2.6.4=/usr/src/debug/flex/2.6.4 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/build=/usr/src/debug/flex/2.6.4 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/recipe-sysroot-native= -Wl,-z,relro,-z,now -o libfl.la -rpath /usr/lib libmain.lo libyywrap.lo -lm
../../flex-2.6.4/src/../lib/malloc.c:6:12: warning: conflicting types for built-in function ‘malloc’; expected ‘void *(long unsigned int)’ [-Wbuiltin-declaration-mismatch]
6 | void *malloc ();
| ^~~~~~
../../flex-2.6.4/src/../lib/malloc.c:5:1: note: ‘malloc’ is declared in header ‘<stdlib.h>’
4 | #include <sys/types.h>
+++ |+#include <stdlib.h>
5 |
../../flex-2.6.4/src/../lib/malloc.c: In function ‘rpl_malloc’:
../../flex-2.6.4/src/../lib/malloc.c:16:15: error: too many arguments to function ‘malloc’; expected 0, have 1
16 | return malloc (n);
| ^~~~~~ ~
../../flex-2.6.4/src/../lib/malloc.c:6:12: note: declared here
6 | void *malloc ();
| ^~~~~~
make[2]: *** [Makefile:1431: ../lib/stage1flex-malloc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: link: x86_64-oe-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-all -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/recipe-sysroot -shared -fPIC -DPIC .libs/libmain.o .libs/libyywrap.o -lm -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-all -O2 -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/recipe-sysroot -O2 -g -ffile-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/flex-2.6.4=/usr/src/debug/flex/2.6.4 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/build=/usr/src/debug/flex/2.6.4 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/recipe-sysroot-native= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -ffile-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/flex-2.6.4=/usr/src/debug/flex/2.6.4 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/build=/usr/src/debug/flex/2.6.4 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/recipe-sysroot-native= -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,libfl.so.2 -o .libs/libfl.so.2.0.0
libtool: link: (cd ".libs" && rm -f "libfl.so.2" && ln -s "libfl.so.2.0.0" "libfl.so.2")
libtool: link: (cd ".libs" && rm -f "libfl.so" && ln -s "libfl.so.2.0.0" "libfl.so")
libtool: link: ( cd ".libs" && rm -f "libfl.la" && ln -s "../libfl.la" "libfl.la" )
make[2]: Leaving directory 'TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/build/src'
make[1]: *** [Makefile:579: all] Error 2
make[1]: Leaving directory 'TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/build/src'
make: *** [Makefile:541: all-recursive] Error 1
ERROR: oe_runmake failed
WARNING: TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/temp/run.do_compile.3163540:182 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script):
#1: bbfatal_log, TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/temp/run.do_compile.3163540, line 182
#2: die, TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/temp/run.do_compile.3163540, line 166
#3: oe_runmake, TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/temp/run.do_compile.3163540, line 161
#4: autotools_do_compile, TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/temp/run.do_compile.3163540, line 156
#5: do_compile, TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/temp/run.do_compile.3163540, line 151
#6: main, TOPDIR/tmp/work/core2-64-oe-linux/flex/2.6.4/temp/run.do_compile.3163540, line 195