You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 25, 2022. It is now read-only.
When trying to compile WindRiver WRLINUX_10_19_BASE with the meta-virtualization layer, I am getting the error:
/mnt/yocto/test/tmp-glibc/hosttools/ld.bfd: linux-user/syscall.o: in function `do_syscall1':
| /mnt/yocto/test/tmp-glibc/work/x86_64-linux/qemu-native/4.1.0-r0/qemu-4.1.0/linux-user/syscall.c:7657: undefined reference to `stime'
| collect2: error: ld returned 1 exit status
| make[1]: *** [Makefile:209: qemu-i386] Error 1
| make: *** [Makefile:472: i386-linux-user/all] Error 2
| LINK riscv32-linux-user/qemu-riscv32
| LINK x86_64-linux-user/qemu-x86_64
| LINK mips64-linux-user/qemu-mips64
| LINK mips64el-linux-user/qemu-mips64el
| LINK mipsel-linux-user/qemu-mipsel
$ bitbake wrlinux-image-core
WARNING: You have included the meta-openstack layer, but 'openstack' has not been enabled in your DISTRO_FEATURES. Some bbappend files and preferred version setting may not take effect. See the meta-openstack README for details on enabling openstack support.
----------------------------------------------------------------------
The meta-anaconda layer has been included, and the current build is a
regular target build. After it is finished, create a new installer
build with DISTRO = 'wrlinux-installer', INSTALLER_TARGET_BUILD =
'<target-build-topdir>|<target-build-image>' and
INSTALLER_TARGET_IMAGE = '<target-image-pn>' in local.conf
----------------------------------------------------------------------
Parsing recipes: 100% |#######################################################################################################################################################################################################################################################################################| Time: 0:00:31
Parsing of 3316 .bb files complete (0 cached, 3316 parsed). 7891 targets, 4891 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
WRLINUX_VERSION = "10.19.45.18"
WRLINUX_BRANCH = "Base"
BB_VERSION = "1.44.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-20.04"
DISTRO = "wrlinux-graphics"
DISTRO_VERSION = "10.19.45.18"
MACHINE = "intel-x86-64"
DEFAULTTUNE = "corei7-64"
TARGET_SYS = "x86_64-wrs-linux"
TUNE_FEATURES = "m64 corei7"
TARGET_FPU = ""
lib32: TARGET_SYS = "x86_64-wrsmllib32-linux"
lib32: TUNE_FEATURES = "m32 corei7"
wrlinux = "WRLINUX_10_19_BASE:e93842ec2e3b473b6972094d06853a35ec3bad28"
meta-anaconda = "wr-10.19-20191106:f7820be5fdb19365cb8798ff2c21902b2c753e99"
meta-openstack = "wr-10.19-20191106:94be483424c5a5a74aaafd174342e141bb01dd9d"
meta-virtualization = "wr-10.19-20191106:f48055a43b40932a26c952879346160f02b27804"
wrlinux-distro = "WRLINUX_10_19_BASE:e93842ec2e3b473b6972094d06853a35ec3bad28"
intel-x86 = "WRLINUX_10_19_BASE:3ef86cf50febfe973f985a2d7cfe30b8f387ad33"
meta = "wr-10.19-20200305:9518f9da7d2f858374dacb15d66dedfc35433089"
wr-template = "WRLINUX_10_19_BASE:a19a8fb456b0e70d068183cb0837c31f456b46b3"
meta-filesystems
meta-gnome
meta-initramfs
meta-python
meta-networking
meta-oe = "wr-10.19-20191106:bf266dd193e51cc6395bb3c533a8248c159d171f"
meta-cloud-services = "wr-10.19-20191106:94be483424c5a5a74aaafd174342e141bb01dd9d"
meta-webserver
meta-multimedia
meta-perl = "wr-10.19-20191106:bf266dd193e51cc6395bb3c533a8248c159d171f"
meta-realtime = "wr-10.19-20191106:adb18b84302475cffdf280f9da3cccbcb3a4ff8a"
meta-xfce = "wr-10.19-20191106:bf266dd193e51cc6395bb3c533a8248c159d171f"
meta-intel = "wr-10.19-20191106:5cc2043c9826ea5f39a68206a0b9e3d09b4fae94"
meta-intel-qat = "wr-10.19-20191106:85e51b490faf9890420b2744ad40b956f07fee64"
meta-dpdk = "wr-10.19-20191106:532a7d74df4c986fa0e2f4dc3592a1a89db9b98c"
meta-efi-secure-boot
meta-encrypted-storage
meta-ids
meta-integrity
meta = "wr-10.19-20191106:3902b4bc9e29f0e9c2ee3288a484c151c0144410"
meta-security = "wr-10.19-20191106:2bc7e287b286f17e1708c4c3cf68988d4ef599e1"
meta-selinux = "wr-10.19-20191106:9bd4e87926e4b029019b9361f69aa26c1044c25a"
meta-signing-key
meta-tpm
meta-tpm2 = "wr-10.19-20191106:3902b4bc9e29f0e9c2ee3288a484c151c0144410"
local = "master:ac76945dcda2c955ac022f486f9206e37b4c3883"
NOTE: Fetching uninative binary shim from file:///mnt/yocto/layers/wrlinux/files/uninative-tarballs/a09922172c3a439105e0ae6b943daad2d83505b17da0aba97961ff433b8c21ab/x86_64-nativesdk-libc.tar.xz;sha256sum=a09922172c3a439105e0ae6b943daad2d83505b17da0aba97961ff433b8c21ab
Initialising tasks: 100% |####################################################################################################################################################################################################################################################################################| Time: 0:00:09
Sstate summary: Wanted 3625 Found 0 Missed 3625 Current 0 (0% match, 0% complete)
NOTE: Executing Tasks
NOTE: Setscene tasks completed
.....
| CC riscv32-linux-user/target/riscv/pmp.o
| GEN trace/generated-helpers.c
| CC riscv32-linux-user/trace/control-target.o
| CC arm-linux-user/target/arm/helper.o
| CC riscv32-linux-user/gdbstub-xml.o
| CC aarch64-linux-user/target/arm/translate.o
| CC ppc-linux-user/target/ppc/timebase_helper.o
| CC mips64el-linux-user/trace/generated-helpers.o
| CC mips-linux-user/target/mips/msa_helper.o
| CC ppc-linux-user/target/ppc/misc_helper.o
| CC x86_64-linux-user/target/i386/mem_helper.o
| CC riscv32-linux-user/target/riscv/translate.o
| CC ppc-linux-user/target/ppc/mem_helper.o
| CC mipsel-linux-user/trace/generated-helpers.o
| GEN trace/generated-helpers.c
| CC x86_64-linux-user/target/i386/misc_helper.o
| CC x86_64-linux-user/target/i386/mpx_helper.o
| CC mips-linux-user/trace/control-target.o
| CC ppc-linux-user/target/ppc/user_only_helper.o
| CC arm-linux-user/target/arm/vfp_helper.o
| CC ppc-linux-user/target/ppc/gdbstub.o
| CC arm-linux-user/target/arm/cpu.o
| CC aarch64-linux-user/target/arm/translate-sve.o
| CC riscv32-linux-user/trace/generated-helpers.o
| CC x86_64-linux-user/target/i386/seg_helper.o
| CC ppc-linux-user/target/ppc/../../libdecnumber/decContext.o
| CC mips-linux-user/trace/generated-helpers.o
| CC arm-linux-user/target/arm/gdbstub.o
| CC ppc-linux-user/target/ppc/../../libdecnumber/decNumber.o
| CC x86_64-linux-user/target/i386/smm_helper.o
| CC ppc-linux-user/target/ppc/../../libdecnumber/dpd/decimal32.o
| CC ppc-linux-user/target/ppc/../../libdecnumber/dpd/decimal64.o
| CC ppc-linux-user/target/ppc/../../libdecnumber/dpd/decimal128.o
| GEN trace/generated-helpers.c
| CC x86_64-linux-user/target/i386/svm_helper.o
| CC ppc-linux-user/trace/control-target.o
| CC ppc-linux-user/gdbstub-xml.o
| CC arm-linux-user/target/arm/kvm-stub.o
| CC arm-linux-user/target/arm/tlb_helper.o
| CC aarch64-linux-user/trace/generated-helpers.o
| CC arm-linux-user/target/arm/debug_helper.o
| GEN arm-linux-user/target/arm/decode-vfp.inc.c
| CC x86_64-linux-user/target/i386/kvm-stub.o
| GEN arm-linux-user/target/arm/decode-vfp-uncond.inc.c
| CC x86_64-linux-user/target/i386/sev-stub.o
| CC arm-linux-user/target/arm/op_helper.o
| CC ppc-linux-user/trace/generated-helpers.o
| CC arm-linux-user/target/arm/crypto_helper.o
| CC arm-linux-user/target/arm/iwmmxt_helper.o
| CC arm-linux-user/target/arm/vec_helper.o
| CC arm-linux-user/target/arm/neon_helper.o
| GEN trace/generated-helpers.c
| CC arm-linux-user/target/arm/m_helper.o
| CC x86_64-linux-user/trace/control-target.o
| GEN trace/generated-helpers.c
| CC arm-linux-user/trace/control-target.o
| CC arm-linux-user/gdbstub-xml.o
| CC x86_64-linux-user/gdbstub-xml.o
| CC arm-linux-user/target/arm/translate.o
| CC arm-linux-user/trace/generated-helpers.o
| CC x86_64-linux-user/trace/generated-helpers.o
| LINK riscv64-linux-user/qemu-riscv64
| LINK i386-linux-user/qemu-i386
| /mnt/yocto/test/tmp-glibc/hosttools/ld.bfd: linux-user/syscall.o: in function `do_syscall1':
| /mnt/yocto/test/tmp-glibc/work/x86_64-linux/qemu-native/4.1.0-r0/qemu-4.1.0/linux-user/syscall.c:7657: undefined reference to `stime'
| collect2: error: ld returned 1 exit status
| make[1]: *** [Makefile:209: qemu-i386] Error 1
| make: *** [Makefile:472: i386-linux-user/all] Error 2
| LINK riscv32-linux-user/qemu-riscv32
| LINK x86_64-linux-user/qemu-x86_64
| LINK mips64-linux-user/qemu-mips64
| LINK mips64el-linux-user/qemu-mips64el
| LINK mipsel-linux-user/qemu-mipsel
| /mnt/yocto/test/tmp-glibc/hosttools/ld.bfd: linux-user/syscall.o: in function `do_syscall1':
| /mnt/yocto/test/tmp-glibc/work/x86_64-linux/qemu-native/4.1.0-r0/qemu-4.1.0/linux-user/syscall.c:7657: undefined reference to `stime'
| collect2: error: ld returned 1 exit status
| make[1]: *** [Makefile:209: qemu-mipsel] Error 1
| make: *** [Makefile:472: mipsel-linux-user/all] Error 2
| LINK mips-linux-user/qemu-mips
| /mnt/yocto/test/tmp-glibc/hosttools/ld.bfd: linux-user/syscall.o: in function `do_syscall1':
| /mnt/yocto/test/tmp-glibc/work/x86_64-linux/qemu-native/4.1.0-r0/qemu-4.1.0/linux-user/syscall.c:7657: undefined reference to `stime'
| collect2: error: ld returned 1 exit status
| make[1]: *** [Makefile:209: qemu-mips] Error 1
| make: *** [Makefile:472: mips-linux-user/all] Error 2
| LINK aarch64-linux-user/qemu-aarch64
| LINK arm-linux-user/qemu-arm
| /mnt/yocto/test/tmp-glibc/hosttools/ld.bfd: linux-user/syscall.o: in function `do_syscall1':
| /mnt/yocto/test/tmp-glibc/work/x86_64-linux/qemu-native/4.1.0-r0/qemu-4.1.0/linux-user/syscall.c:7657: undefined reference to `stime'
| collect2: error: ld returned 1 exit status
| make[1]: *** [Makefile:209: qemu-arm] Error 1
| make: *** [Makefile:472: arm-linux-user/all] Error 2
| LINK ppc-linux-user/qemu-ppc
| /mnt/yocto/test/tmp-glibc/hosttools/ld.bfd: linux-user/syscall.o: in function `do_syscall1':
| /mnt/yocto/test/tmp-glibc/work/x86_64-linux/qemu-native/4.1.0-r0/qemu-4.1.0/linux-user/syscall.c:7657: undefined reference to `stime'
| collect2: error: ld returned 1 exit status
| make[1]: *** [Makefile:209: qemu-ppc] Error 1
| make: *** [Makefile:472: ppc-linux-user/all] Error 2
| LINK ppc64-linux-user/qemu-ppc64
| /mnt/yocto/test/tmp-glibc/hosttools/ld.bfd: linux-user/syscall.o: in function `do_syscall1':
| /mnt/yocto/test/tmp-glibc/work/x86_64-linux/qemu-native/4.1.0-r0/qemu-4.1.0/linux-user/syscall.c:7657: undefined reference to `stime'
| collect2: error: ld returned 1 exit status
| make[1]: *** [Makefile:209: qemu-ppc64] Error 1
| make: *** [Makefile:472: ppc64-linux-user/all] Error 2
| WARNING: exit code 1 from a shell command.
Second Keyboard Interrupt, stopping...
Summary: 1 task failed:
/mnt/yocto/layers/oe-core/meta/recipes-devtools/qemu/qemu-native_4.1.0.bb:do_compile
Summary: There were 12 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
When trying to compile WindRiver WRLINUX_10_19_BASE with the meta-virtualization layer, I am getting the error:
It seems to be related to: https://stackoverflow.com/questions/61367173/core-image-minimal-fails, yet it is not clear to me how to update oe-core without breaking more dependencies in WRLINUX_10_19_BASE.
Here is my setup process:
Here is the full error: