DEBUG: Executing shell function do_compile
NOTE: make -j 16 LD=ld AR=ar OBJCOPY=objcopy LDFLAGS=-LTOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/recipe-sysroot-native/usr/lib -LTOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/recipe-sysroot-native/lib -Wl,-O1 -fuse-ld=bfd
CC mipsel-linux-user/linux-user/syscall.o
CC mipsel-linux-user/linux-user/elfload.o
CC mipsel-linux-user/linux-user/uaccess.o
CC mipsel-linux-user/linux-user/linuxload.o
CC mipsel-linux-user/linux-user/uname.o
CC i386-linux-user/gdbstub-xml.o
CC i386-linux-user/linux-user/syscall.o
TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:254:16: error: static declaration of ‘gettid’ follows non-static declaration
254 | _syscall0(int, gettid)
| ^~~~~~
TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:185:13: note: in definition of macro ‘_syscall0’
185 | static type name (void) \
| ^~~~
In file included from /usr/include/unistd.h:1170,
from TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/include/qemu/osdep.h:90,
from TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:20:
/usr/include/bits/unistd_ext.h:34:16: note: previous declaration of ‘gettid’ was here
34 | extern __pid_t gettid (void) __THROW;
| ^~~~~~
TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:254:16: error: static declaration of ‘gettid’ follows non-static declaration
254 | _syscall0(int, gettid)
| ^~~~~~
TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:185:13: note: in definition of macro ‘_syscall0’
185 | static type name (void) \
| ^~~~
In file included from /usr/include/unistd.h:1170,
from TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/include/qemu/osdep.h:90,
from TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:20:
/usr/include/bits/unistd_ext.h:34:16: note: previous declaration of ‘gettid’ was here
34 | extern __pid_t gettid (void) __THROW;
| ^~~~~~
CC i386-linux-user/linux-user/linuxload.o
CCAS mipsel-linux-user/linux-user/safe-syscall.o
CC i386-linux-user/linux-user/uaccess.o
CC i386-linux-user/linux-user/uname.o
In function ‘fill_psinfo’,
inlined from ‘fill_note_info’ at TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/elfload.c:3340:5,
inlined from ‘elf_core_dump’ at TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/elfload.c:3489:9:
TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/elfload.c:3158:12: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
3158 | (void) strncpy(psinfo->pr_fname, base_filename,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3159 | sizeof(psinfo->pr_fname));
| ~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/rules.mak:69: linux-user/syscall.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/rules.mak:69: linux-user/syscall.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CCAS i386-linux-user/linux-user/safe-syscall.o
CC sh4-linux-user/linux-user/strace.o
CC sh4-linux-user/linux-user/syscall.o
CC sh4-linux-user/linux-user/mmap.o
CC sh4-linux-user/linux-user/signal.o
CC sh4-linux-user/linux-user/elfload.o
CC arm-linux-user/gdbstub-xml.o
make: *** [Makefile:483: subdir-i386-linux-user] Error 2
make: *** Waiting for unfinished jobs....
CC sh4-linux-user/linux-user/linuxload.o
CC mips64el-linux-user/linux-user/syscall.o
TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:254:16: error: static declaration of ‘gettid’ follows non-static declaration
254 | _syscall0(int, gettid)
| ^~~~~~
TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:185:13: note: in definition of macro ‘_syscall0’
185 | static type name (void) \
| ^~~~
In file included from /usr/include/unistd.h:1170,
from TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/include/qemu/osdep.h:90,
from TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:20:
/usr/include/bits/unistd_ext.h:34:16: note: previous declaration of ‘gettid’ was here
34 | extern __pid_t gettid (void) __THROW;
| ^~~~~~
make: *** [Makefile:483: subdir-mipsel-linux-user] Error 2
CC mips64el-linux-user/linux-user/mmap.o
CC arm-linux-user/linux-user/syscall.o
CC arm-linux-user/linux-user/mmap.o
CC riscv32-linux-user/linux-user/syscall.o
CC mips64-linux-user/linux-user/syscall.o
CC riscv64-linux-user/linux-user/syscall.o
make[1]: *** [TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/rules.mak:69: linux-user/syscall.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CC riscv64-linux-user/linux-user/signal.o
In function ‘fill_psinfo’,
inlined from ‘fill_note_info’ at TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/elfload.c:3340:5,
inlined from ‘elf_core_dump’ at TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/elfload.c:3489:9:
TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/elfload.c:3158:12: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
3158 | (void) strncpy(psinfo->pr_fname, base_filename,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3159 | sizeof(psinfo->pr_fname));
| ~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:254:16: error: static declaration of ‘gettid’ follows non-static declaration
254 | _syscall0(int, gettid)
| ^~~~~~
TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:185:13: note: in definition of macro ‘_syscall0’
185 | static type name (void) \
| ^~~~
In file included from /usr/include/unistd.h:1170,
from TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/include/qemu/osdep.h:90,
from TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:20:
/usr/include/bits/unistd_ext.h:34:16: note: previous declaration of ‘gettid’ was here
34 | extern __pid_t gettid (void) __THROW;
| ^~~~~~
CC x86_64-linux-user/gdbstub-xml.o
CC aarch64-linux-user/gdbstub-xml.o
CC riscv64-linux-user/linux-user/elfload.o
CC mips-linux-user/linux-user/syscall.o
CC x86_64-linux-user/linux-user/syscall.o
TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:254:16: error: static declaration of ‘gettid’ follows non-static declaration
254 | _syscall0(int, gettid)
| ^~~~~~
TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:185:13: note: in definition of macro ‘_syscall0’
185 | static type name (void) \
| ^~~~
In file included from /usr/include/unistd.h:1170,
from TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/include/qemu/osdep.h:90,
from TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:20:
/usr/include/bits/unistd_ext.h:34:16: note: previous declaration of ‘gettid’ was here
34 | extern __pid_t gettid (void) __THROW;
| ^~~~~~
CC mips-linux-user/linux-user/mips/signal.o
make[1]: *** [TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/rules.mak:69: linux-user/syscall.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CC arm-linux-user/linux-user/signal.o
TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:254:16: error: static declaration of ‘gettid’ follows non-static declaration
254 | _syscall0(int, gettid)
| ^~~~~~
TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:185:13: note: in definition of macro ‘_syscall0’
185 | static type name (void) \
| ^~~~
In file included from /usr/include/unistd.h:1170,
from TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/include/qemu/osdep.h:90,
from TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:20:
/usr/include/bits/unistd_ext.h:34:16: note: previous declaration of ‘gettid’ was here
34 | extern __pid_t gettid (void) __THROW;
| ^~~~~~
TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:254:16: error: static declaration of ‘gettid’ follows non-static declaration
254 | _syscall0(int, gettid)
| ^~~~~~
TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:185:13: note: in definition of macro ‘_syscall0’
185 | static type name (void) \
| ^~~~
In file included from /usr/include/unistd.h:1170,
from TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/include/qemu/osdep.h:90,
from TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:20:
/usr/include/bits/unistd_ext.h:34:16: note: previous declaration of ‘gettid’ was here
34 | extern __pid_t gettid (void) __THROW;
| ^~~~~~
CC ppc-linux-user/gdbstub-xml.o
CC aarch64-linux-user/linux-user/syscall.o
make: *** [Makefile:483: subdir-mips64el-linux-user] Error 2
CC ppc-linux-user/linux-user/syscall.o
TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:254:16: error: static declaration of ‘gettid’ follows non-static declaration
254 | _syscall0(int, gettid)
| ^~~~~~
TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:185:13: note: in definition of macro ‘_syscall0’
185 | static type name (void) \
| ^~~~
In file included from /usr/include/unistd.h:1170,
from TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/include/qemu/osdep.h:90,
from TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:20:
/usr/include/bits/unistd_ext.h:34:16: note: previous declaration of ‘gettid’ was here
34 | extern __pid_t gettid (void) __THROW;
| ^~~~~~
CC riscv64-linux-user/linux-user/linuxload.o
make[1]: *** [TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/rules.mak:69: linux-user/syscall.o] Error 1
make: *** [Makefile:483: subdir-mips64-linux-user] Error 2
CC ppc-linux-user/target/ppc/cpu-models.o
make[1]: *** [TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/rules.mak:69: linux-user/syscall.o] Error 1
make: *** [Makefile:483: subdir-riscv32-linux-user] Error 2
CC ppc-linux-user/target/ppc/cpu.o
CC ppc-linux-user/target/ppc/translate.o
make[1]: *** [TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/rules.mak:69: linux-user/syscall.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CC arm-linux-user/linux-user/elfload.o
TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:254:16: error: static declaration of ‘gettid’ follows non-static declaration
254 | _syscall0(int, gettid)
| ^~~~~~
TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:185:13: note: in definition of macro ‘_syscall0’
185 | static type name (void) \
| ^~~~
In file included from /usr/include/unistd.h:1170,
from TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/include/qemu/osdep.h:90,
from TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:20:
/usr/include/bits/unistd_ext.h:34:16: note: previous declaration of ‘gettid’ was here
34 | extern __pid_t gettid (void) __THROW;
| ^~~~~~
TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:254:16: error: static declaration of ‘gettid’ follows non-static declaration
254 | _syscall0(int, gettid)
| ^~~~~~
TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:185:13: note: in definition of macro ‘_syscall0’
185 | static type name (void) \
| ^~~~
In file included from /usr/include/unistd.h:1170,
from TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/include/qemu/osdep.h:90,
from TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:20:
/usr/include/bits/unistd_ext.h:34:16: note: previous declaration of ‘gettid’ was here
34 | extern __pid_t gettid (void) __THROW;
| ^~~~~~
make: *** [Makefile:483: subdir-sh4-linux-user] Error 2
CC x86_64-linux-user/linux-user/uaccess.o
TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:254:16: error: static declaration of ‘gettid’ follows non-static declaration
254 | _syscall0(int, gettid)
| ^~~~~~
TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:185:13: note: in definition of macro ‘_syscall0’
185 | static type name (void) \
| ^~~~
In file included from /usr/include/unistd.h:1170,
from TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/include/qemu/osdep.h:90,
from TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:20:
/usr/include/bits/unistd_ext.h:34:16: note: previous declaration of ‘gettid’ was here
34 | extern __pid_t gettid (void) __THROW;
| ^~~~~~
CC x86_64-linux-user/linux-user/uname.o
TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:254:16: error: static declaration of ‘gettid’ follows non-static declaration
254 | _syscall0(int, gettid)
| ^~~~~~
TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:185:13: note: in definition of macro ‘_syscall0’
185 | static type name (void) \
| ^~~~
In file included from /usr/include/unistd.h:1170,
from TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/include/qemu/osdep.h:90,
from TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/syscall.c:20:
/usr/include/bits/unistd_ext.h:34:16: note: previous declaration of ‘gettid’ was here
34 | extern __pid_t gettid (void) __THROW;
| ^~~~~~
CC aarch64-linux-user/linux-user/mmap.o
CC aarch64-linux-user/linux-user/signal.o
make[1]: *** [TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/rules.mak:69: linux-user/syscall.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CC ppc-linux-user/target/ppc/kvm-stub.o
make[1]: *** [TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/rules.mak:69: linux-user/syscall.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CC ppc-linux-user/target/ppc/dfp_helper.o
make: *** [Makefile:483: subdir-mips-linux-user] Error 2
CC ppc-linux-user/target/ppc/excp_helper.o
CC ppc-linux-user/target/ppc/fpu_helper.o
CC ppc-linux-user/target/ppc/int_helper.o
make[1]: *** [TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/rules.mak:69: linux-user/syscall.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CC ppc-linux-user/target/ppc/timebase_helper.o
CCAS x86_64-linux-user/linux-user/safe-syscall.o
make[1]: *** [TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/rules.mak:69: linux-user/syscall.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CC ppc-linux-user/target/ppc/misc_helper.o
CC ppc-linux-user/target/ppc/mem_helper.o
make: *** [Makefile:483: subdir-riscv64-linux-user] Error 2
CC ppc-linux-user/target/ppc/user_only_helper.o
make: *** [Makefile:483: subdir-x86_64-linux-user] Error 2
CC ppc-linux-user/target/ppc/gdbstub.o
CC ppc-linux-user/target/ppc/../../libdecnumber/decContext.o
make[1]: *** [TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/rules.mak:69: linux-user/syscall.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In function ‘fill_psinfo’,
inlined from ‘fill_note_info’ at TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/elfload.c:3340:5,
inlined from ‘elf_core_dump’ at TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/elfload.c:3489:9:
TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/qemu-3.1.0/linux-user/elfload.c:3158:12: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
3158 | (void) strncpy(psinfo->pr_fname, base_filename,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3159 | sizeof(psinfo->pr_fname));
| ~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:483: subdir-aarch64-linux-user] Error 2
make: *** [Makefile:483: subdir-arm-linux-user] Error 2
make: *** [Makefile:483: subdir-ppc-linux-user] Error 2
ERROR: oe_runmake failed
WARNING: TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/temp/run.do_compile.3406:1 exit 1 from 'exit 1'
ERROR: Function failed: do_compile (log file is located at TOPDIR/tmp/work/x86_64-linux/qemu-native/3.1.0-r0/temp/log.do_compile.3406)