DEBUG: Executing shell function do_compile
NOTE: make -j 16 -l 75
make all-recursive
make[1]: Entering directory 'TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/build'
Making all in lib
make[2]: Entering directory 'TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/build/lib'
i686-poky-linux-musl-gcc -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../bc-1.08.1/lib -I.. -I. -I.. -I../../bc-1.08.1/lib/../h -O2 -g -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/bc-1.08.1=/usr/src/debug/bc/1.08.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/bc-1.08.1=/usr/src/debug/bc/1.08.1 -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/build=/usr/src/debug/bc/1.08.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/build=/usr/src/debug/bc/1.08.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot-native= -pipe -Wall -funsigned-char -O2 -g -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/bc-1.08.1=/usr/src/debug/bc/1.08.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/bc-1.08.1=/usr/src/debug/bc/1.08.1 -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/build=/usr/src/debug/bc/1.08.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/build=/usr/src/debug/bc/1.08.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot-native= -pipe -Wall -funsigned-char -c -o getopt.o ../../bc-1.08.1/lib/getopt.c
i686-poky-linux-musl-gcc -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../bc-1.08.1/lib -I.. -I. -I.. -I../../bc-1.08.1/lib/../h -O2 -g -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/bc-1.08.1=/usr/src/debug/bc/1.08.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/bc-1.08.1=/usr/src/debug/bc/1.08.1 -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/build=/usr/src/debug/bc/1.08.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/build=/usr/src/debug/bc/1.08.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot-native= -pipe -Wall -funsigned-char -O2 -g -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/bc-1.08.1=/usr/src/debug/bc/1.08.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/bc-1.08.1=/usr/src/debug/bc/1.08.1 -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/build=/usr/src/debug/bc/1.08.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/build=/usr/src/debug/bc/1.08.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot-native= -pipe -Wall -funsigned-char -c -o getopt1.o ../../bc-1.08.1/lib/getopt1.c
i686-poky-linux-musl-gcc -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../bc-1.08.1/lib -I.. -I. -I.. -I../../bc-1.08.1/lib/../h -O2 -g -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/bc-1.08.1=/usr/src/debug/bc/1.08.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/bc-1.08.1=/usr/src/debug/bc/1.08.1 -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/build=/usr/src/debug/bc/1.08.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/build=/usr/src/debug/bc/1.08.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot-native= -pipe -Wall -funsigned-char -O2 -g -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/bc-1.08.1=/usr/src/debug/bc/1.08.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/bc-1.08.1=/usr/src/debug/bc/1.08.1 -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/build=/usr/src/debug/bc/1.08.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/build=/usr/src/debug/bc/1.08.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot-native= -pipe -Wall -funsigned-char -c -o vfprintf.o ../../bc-1.08.1/lib/vfprintf.c
i686-poky-linux-musl-gcc -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../bc-1.08.1/lib -I.. -I. -I.. -I../../bc-1.08.1/lib/../h -O2 -g -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/bc-1.08.1=/usr/src/debug/bc/1.08.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/bc-1.08.1=/usr/src/debug/bc/1.08.1 -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/build=/usr/src/debug/bc/1.08.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/build=/usr/src/debug/bc/1.08.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot-native= -pipe -Wall -funsigned-char -O2 -g -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/bc-1.08.1=/usr/src/debug/bc/1.08.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/bc-1.08.1=/usr/src/debug/bc/1.08.1 -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/build=/usr/src/debug/bc/1.08.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/build=/usr/src/debug/bc/1.08.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/recipe-sysroot-native= -pipe -Wall -funsigned-char -c -o number.o ../../bc-1.08.1/lib/number.c
../../bc-1.08.1/lib/getopt.c: In function '_getopt_initialize':
../../bc-1.08.1/lib/getopt.c:348:21: error: too many arguments to function 'getenv'; expected 0, have 1
348 | posixly_correct = getenv ("POSIXLY_CORRECT");
| ^~~~~~ ~~~~~~~~~~~~~~~~~
../../bc-1.08.1/lib/getopt.c:200:14: note: declared here
200 | extern char *getenv ();
| ^~~~~~
../../bc-1.08.1/lib/getopt.c: At top level:
../../bc-1.08.1/lib/getopt.c:1135:1: error: conflicting types for 'getopt'; have 'int(int, char * const*, const char *)'
1135 | getopt (int argc, char *const *argv, const char *optstring)
| ^~~~~~
In file included from ../../bc-1.08.1/lib/getopt.c:106:
../../bc-1.08.1/lib/../h/getopt.h:144:12: note: previous declaration of 'getopt' with type 'int(void)'
144 | extern int getopt ();
| ^~~~~~
make[2]: *** [Makefile:341: getopt.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory 'TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/build/lib'
make[1]: *** [Makefile:372: all-recursive] Error 1
make[1]: Leaving directory 'TOPDIR/tmp/work/core2-32-poky-linux-musl/bc/1.08.1/build'
make: *** [Makefile:313: all] Error 2
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.