GithubHelp home page GithubHelp logo

riscv / meta-riscv Goto Github PK

View Code? Open in Web Editor NEW
349.0 38.0 134.0 7.89 MB

OpenEmbedded/Yocto layer for RISC-V Architecture

Home Page: https://riscv.org/

License: Other

BitBake 73.82% Shell 2.16% HTML 1.44% Makefile 18.82% CMake 2.06% NASL 1.70%
risc-v riscv yocto yocto-layer yocto-meta openembedded openembedded-layer

meta-riscv's Issues

Update to Linux 5.2

This is mostly just a place holder to discuss what is happening with Linux 5.2.

It looks like Linux 5.2 will have a lot of the HiFive Unleased drivers merged, so hopefully we will no longer require patches on top of mainline. Unfortunately as part of the merge process it appears the DTS compatible stings have changed. So it looks like we need to update the device tree.

At the moment the device tree comes from the firmware. In the future the plan is for the device tree source to be in the kernel, but that isn't merged yet. Hopefully that will be in for 5.3.

So we have two options that we can do

  1. Build FSBL for the Unleashed using the new device tree (from the kernel) and inform users of how to update FSBL. At the moment though this will break U-Boot as it expects the current device tree strings.
  2. Just build a device tree from the kernel and include it as part of the loading process (ideally just load it with U-Boot). This will be straight forward when U-Boot has Unleashed SD card support, until then we might be stuck with including it in OpenSBI.

As both options need patches on top of the 5.2 kernel I am proposing that we just skip the 5.2 kernel and stay with 5.1. We can then re-evaluate updating to 5.3 when hopefully the device tree changes are in. When that happens we can build the device tree with the kernel and include it in U-Boot or OpenSBI. Maybe we can look at updating FSBL, but I would rather avoid us getting stuck with building it.

If anyone has better ideas or wants to start submitting patches please feel free to. In the meantime the 5.1 kernel seems the best bet for the Unleashed.

ParseError report

Description

parse error rep start bitbake

Steps to reproduce the issue:

  1. follow doc to setup build meta-riscv
  2. . ./meta-riscv/setup.sh
  3. MACHINE=qemuriscv64 bitbake core-image-full-cmdline

Describe the results you received:

$ MACHINE=qemuriscv64 bitbake core-image-full-cmdline
ERROR: ParseError at /home/sw.kim/workspace/opensource_workspace/riscv-yocto/meta-openembedded/meta-python/recipes-devtools/python/python-yappi.inc:10: Could not inherit file classes/setuptools.bbclass

Describe the results you expected:
build start? maybe?

Additional details (revisions used, host distro, etc.):
I check build error ubuntu 18.04 Host system.

Qemu build fails on Debian RISC-V host

Steps to reproduce the issue:
1 run bitbake core-image-sato on a RiscV debian host

Describe the results you received:

ERROR: qemu-native-3.1.0-r0 do_configure: Function failed: do_configure (log file is located at /home/troyb/yocto/build/tmp-glibc/work/riscv64-linux/qemu-native/3.1.0-r0/temp/log.do_configure.7604)
ERROR: Logfile of failure stored in: /home/troyb/yocto/build/tmp-glibc/work/riscv64-linux/qemu-native/3.1.0-r0/temp/log.do_configure.7604
Log data follows:
| DEBUG: Executing shell function do_configure
|
| ERROR: Unsupported CPU = riscv64, try --enable-tcg-interpreter
|
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/troyb/yocto/build/tmp-glibc/work/riscv64-linux/qemu-native/3.1.0-r0/temp/log.do_configure.7604)
ERROR: Task (/home/troyb/yocto/openembedded-core/meta/recipes-devtools/qemu/qemu-native_3.1.0.bb:do_configure) failed with exit code '1'

ERROR: Nothing PROVIDES 'core-image-lsb-sdk'.

Hi, I want to run QEMU with riscv32 architecture.
Additionally, I want that virtual machine to have gdb tool.

I followed the guide at README in this repo.

mkdir riscv-yocto && cd riscv-yocto
repo init -u git://github.com/riscv/meta-riscv -b master -m tools/manifests/riscv-yocto.xml
repo sync
repo start work --all

. ./meta-riscv/setup.sh

MACHINE=qemuriscv32 bitbake core-image-lsb-sdk

and I got the error message as following:

ERROR: Nothing PROVIDES 'core-image-lsb-sdk'. Close matches:
core-image-sato-sdk
core-image-rt-sdk
core-image-base

Summary: There was 1 ERROR message shown, returning a non-zero exit code.

The first question is,
[1] How can I get core-image-lsb-sdk ??

So, I tried "MACHINE=qemuriscv32 bitbake core-image-base" with EXTRA_IMAGE_FEATURES tools-sdk and tools-debug in local.conf
Then I got the follwoing error message

ERROR: Task (/home/ghcho/riscv-yocto/openembedded-core/meta/recipes devtools/cmake/cmake-native_3.16.1.bb:do_compile) failed with exit code '1'

The second question is,
[2] Even if I solved the first question, this error is likely to be occur.
What should I do...?

I'm using Ubuntu16.04 with 4.15.0-74-generic kernel.

Thank you.

bitbake -ctestimage fails for qemuriscv64

When running qemuriscv64 tests ptest fails to detect that system has booted, it open another backdoor serial to get that information but fails to communicate
add following in local.conf

IMAGE_CLASSES += "testimage testsdk"

TESTIMAGE_AUTO_qemuall = "1"
TEST_TARGET_IP_qemuall = "192.168.7.2"
TEST_QEMUBOOT_TIMEOUT = "50"

then run bitbake core-image-base

DEBUG: Not using kvm for runqemu
DEBUG: Created listening socket for qemu serial console on: 127.0.0.1:35303
DEBUG: Created listening socket for qemu serial console on: 127.0.0.1:36829
DEBUG: launchcmd=runqemu snapshot   nographic qemuriscv64 /mnt/a/yoe/build/tmp/deploy/images/qemuriscv64/core-image-base-qemuriscv64.ext4 tcpserial=36829 bootparams="console=tty1 console=ttyS0,115200n8 printk.time=1" qemuparams="-serial tcp:127.0.0.1:35303 -pidfile pidfile_14851"
DEBUG: runqemu started, pid is 14856
DEBUG: waiting at most 120 seconds for qemu pid (03/07/19 20:59:18)
DEBUG: qemu started in 0.5011918544769287 seconds - qemu procces pid is 14883 (03/07/19 20:59:18)
DEBUG: qemu cmdline used:
/mnt/a/yoe/build/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-riscv64 -device virtio-net-device,netdev=net0,mac=52:54:00:12:34:02 -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -drive id=disk0,file=/mnt/a/yoe/build/tmp/deploy/images/qemuriscv64/core-image-base-qemuriscv64.ext4,if=none,format=raw -device virtio-blk-device,drive=disk0 -show-cursor -monitor null -device loader,file=/mnt/a/yoe/build/tmp/deploy/images/qemuriscv64/Image,addr=0x80200000 -nographic -machine virt -m 512 -device virtio-serial-device -chardev socket,id=virtcon,port=36829,host=127.0.0.1 -device virtconsole,chardev=virtcon -serial tcp:127.0.0.1:35303 -pidfile pidfile_14851 -snapshot -kernel /mnt/a/yoe/build/tmp/deploy/images/qemuriscv64/fw_jump.elf -append root=/dev/vda rw highres=off  console=ttyS0 mem=512M ip=192.168.7.2::192.168.7.1:255.255.255.0 earlycon=sbi console=tty1 console=ttyS0,115200n8 printk.time=1
DEBUG: Target IP: 192.168.7.2
DEBUG: Server IP: 192.168.7.1
DEBUG: Starting logging thread
DEBUG: Starting thread event loop
DEBUG: Connection request received
DEBUG: Setting connection established event
DEBUG: Output from runqemu:
runqemu - INFO - Continuing with the following parameters:

runqemu - INFO - Setting up tap interface under sudo
runqemu - INFO - Network configuration: 192.168.7.2::192.168.7.1:255.255.255.0
runqemu - INFO - Running /mnt/a/yoe/build/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-riscv64 -device virtio-net-device,netdev=net0,mac=52:54:00:12:34:02 -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -drive id=disk0,file=/mnt/a/yoe/build/tmp/deploy/images/qemuriscv64/core-image-base-qemuriscv64.ext4,if=none,format=raw -device virtio-blk-device,drive=disk0 -show-cursor -monitor null -device loader,file=/mnt/a/yoe/build/tmp/deploy/images/qemuriscv64/Image,addr=0x80200000  -nographic -machine virt  -m 512 -device virtio-serial-device -chardev socket,id=virtcon,port=36829,host=127.0.0.1 -device virtconsole,chardev=virtcon  -serial tcp:127.0.0.1:35303 -pidfile pidfile_14851 -snapshot -kernel /mnt/a/yoe/build/tmp/deploy/images/qemuriscv64/fw_jump.elf -append 'root=/dev/vda rw highres=off  console=ttyS0 mem=512M ip=192.168.7.2::192.168.7.1:255.255.255.0 earlycon=sbi console=tty1 console=ttyS0,115200n8 printk.time=1'


DEBUG: Waiting at most 50 seconds for login banner (03/07/19 20:59:18)
DEBUG: Connection from 127.0.0.1:34768
DEBUG: Target didn't reach login banner in 50 seconds (03/07/19 21:00:08)
DEBUG: Last 25 lines of text:

[    6.531979] random: dbus-uuidgen: uninitialized urandom read (12 bytes read)
[    6.532810] random: dbus-uuidgen: uninitialized urandom read (8 bytes read)
Could not rename /var/lib/dbus/machine-id.MaM0qYMB to /var/lib/dbus/machine-id: Function not implemented

Starting system message bus: dbus.

Starting rpcbind daemon...done.

hwclock: Cannot access the Hardware Clock via any known method.

hwclock: Use the --verbose option to see the details of our search for an access method.

Starting syslogd/klogd: done

 * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon

[A[74G[ ok ]

umount: /mnt/.psplash: not mounted.


Yoe Linux 2.6 qemuriscv64 ttyS0

qemuriscv64 login:
DEBUG: Check full boot log: /mnt/a/yoe/build/tmp/work/qemuriscv64-yoe-linux-musl/core-image-base/1.0-r0/testimage/qemu_boot_log.20190308045351
WARNING: Qemu ended unexpectedly, dump data from host is in /mnt/a/yoe/build/tmp/log/runtime-hostdump/201903072100_qemu
DEBUG: Stopping logging thread
DEBUG: Stop event received
DEBUG: Tearing down logging thread
DEBUG: Sending SIGTERM to runqemu
ERROR: testimage received SIGTERM, shutting down...
ERROR: core-image-base - FAILED - tests were interrupted during execution
ERROR:
DEBUG: Python function do_testimage finished
ERROR: Function failed: do_testimage

Failing Extensible SDK build for RISCV

Hello,
I have build an Riscv Extensible SDK yocto project, with help of following step's.

cd $(PWD)/ &&
git clone git://git.openembedded.org/openembedded-core
cd $(PWD)/openembedded-core && \
git clone git://git.openembedded.org/bitbake && \
git clone git://github.com/riscv/meta-riscv
source oe-init-build-env riscv-build/
bitbake-layers add-layer ../meta-riscv
vim conf/local.conf
Added MACHINE = "qemuriscv64"
bitbake core-image-minimal
bitbake core-image-minimal -c populate_sdk
cd tmp-glibc/deploy/sdk
./oecore-x86_64-riscv64-toolchain-ext-nodistro.0.sh

Here I got an sstate cache Error, as follows in the attachment.
e-sdk-build.log

ERROR: Task (/home/khan/khan/sdk-with-meta-riscv/openembedded-core/riscv-build/tmp-glibc/deploy/sdk/e-sdk/layers/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_fetch) failed with exit code 'setscene whitelist'

Can anyone help me to build an Extensible SDK with openembedded-core & meta-riscv.

Thanks & Regards,
Ghalib khan.

commit 9e781551e58f5cf53f0fc489b2b8bd12cc0eb722 broke qemu build

Hi,

the commit 9e78155 (that's the latest commit, freedom-u540: Setup u-boot autoboot for TFTP) broke the qemu build.

It took me a while to figure out that a setting for the variable UBOOT_ENV was missing, which got introduced by the above commit. I think adding a default setting for it would solve the issue for other builds as well - I only tried the qemu-riscv64 build. But I don't really know where to add that default setting, I've added it like this:

diff --git a/recipes-bsp/u-boot/u-boot_2019.04.bbappend b/recipes-bsp/u-boot/u-boot_2019.04.bbappend
index 9a5a4b0..9ce821b 100644
--- a/recipes-bsp/u-boot/u-boot_2019.04.bbappend
+++ b/recipes-bsp/u-boot/u-boot_2019.04.bbappend
@@ -25,6 +25,7 @@ SRC_URI += "file://0001-riscv-add-infrastructure-for-calling-functions-on-ot.pat
 DEPENDS += "u-boot-tools-native"
 
 UBOOT_ENTRYPOINT = "0x80200000"
+UBOOT_ENV = "tftp-boot"
 
 # Overwrite this for your server
 TFTP_SERVER_IP ?= "127.0.0.1"

Which fixed the build.

Steps to reproduce the issue:

  1. bitbake core-image-full-cmdline

Describe the results you received:

The error message was:

...
Sstate summary: Wanted 248 Found 0 Missed 248 Current 867 (0% match, 77% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: u-boot-1_2019.04-r0 do_configure: Function failed: do_configure (log file is located at /home/ut/riscv-yocto/build/tmp-glibc/work/qemuriscv64-oe-linux/u-boot/1_2019.04-r0/temp/log.do_configure.2607)
ERROR: Logfile of failure stored in: /home/ut/riscv-yocto/build/tmp-glibc/work/qemuriscv64-oe-linux/u-boot/1_2019.04-r0/temp/log.do_configure.2607
Log data follows:
| DEBUG: Executing shell function do_configure
| mkimage: Can't stat /home/ut/riscv-yocto/build/tmp-glibc/work/qemuriscv64-oe-linux/u-boot/1_2019.04-r0/.txt: No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/ut/riscv-yocto/build/tmp-glibc/work/qemuriscv64-oe-linux/u-boot/1_2019.04-r0/temp/log.do_configure.2607)
ERROR: Task (/home/ut/riscv-yocto/openembedded-core/meta/recipes-bsp/u-boot/u-boot_2019.04.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2408 tasks of which 2406 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Build completion summary:
NOTE:   do_package_write_ipk: 0.0% sstate reuse(0 setscene, 1 scratch)

Describe the results you expected:

Build completion

Unable to build gobject-introspection for HiFive Unleashed

Recently I have been seeing this error message when building gobject-introspection for the freedom-u540 machine.

| /lib/ld-linux-riscv64-lp64d.so.1: No such file or directory
| If the above error message is about missing .so libraries, then setting up GIR_EXTRA_LIBS_PATH in the recipe should help.
| (typically like this: GIR_EXTRA_LIBS_PATH="${B}/something/.libs" )
| Command '['/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/gobject-introspection/1.60.2-r0/build/g-ir-scanner-qemuwrapper', '/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/gobject-introspection/1.60.2-r0/build/tmp-introspect9q164ksx/GLib-2.0', '--introspect-dump=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/gobject-introspection/1.60.2-r0/build/tmp-introspect9q164ksx/functions.txt,/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/gobject-introspection/1.60.2-r0/build/tmp-introspect9q164ksx/dump.xml']' returned non-zero exit status 1.
| ninja: build stopped: subcommand failed.
| WARNING: /scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/gobject-introspection/1.60.2-r0/temp/run.do_compile.10574:1 exit 1 from 'ninja -v -j 32'

I have tried setting GIR_EXTRA_LIBS_PATH in the recipe but that doesn't seem to help. Any ideas?

report build #33

@kraj

bitbake-cookerdaemon.log

I open new issue about #33 .

start run build with command
$ bitbake core-image-full-cmdline

I entered below error log

pino@pino-VirtualBox:~/workspace/opensource_work/riscv-yocto/build$ bitbake core-image-full-cmdline
ERROR: Unable to start bitbake server
ERROR: Server log for this session (/home/pino/workspace/opensource_work/riscv-yocto/build/bitbake-cookerdaemon.log):
--- Starting bitbake server pid 4836 at 2018-09-22 23:46:00.420139 ---
ERROR: ParseError at /home/pino/workspace/opensource_work/riscv-yocto/build/conf/auto.conf:12: unparsed line: 'USER_CLASSES ?= "buildstats buildhistory buildstats-summary image-mklibs image-p'

qemuriscv64

Build machine : ubuntu 18.04

Build qemuriscv64 image using meta-riscv layer

no graphic mode is working fine

in graphic mode i cannot pass

ctrl+c, ctrl+z and ctrl+d options

verified libs on host : libsdl2.0 gtk2.0

Help me to fix this issue

Thanks
Snathick

[qemuriscv32/qemuriscv64] opensbi 4.0 compile fail

Description

Steps to reproduce the issue:
follow README

mkdir riscv-yocto && cd riscv-yocto
repo init -u git://github.com/riscv/meta-riscv -b master -m tools/manifests/riscv-yocto.xml
repo sync
repo start work --all
. ./meta-riscv/setup.sh
MACHINE=qemuriscv32 bitbake core-image-full-cmdline
and
MACHINE=qemuriscv64 bitbake core-image-full-cmdline

Describe the results you received:
opensbi4.0 build fail

Describe the results you expected:
success core-image-full-cmdline

Additional information you deem important (e.g. issue happens only occasionally):
attach part of build log(be)
It's seem to __stack_chk_fail linkage error. I'll attach part of log.
At night time i will attach full log file at night time. Korea is day time now :-)

/home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/git/lib/utils/libfdt/fdt_ro.c:699: undefined reference to `__stack_chk_fail'
/home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/recipe-sysroot-native/usr/bin/riscv64-oe-linux/../../libexec/riscv64-oe-linux/gcc/riscv64-oe-linux/9.1.0/ld: /home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/git/lib/utils/libfdt/fdt_ro.c:704: undefined reference to `__stack_chk_guard'
/home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/recipe-sysroot-native/usr/bin/riscv64-oe-linux/../../libexec/riscv64-oe-linux/gcc/riscv64-oe-linux/9.1.0/ld: /home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/git/build/platform/qemu/virt/lib/libplatsbi.a(fdt_ro.o): in function `fdt_getprop':
/home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/git/lib/utils/libfdt/fdt_ro.c:508: undefined reference to `__stack_chk_fail'
/home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/recipe-sysroot-native/usr/bin/riscv64-oe-linux/../../libexec/riscv64-oe-linux/gcc/riscv64-oe-linux/9.1.0/ld: /home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/git/build/platform/qemu/virt/lib/libplatsbi.a(fdt_ro.o): in function `fdt_stringlist_count':
/home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/git/lib/utils/libfdt/fdt_ro.c:732: undefined reference to `__stack_chk_guard'
/home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/recipe-sysroot-native/usr/bin/riscv64-oe-linux/../../libexec/riscv64-oe-linux/gcc/riscv64-oe-linux/9.1.0/ld: /home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/git/build/platform/qemu/virt/lib/libplatsbi.a(fdt_ro.o): in function `fdt_stringlist_search':
/home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/git/lib/utils/libfdt/fdt_ro.c:759: undefined reference to `__stack_chk_fail'
/home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/recipe-sysroot-native/usr/bin/riscv64-oe-linux/../../libexec/riscv64-oe-linux/gcc/riscv64-oe-linux/9.1.0/ld: /home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/git/lib/utils/libfdt/fdt_ro.c:762: undefined reference to `__stack_chk_guard'
/home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/recipe-sysroot-native/usr/bin/riscv64-oe-linux/../../libexec/riscv64-oe-linux/gcc/riscv64-oe-linux/9.1.0/ld: /home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/git/build/platform/qemu/virt/lib/libplatsbi.a(fdt_ro.o): in function `fdt_stringlist_get':
/home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/git/lib/utils/libfdt/fdt_ro.c:781: undefined reference to `__stack_chk_fail'
/home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/recipe-sysroot-native/usr/bin/riscv64-oe-linux/../../libexec/riscv64-oe-linux/gcc/riscv64-oe-linux/9.1.0/ld: /home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/git/lib/utils/libfdt/fdt_ro.c:801: undefined reference to `__stack_chk_guard'
/home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/recipe-sysroot-native/usr/bin/riscv64-oe-linux/../../libexec/riscv64-oe-linux/gcc/riscv64-oe-linux/9.1.0/ld: /home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/git/build/platform/qemu/virt/lib/libplatsbi.a(fdt_ro.o): in function `fdt_node_offset_by_compatible':
/home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/git/lib/utils/libfdt/fdt_ro.c:838: undefined reference to `__stack_chk_fail'
/home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/recipe-sysroot-native/usr/bin/riscv64-oe-linux/../../libexec/riscv64-oe-linux/gcc/riscv64-oe-linux/9.1.0/ld: /home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/git/build/platform/qemu/virt/lib/libplatsbi.a(fdt.o): in function `fdt_check_prop_offset_':
/home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/git/lib/utils/libfdt/fdt.c:237: undefined reference to `__stack_chk_guard'
/home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/recipe-sysroot-native/usr/bin/riscv64-oe-linux/../../libexec/riscv64-oe-linux/gcc/riscv64-oe-linux/9.1.0/ld: /home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/git/build/platform/qemu/virt/lib/libplatsbi.a(fdt.o): in function `fdt_next_node':
/home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/git/lib/utils/libfdt/fdt.c:271: undefined reference to `__stack_chk_fail'
/home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/recipe-sysroot-native/usr/bin/riscv64-oe-linux/../../libexec/riscv64-oe-linux/gcc/riscv64-oe-linux/9.1.0/ld: /home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/git/lib/utils/libfdt/fdt.c:248: undefined reference to `__stack_chk_guard'
/home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/recipe-sysroot-native/usr/bin/riscv64-oe-linux/../../libexec/riscv64-oe-linux/gcc/riscv64-oe-linux/9.1.0/ld: /home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/git/build/platform/qemu/virt/lib/libplatsbi.a(fdt.o): in function `fdt_first_subnode':
/home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/git/lib/utils/libfdt/fdt.c:286: undefined reference to `__stack_chk_fail'
/home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/recipe-sysroot-native/usr/bin/riscv64-oe-linux/../../libexec/riscv64-oe-linux/gcc/riscv64-oe-linux/9.1.0/ld: /home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/git/lib/utils/libfdt/fdt.c:291: undefined reference to `__stack_chk_guard'
/home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/recipe-sysroot-native/usr/bin/riscv64-oe-linux/../../libexec/riscv64-oe-linux/gcc/riscv64-oe-linux/9.1.0/ld: /home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/git/build/platform/qemu/virt/lib/libplatsbi.a(fdt.o): in function `fdt_next_subnode':
/home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/git/lib/utils/libfdt/fdt.c:302: undefined reference to `__stack_chk_fail'
collect2: error: ld returned 1 exit status
Makefile:272: recipe for target '/home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/git/build/platform/qemu/virt/firmware/fw_jump.elf' failed
make: *** [/home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/git/build/platform/qemu/virt/firmware/fw_jump.elf] Error 1
WARNING: /home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/temp/run.do_compile.84059:1 exit 1 from 'exit 1'

ERROR: Logfile of failure stored in: /home/sw.kim/workspace/opensource_workspace/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/opensbi/0.4-r0/temp/log.do_compile.84059

Additional details (revisions used, host distro, etc.):
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.43.1"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "riscv64-oe-linux"
MACHINE = "qemuriscv64"
DISTRO = "nodistro"
DISTRO_VERSION = "nodistro.0"
TUNE_FEATURES = "riscv64 littleendian"
meta = "work:6b36db836547a23f43c5f97bf3706d7b210c209c"
meta-oe
meta-python
meta-multimedia
meta-networking = "work:509d40153d6c54367abcd023fd45c884a343acab"
meta-riscv = "work:04e6b2c12e5bcf4b8222a756df394ca31b8afc3f"

run setup.sh and bitbake-layer crash log return

Description
When run setup.sh script print error rlog like below at bblayer-

when script run and do 'bitbake-layers add-layer' series to add layer. return error message like below

NOTE: Starting bitbake server...
Traceback (most recent call last):
File "/home/pino/workspace/opensource/riscv-yocto/openembedded-core/bitbake/bin/bitbake-layers", line 103, in
ret = main()
File "/home/pino/workspace/opensource/riscv-yocto/openembedded-core/bitbake/bin/bitbake-layers", line 71, in main
tinfoil.prepare(True)
File "/home/pino/workspace/opensource/riscv-yocto/openembedded-core/bitbake/lib/bb/tinfoil.py", line 418, in prepare
self.run_command('parseConfiguration')
File "/home/pino/workspace/opensource/riscv-yocto/openembedded-core/bitbake/lib/bb/tinfoil.py", line 476, in run_command
raise TinfoilCommandFailed(result[1])
bb.tinfoil.TinfoilCommandFailed: Traceback (most recent call last):
File "/home/pino/workspace/opensource/riscv-yocto/openembedded-core/bitbake/lib/bb/command.py", line 84, in runCommand
result = command_method(self, commandline)
File "/home/pino/workspace/opensource/riscv-yocto/openembedded-core/bitbake/lib/bb/command.py", line 285, in parseConfiguration
command.cooker.parseConfiguration()
File "/home/pino/workspace/opensource/riscv-yocto/openembedded-core/bitbake/lib/bb/cooker.py", line 437, in parseConfiguration
self.handleCollections(self.data.getVar("BBFILE_COLLECTIONS"))
File "/home/pino/workspace/opensource/riscv-yocto/openembedded-core/bitbake/lib/bb/cooker.py", line 1236, in handleCollections
raise CollectionError("Errors during parsing layer configuration")
bb.cooker.CollectionError: Errors during parsing layer configuration

Steps to reproduce the issue:

mkdir riscv-yocto && cd riscv-yocto
repo init -u git://github.com/riscv/meta-riscv -b master -m tools/manifests/riscv-yocto.xml
repo sync
repo start work --all
. ./meta-riscv/setup.sh

Describe the results you received:
ready to build condition

Describe the results you expected:
bblayer not added and cannot build.

Additional information you deem important (e.g. issue happens only occasionally):
issue is up to bugzilla
: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13183

Additional details (revisions used, host distro, etc.):
Host dev pc : ubuntu 16.04 64bit

ERROR: Layer openembedded-layer is not compatible with the core layer which only supports these series: zeus (layer is compatible with warrior thud)

Description

Steps to reproduce the issue:

  1. repo init -u git://github.com/riscv/meta-riscv -b master -m tools/manifests/riscv-yocto.xml
  2. repo sync
  3. repo start work --all
  4. . ./meta-riscv/setup.sh

Describe the results you received:

Adding layers
NOTE: Starting bitbake server...
ERROR: Unable to start bitbake server (None)
ERROR: Server log for this session (/home/palmer/work/linux/openembedded-riscv64/build/bitbake-cookerdaemon.log):
--- Starting bitbake server pid 1565 at 2019-10-08 14:26:05.945697 ---
ERROR: Layer openembedded-layer is not compatible with the core layer which only supports these series: zeus (layer is compatible with warrior thud)
ERROR: Layer openembedded-layer is not compatible with the core layer which only supports these series: zeus (layer is compatible with warrior thud)
ERROR: Layer openembedded-layer is not compatible with the core layer which only supports these series: zeus (layer is compatible with warrior thud)

ERROR: Unable to start bitbake server (None)
ERROR: Server log for this session (/home/palmer/work/linux/openembedded-riscv64/build/bitbake-cookerdaemon.log):
--- Starting bitbake server pid 1565 at 2019-10-08 14:26:05.945697 ---
ERROR: Layer openembedded-layer is not compatible with the core layer which only supports these series: zeus (layer is compatible with warrior thud)
ERROR: Layer openembedded-layer is not compatible with the core layer which only supports these series: zeus (layer is compatible with warrior thud)
ERROR: Layer openembedded-layer is not compatible with the core layer which only supports these series: zeus (layer is compatible with warrior thud)
...

Describe the results you expected:

A working build environment.

Additional information you deem important (e.g. issue happens only occasionally):

Additional details (revisions used, host distro, etc.):

opensbi fails on qemuriscv32

Build Configuration:
BB_VERSION           = "1.40.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "riscv32-oe-linux"
MACHINE              = "qemuriscv32"
DISTRO               = "nodistro"
DISTRO_VERSION       = "nodistro.0"
TUNE_FEATURES        = "riscv32 littleendian"
meta                 = "work:3da578a79195a63fb6d4bbd68d8f1548defd205f"
meta-oe              
meta-multimedia      
meta-python          
meta-networking      = "work:24dd9328f7ec964bbad25b7061366f9f2ff6194d"
meta-riscv           = "work:ddbc816c35cd5968d95695ac824715eb70962d2f"

undefined reference to `__stack_chk_guard'
undefined reference to `__stack_chk_fail'

errors

Current master branch build fails to generate rootfs

Current master branch (08/27/2018) fails to generate a rootfs. Error message:

WARNING: core-image-full-cmdline-1.0-r0 do_rootfs: Intentionally failing postinstall scriptlets of ['locale-base-en-us', 'locale-base-en-gb'] to defer them to first boot is deprecated. Please place them into pkg_postinst_ontarget_${PN} ().
If deferring to first boot wasn't the intent, then scriptlet failure may mean an issue in the recipe, or a regression elsewhere.
Details of the failure are in ~/riscv-yocto/build/tmp/work/qemuriscv64-poky-linux/core-image-full-cmdline/1.0-r0/temp/log.do_rootfs.
ERROR: core-image-full-cmdline-1.0-r0 do_rootfs: The postinstall intercept hook 'update_gio_module_cache' failed, details in ~/riscv-yocto/build/tmp/work/qemuriscv64-poky-linux/core-image-full-cmdline/1.0-r0/temp/log.do_rootfs
ERROR: core-image-full-cmdline-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in: ~/riscv-yocto/build/tmp/work/qemuriscv64-poky-linux/core-image-full-cmdline/1.0-r0/temp/log.do_rootfs.29322
ERROR: Task (!/riscv-yocto/poky/meta/recipes-extended/images/core-image-full-cmdline.bb:do_rootfs) failed with exit code '1'

Build instructions (README.md) fail to checkout master

The build instructions detailed in the top-level README.md file fail to checkout the master repository.

$> mkdir riscv-yocto
$> repo init -u git://github.com/riscv/meta-riscv -b master -m tools/manifests/riscv-yocto.xml
Traceback (most recent call last):
File "/hdd/home/jleidel/dev/working/yocto/.repo/repo/main.py", line 531, in
_Main(sys.argv[1:])
File "/hdd/home/jleidel/dev/working/yocto/.repo/repo/main.py", line 507, in _Main
result = repo._Run(argv) or 0
File "/hdd/home/jleidel/dev/working/yocto/.repo/repo/main.py", line 180, in _Run
result = cmd.Execute(copts, cargs)
File "/hdd/home/jleidel/dev/working/yocto/.repo/repo/subcmds/init.py", line 399, in Execute
self._SyncManifest(opt)
File "/hdd/home/jleidel/dev/working/yocto/.repo/repo/subcmds/init.py", line 245, in _SyncManifest
m.MetaBranchSwitch()
File "/hdd/home/jleidel/dev/working/yocto/.repo/repo/project.py", line 2913, in MetaBranchSwitch
self.Sync_LocalHalf(syncbuf)
File "/hdd/home/jleidel/dev/working/yocto/.repo/repo/project.py", line 1363, in Sync_LocalHalf
lost = self._revlist(not_rev(revid), HEAD)
File "/hdd/home/jleidel/dev/working/yocto/.repo/repo/project.py", line 2501, in _revlist
return self.work_git.rev_list(*a, **kw)
File "/hdd/home/jleidel/dev/working/yocto/.repo/repo/project.py", line 2700, in rev_list
(self._project.name, str(args), p.stderr))
error.GitError: manifests rev-list (u'^1d3ade5e42f03b6cce64b6313d37791b69075441', 'HEAD', '--'): fatal: bad revision 'HEAD'

baremetal gcc-cross-canadian fails to build

Description

Unable to build a baremetal GCC toolchain, this error is seen:
The directory that should contain system headers does not exist:
/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/recipe-sysroot/usr/include/

Steps to reproduce the issue:
MACHINE=baremetal-riscv64 bitbake meta-toolchain

Describe the results you received:

ERROR: gcc-cross-canadian-riscv64-8.3.0-r0 do_compile: oe_runmake failed
ERROR: gcc-cross-canadian-riscv64-8.3.0-r0 do_compile: Function failed: do_compile (log file is located at /scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/temp/log.do_compile.26727)
ERROR: Logfile of failure stored in: /scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/temp/log.do_compile.26727
Log data follows:
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 32 all-host configure-target-libgcc
| make[1]: Entering directory '/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/gcc-8.3.0/build.x86_64-oesdk-linux.riscv64-oe-elf/libiberty'
| make[1]: Entering directory '/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/gcc-8.3.0/build.x86_64-oesdk-linux.riscv64-oe-elf/intl'
| make[1]: Nothing to be done for 'all'.
| make[1]: Leaving directory '/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/gcc-8.3.0/build.x86_64-oesdk-linux.riscv64-oe-elf/intl'
| make[1]: Entering directory '/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/gcc-8.3.0/build.x86_64-oesdk-linux.riscv64-oe-elf/build-x86_64-linux/libiberty'
| make[2]: Entering directory '/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/gcc-8.3.0/build.x86_64-oesdk-linux.riscv64-oe-elf/libiberty/testsuite'
| make[2]: Nothing to be done for 'all'.
| make[2]: Leaving directory '/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/gcc-8.3.0/build.x86_64-oesdk-linux.riscv64-oe-elf/libiberty/testsuite'
| make[1]: Entering directory '/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/gcc-8.3.0/build.x86_64-oesdk-linux.riscv64-oe-elf/libbacktrace'
| make[1]: Leaving directory '/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/gcc-8.3.0/build.x86_64-oesdk-linux.riscv64-oe-elf/libiberty'
| make  all-am
| make[2]: Entering directory '/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/gcc-8.3.0/build.x86_64-oesdk-linux.riscv64-oe-elf/libbacktrace'
| make[2]: Entering directory '/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/gcc-8.3.0/build.x86_64-oesdk-linux.riscv64-oe-elf/build-x86_64-linux/libiberty/testsuite'
| make[2]: Nothing to be done for 'all'.
| make[2]: Leaving directory '/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/gcc-8.3.0/build.x86_64-oesdk-linux.riscv64-oe-elf/build-x86_64-linux/libiberty/testsuite'
| true  DO=all multi-do # make
| make[1]: Entering directory '/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/gcc-8.3.0/build.x86_64-oesdk-linux.riscv64-oe-elf/libdecnumber'
| make[1]: Nothing to be done for 'all'.
| make[1]: Leaving directory '/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/gcc-8.3.0/build.x86_64-oesdk-linux.riscv64-oe-elf/libdecnumber'
| make[1]: Leaving directory '/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/gcc-8.3.0/build.x86_64-oesdk-linux.riscv64-oe-elf/build-x86_64-linux/libiberty'
| make[2]: Leaving directory '/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/gcc-8.3.0/build.x86_64-oesdk-linux.riscv64-oe-elf/libbacktrace'
| make[1]: Leaving directory '/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/gcc-8.3.0/build.x86_64-oesdk-linux.riscv64-oe-elf/libbacktrace'
| make[1]: Entering directory '/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/gcc-8.3.0/build.x86_64-oesdk-linux.riscv64-oe-elf/fixincludes'
| make[1]: Nothing to be done for 'all'.
| make[1]: Leaving directory '/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/gcc-8.3.0/build.x86_64-oesdk-linux.riscv64-oe-elf/fixincludes'
| make[1]: Entering directory '/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/gcc-8.3.0/build.x86_64-oesdk-linux.riscv64-oe-elf/lto-plugin'
| make  all-am
| make[2]: Entering directory '/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/gcc-8.3.0/build.x86_64-oesdk-linux.riscv64-oe-elf/lto-plugin'
| make[1]: Entering directory '/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/gcc-8.3.0/build.x86_64-oesdk-linux.riscv64-oe-elf/build-x86_64-linux/fixincludes'
| make[1]: Entering directory '/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/gcc-8.3.0/build.x86_64-oesdk-linux.riscv64-oe-elf/build-x86_64-linux/libcpp'
| test -f config.h || (rm -f stamp-h1 && make stamp-h1)
| make[1]: Nothing to be done for 'all'.
| make[1]: Leaving directory '/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/gcc-8.3.0/build.x86_64-oesdk-linux.riscv64-oe-elf/build-x86_64-linux/fixincludes'
| make[2]: Leaving directory '/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/gcc-8.3.0/build.x86_64-oesdk-linux.riscv64-oe-elf/lto-plugin'
| make[1]: Leaving directory '/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/gcc-8.3.0/build.x86_64-oesdk-linux.riscv64-oe-elf/lto-plugin'
| make[1]: Leaving directory '/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/gcc-8.3.0/build.x86_64-oesdk-linux.riscv64-oe-elf/build-x86_64-linux/libcpp'
| make[1]: Entering directory '/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/gcc-8.3.0/build.x86_64-oesdk-linux.riscv64-oe-elf/libcpp'
| test -f config.h || (rm -f stamp-h1 && make stamp-h1)
| make[1]: Leaving directory '/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/gcc-8.3.0/build.x86_64-oesdk-linux.riscv64-oe-elf/libcpp'
| make[1]: Entering directory '/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/gcc-8.3.0/build.x86_64-oesdk-linux.riscv64-oe-elf/gcc'
| rm -rf include-fixed; mkdir include-fixed
| chmod a+rx include-fixed
| if [ -d ../prev-gcc ]; then \
|   cd ../prev-gcc && \
|   make real-install-headers-tar DESTDIR=`pwd`/../gcc/ \
|     libsubdir=. ; \
| else \
|   set -e; for ml in `cat fixinc_list`; do \
|     sysroot_headers_suffix=`echo ${ml} | sed -e 's/;.*$//'`; \
|     multi_dir=`echo ${ml} | sed -e 's/^[^;]*;//'`; \
|     fix_dir=include-fixed${multi_dir}; \
|     if ! false && test ! -d `echo /scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/recipe-sysroot${sysroot_headers_suffix}/usr/include/ | sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`; then \
|       echo The directory that should contain system headers does not exist: >&2 ; \
|       echo "  `echo /scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/recipe-sysroot${sysroot_headers_suffix}/usr/include/ | sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`" >&2 ; \
|       tooldir_sysinc=`echo "/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/riscv64-oe-elf/gcc/riscv64-oe-elf/8.3.0/../../../../../riscv64-oe-elf/sys-include" | sed -e :a -e "s,[^/]*/\.\.\/,," -e ta`; \
|       if test "x`echo /scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/recipe-sysroot${sysroot_headers_suffix}/usr/include/ | sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`" = "x${tooldir_sysinc}"; \
|       then sleep 1; else exit 1; fi; \
|     fi; \
|     /bin/sh ../../../../../../../work-shared/gcc-8.3.0-r0/gcc-8.3.0/gcc/../mkinstalldirs ${fix_dir}; \
|     chmod a+rx ${fix_dir} || true; \
|     (TARGET_MACHINE='riscv64-oe-elf'; srcdir=`cd ../../../../../../../work-shared/gcc-8.3.0-r0/gcc-8.3.0/gcc; ${PWDCMD-pwd}`; \
|       SHELL='/bin/sh'; MACRO_LIST=`${PWDCMD-pwd}`/macro_list ; \
|       gcc_dir=`${PWDCMD-pwd}` ; \
|       export TARGET_MACHINE srcdir SHELL MACRO_LIST && \
|       cd ../build-x86_64-linux/fixincludes && \
|       /bin/sh ./fixinc.sh "${gcc_dir}/${fix_dir}" \
|         `echo /scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/recipe-sysroot${sysroot_headers_suffix}/usr/include/ | sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`  ); \
|     rm -f ${fix_dir}/syslimits.h; \
|     if [ -f ${fix_dir}/limits.h ]; then \
|       mv ${fix_dir}/limits.h ${fix_dir}/syslimits.h; \
|     else \
|       cp ../../../../../../../work-shared/gcc-8.3.0-r0/gcc-8.3.0/gcc/gsyslimits.h ${fix_dir}/syslimits.h; \
|     fi; \
|     chmod a+r ${fix_dir}/syslimits.h; \
|   done; \
| fi
| The directory that should contain system headers does not exist:
|   /scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/recipe-sysroot/usr/include/
| make[1]: *** [Makefile:3093: stmp-fixinc] Error 1
| make[1]: Leaving directory '/scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/gcc-8.3.0/build.x86_64-oesdk-linux.riscv64-oe-elf/gcc'
| make: *** [Makefile:4269: all-gcc] Error 2
| ERROR: oe_runmake failed
| WARNING: /scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/temp/run.do_compile.26727:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at /scratch/alistair/yocto/oe-master/build/tmp-baremetal/work/x86_64-nativesdk-oesdk-linux/gcc-cross-canadian-riscv64/8.3.0-r0/temp/log.do_compile.26727)
ERROR: Task (/scratch/alistair/yocto/oe-master/meta/recipes-devtools/gcc/gcc-cross-canadian_8.3.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1429 tasks of which 1426 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /scratch/alistair/yocto/oe-master/meta/recipes-devtools/gcc/gcc-cross-canadian_8.3.bb:do_compile
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

freedom-u540 unleashed board root password and ping

Description
freedom-u540 unleashed board root password

I have followed the steps mentioned in the meta-riscv github page ..
After
. ./meta-riscv/setup.sh
i edited conf/local.conf and updated MACHINE=freedom-u540
and built the image
bitbake core-image-full-cmdline

After the above steps
I have generated the SD Card image as mentioned in "Sparse Image Creation" and
wrote the image to SD Card

After this the freedom-u540 board was booted with the SD Card and i got the login prompt
(via putty)

OpenEmbedded nodistro.0 freedom-u540 ttySIF0
freedom-u540 login: root
Login incorrect

Can you pl tell what could be mistake i am doing.

Further when i mounted the SD Card (/dev/sdc2) on the host system. i saw that
etc/shadow does not have password root::17974:0:99999:7:::

I am also not able to login via ssh (no IP addr has been assigned)
Does the generated image had dhcp enabled?

(earlier i was able to boot the board with networking ( as described in the SiFive manual )

any help will be appreciated and thanks for the meta-riscv project. :-)

Enable experimental libstdc++ in Yocto Toolchain

I'm using Yocto to generate a baremetal tool chain with the following command:
MACHINE=baremetal-riscv64 bitbake meta-toolchain

I'm then trying to use that toolchain to build the Kendryte FreeRTOS port.

I source the toolchain
. /usr/local/oecore-x86_64/environment-setup-riscv64-oe-elf
. /usr/local/oecore-x86_64/environment-setup-riscv64-oe-linux

Then I fix their cmake file (see diff at end) and disable reent as that seems to only work with newlib. After that I try and build FreeRTOS but I see this error:

kendryte-freertos-sdk/lib/freertos/include/kernel/object.hpp:46:41: error: expected โ€˜)โ€™ before โ€˜inโ€™
     constexpr object_ptr(std::in_place_t in, T *obj) noexcept
                         ~               ^~~
                                         )

After grepping through the GCC code it looks like in_place_t is an experimental feature. Is it possible to enable experimental libstdc++ features in the Yocto toolchain?

Fix CMake

diff --git a/cmake/toolchain.cmake b/cmake/toolchain.cmake
index 9d0afd4..359c7d6 100644
--- a/cmake/toolchain.cmake
+++ b/cmake/toolchain.cmake
@@ -4,32 +4,6 @@ else ()
     set(EXT "")
 endif ()
 
-message(STATUS "Check for RISCV toolchain ...")
-
-if(NOT TOOLCHAIN)
-       find_path(_TOOLCHAIN riscv64-unknown-elf-gcc${EXT})
-    global_set(TOOLCHAIN "${_TOOLCHAIN}")
-elseif(NOT "${TOOLCHAIN}" MATCHES "/$")
-    global_set(TOOLCHAIN "${TOOLCHAIN}")
-endif()
-
-if (NOT TOOLCHAIN)
-    message(FATAL_ERROR "TOOLCHAIN must be set, to absolute path of kendryte-toolchain dist/bin folder.")
-endif ()
-
-message(STATUS "Using ${TOOLCHAIN} RISCV toolchain")
-
-global_set(CMAKE_C_COMPILER "${TOOLCHAIN}/riscv64-unknown-elf-gcc${EXT}")
-global_set(CMAKE_CXX_COMPILER "${TOOLCHAIN}/riscv64-unknown-elf-g++${EXT}")
-global_set(CMAKE_LINKER "${TOOLCHAIN}/riscv64-unknown-elf-ld${EXT}")
-global_set(CMAKE_AR "${TOOLCHAIN}/riscv64-unknown-elf-ar${EXT}")
-global_set(CMAKE_OBJCOPY "${TOOLCHAIN}/riscv64-unknown-elf-objcopy${EXT}")
-global_set(CMAKE_SIZE "${TOOLCHAIN}/riscv64-unknown-elf-size${EXT}")
-global_set(CMAKE_OBJDUMP "${TOOLCHAIN}/riscv64-unknown-elf-objdump${EXT}")
-if (WIN32)
-    global_set(CMAKE_MAKE_PROGRAM "${TOOLCHAIN}/mingw32-make${EXT}")
-endif ()
-
 execute_process(COMMAND ${CMAKE_C_COMPILER} -print-file-name=crt0.o OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE CRT0_OBJ)
 execute_process(COMMAND ${CMAKE_C_COMPILER} -print-file-name=crtbegin.o OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE CRTBEGIN_OBJ)
 execute_process(COMMAND ${CMAKE_C_COMPILER} -print-file-name=crtend.o OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE CRTEND_OBJ)

Disable reent

diff --git a/lib/freertos/conf/FreeRTOSConfig.h b/lib/freertos/conf/FreeRTOSConfig.h
index 47136e2..bb613e8 100644
--- a/lib/freertos/conf/FreeRTOSConfig.h
+++ b/lib/freertos/conf/FreeRTOSConfig.h
@@ -62,7 +62,7 @@
 #define configTICK_RATE_HZ					( ( TickType_t ) 100 )
 
 /* multithreading */
-#define configUSE_NEWLIB_REENTRANT				1
+#define configUSE_NEWLIB_REENTRANT				0
 
 #define configUSE_PREEMPTION					1
 #define configUSE_PORT_OPTIMISED_TASK_SELECTION	0

prelink-native do_patch issue

Description
I think it may be not our issue... but report it here at first.

ERROR: prelink-native-1.0+gitAUTOINC+a853a5d715-r0 do_patch: Command Error: 'quilt --quiltrc /home/pino/workspace/riscv-yocto/build/tmp-glibc/work/x86_64-linux/prelink-native/1.0+gitAUTOINC+a853a5d715-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output:
Applying patch 0001-rtld-Add-missing-DT_NEEDED-DSOs-to-needed_list.patch
patching file ChangeLog
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- rejects in file ChangeLog
patching file src/rtld/rtld.c
Hunk #1 succeeded at 741 with fuzz 1 (offset 43 lines).
Hunk #2 succeeded at 888 with fuzz 2 (offset 45 lines).
Hunk #3 FAILED at 887.
1 out of 3 hunks FAILED -- rejects in file src/rtld/rtld.c
Patch 0001-rtld-Add-missing-DT_NEEDED-DSOs-to-needed_list.patch does not apply (enforce with -f)
ERROR: prelink-native-1.0+gitAUTOINC+a853a5d715-r0 do_patch: Function failed: patch_do_patch
ERROR: Logfile of failure stored in: /home/pino/workspace/riscv-yocto/build/tmp-glibc/work/x86_64-linux/prelink-native/1.0+gitAUTOINC+a853a5d715-r0/temp/log.do_patch.13980
ERROR: Task (virtual:native:/home/pino/workspace/riscv-yocto/openembedded-core/meta/recipes-devtools/prelink/prelink_git.bb:do_patch) failed with exit code '1'

do_patch.txt

Describe the results you received:

Describe the results you expected:

Question about core-image-sato

Description
I builded core-image-sato and no compile issue.
But I ran it command.

$ runqemu

The console has stucked after executing the command.
Anyone have some idea where to find solution?????
Nothing happen my qemu. So I can't find where to start first.
first I want to run it not a console, seperate screen.
I attach qemu command too.
thanks.

Steps to reproduce the issue:

  1. $ bitbake core-image-sato
  2. $ runqemu

Describe the results you received:
stucked console, but can exit it Ctrl+C.

Describe the results you expected:
launch core-image-sato. All is fine.

Additional information you deem important (e.g. issue happens only occasionally):

runqemu command :

/home/pino/workspace/opensource/riscv-yocto/build/tmp-glibc/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-riscv64 -device virtio-net-device,netdev=net0,mac=52:54:00:12:34:02 -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -drive id=disk0,file=/home/pino/workspace/opensource/riscv-yocto/build/tmp-glibc/deploy/images/qemuriscv64/core-image-sato-qemuriscv64-20181126112726.rootfs.ext4,if=none,format=raw -device virtio-blk-device,drive=disk0 -show-cursor -monitor null -machine virt -m 512 -serial mon:vc -serial null -kernel /home/pino/workspace/opensource/riscv-yocto/build/tmp-glibc/deploy/images/qemuriscv64/bbl -append 'root=/dev/vda rw highres=off mem=512M ip=192.168.7.2::192.168.7.1:255.255.255.0 console=ttyAMA0,115200 console=tty '

Additional details (revisions used, host distro, etc.):

build infor

NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.40.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-16.04"
TARGET_SYS = "riscv64-oe-linux"
MACHINE = "qemuriscv64"
DISTRO = "nodistro"
DISTRO_VERSION = "nodistro.0"
TUNE_FEATURES = "riscv64 littleendian"
meta = "work:04469ab5b7f0446404b4cb55a15595678581ab26"
meta-oe
meta-multimedia
meta-python
meta-networking = "work:c26b10b155cf7873ffc8e966f95fd4abed8230c6"
meta-riscv = "work:4f4e1753d416f942f58d62340bec5f8b447e9e41"

Console image(stucked)

image

Compile libmysqlclient failed

Description
I build libmysqlclient and got the error while compiling.

Steps to reproduce the issue:

  1. build$ bitbake libmysqlclient

Describe the results you received:
Loading cache: 100% |############################################################################################################| Time: 0:00:00
Loaded 3243 entries from dependency cache.
Parsing recipes: 100% |##########################################################################################################| Time: 0:00:01
Parsing of 2200 .bb files complete (2199 cached, 1 parsed). 3244 targets, 133 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.40.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "riscv64-oe-linux"
MACHINE = "qemuriscv64"
DISTRO = "nodistro"
DISTRO_VERSION = "nodistro.0"
TUNE_FEATURES = "riscv64 littleendian"
meta = "work:c118705f1d4c8f4f04a7ba517b74c90829fdd81b"
meta-oe
meta-multimedia
meta-python
meta-networking = "work:c06db080f2331d98fb5877531baf7d0da95fba55"
meta-riscv = "work:2ec848f8f37ea3c0d3538f32a59133294a9234cc"

Initialising tasks: 100% |#######################################################################################################| Time: 0:00:01
Sstate summary: Wanted 8 Found 0 Missed 8 Current 439 (0% match, 98% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: mariadb-5.5.62-r0 do_compile: Function failed: do_compile (log file is located at /home/ubuntu/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/mariadb/5.5.62-r0/temp/log.do_compile.19190)
ERROR: Logfile of failure stored in: /home/ubuntu/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/mariadb/5.5.62-r0/temp/log.do_compile.19190
...
| make[2]: Leaving directory '/home/ubuntu/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/mariadb/5.5.62-r0/build'
| [ 76%] Built target mysqlbinlog
| make[1]: Leaving directory '/home/ubuntu/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/mariadb/5.5.62-r0/build'
| Makefile:165: recipe for target 'all' failed
| make: *** [all] Error 2
| WARNING: exit code 2 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/ubuntu/riscv-yocto/build/tmp-glibc/work/riscv64-oe-linux/mariadb/5.5.62-r0/temp/log.do_compile.19190)
ERROR: Task (/home/ubuntu/riscv-yocto/meta-openembedded/meta-oe/recipes-dbs/mysql/mariadb_5.5.62.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1877 tasks of which 1876 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory

Summary: 1 task failed:
/home/ubuntu/riscv-yocto/meta-openembedded/meta-oe/recipes-dbs/mysql/mariadb_5.5.62.bb:do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Describe the results you expected:
Run bitbake successfully

Additional information you deem important (e.g. issue happens only occasionally):

Additional details (revisions used, host distro, etc.):

log.do_compile.19190.txt

compile error with meta-riscv

thanks , i got the error output with command MACHINE=freedom-u540 wic create freedom-u540-bbl -e core-image-minimal command, so how to dealwith this?

Initialising tasks: 100% |######################################################################################################################################################| Time: 0:00:00
Sstate summary: Wanted 0 Found 0 Missed 0 Current 46 (0% match, 100% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 357 tasks of which 357 didn't need to be rerun and all succeeded.
NOTE: Writing buildhistory
INFO: Build artifacts not found, exiting.
INFO: (Please check that the build artifacts for the machine
INFO: selected in local.conf actually exist and that they
INFO: are the correct artifacts for the image (.wks file)).

ERROR: ("The artifact that couldn't be found was %s:\n %s", 'rootfs-dir', '/home/czl/WorkSpace/sifive/riscv-yocto/build/tmp-glibc/work/qemuriscv64-oe-linux/core-image-minimal/1.0-r0/rootfs')

qemuriscv32 : core-image-full-cmdline build fail(last commit : 0742b61)

Description
Build test last 0742b61.
riscv 64bit build fine. but I met build error last commit 0742b61 when I build riscv 32bit.

Steps to reproduce the issue:

  1. . ./meta-riscv/setup.sh
  2. replace MACHINE="qemuriscv64" to MACHINE="qemuriscv32"
  3. bitbakae core-image-full-cmdline -k

Describe the results you received:

ERROR: core-image-full-cmdline-1.0-r0 do_rootfs: The postinstall intercept hook 'update_udev_hwdb' failed, details in /home/pino-yocto/workspace/opensource_work/riscv-yocto/build/tmp-glibc/work/qemuriscv32-oe-linux/core-image-full-cmdline/1.0-r0/temp/log.do_rootfs
ERROR: core-image-full-cmdline-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /home/pino-yocto/workspace/opensource_work/riscv-yocto/build/tmp-glibc/work/qemuriscv32-oe-linux/core-image-full-cmdline/1.0-r0/temp/log.do_rootfs.5405
ERROR: Task (/home/pino-yocto/workspace/opensource_work/riscv-yocto/openembedded-core/meta/recipes-extended/images/core-image-full-cmdline.bb:do_rootfs) failed with exit code '1'

Describe the results you expected:

  • build fine, runqemu fine.

Additional details (revisions used, host distro, etc.):

Build Configuration:
BB_VERSION = "1.40.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "riscv32-oe-linux"
MACHINE = "qemuriscv32"
DISTRO = "nodistro"
DISTRO_VERSION = "nodistro.0"
TUNE_FEATURES = "riscv32 littleendian"
meta = "HEAD:924d6956fb5bef3effe8914fe61e8cad6f71a231"
meta-oe
meta-multimedia
meta-python
meta-networking = "HEAD:ebc7b9e20ac22f6f2ad373621917f53e8a9af81c"
meta-riscv = "HEAD:0742b61e65e9f1388c6a8d5cecd0b337951290b4"

mariadb has been upgraded

Description
mariadb in meta-openembedded has been upgrade to version 10.3.13. It makes mariadb_5%.bbappend in rmeta-riscv failed.

Steps to reproduce the issue:

  1. $ bitbake mariadb

Describe the results you received:
ERROR: No recipes available for:
/home/ubuntu/riscv-yocto/meta-riscv/recipes-dbs/mariadb/mariadb_5%.bbappend

Describe the results you expected:
No error

Additional information you deem important (e.g. issue happens only occasionally):

Additional details (revisions used, host distro, etc.):

[Question] About Opensbi0.4 work and some questions

@alistair23 @kraj
Kernel 5.2 is out and Opensbi0.4 is out too.
I think I can handle opensbi update(maybe ?) ... so start it.
If work done first to test it qemuriscv32, qemuriscv64 at kernel v5.1 and next v5.2.
Below is my temp working branch.

https://github.com/pino-kim/openembedded-core/commits/pino_opensbi_0_4

Not work done yet, success lunch it qemuriscv64 kernel 5.1(linux-yocto)
I have some question to ask. Below is my Qustion

  1. Before upstream to OE. Is it better to add bbappend to update opensbi0.4 in meta-riscv?
  2. I never met build this waring message before build v0.3 All three machine need below package to ship it?

WARNING: opensbi-0.4-r0 do_package: QA Issue: opensbi: Files/directories were installed but not shipped in any package: /platform/qemu/virt/firmware/fw_dynamic.elf /platform/qemu/virt/firmware/fw_dynamic.bin Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. opensbi: 2 installed and not shipped files. [installed-vs-shipped]

linux-riscv 4.17 do_fetch fail

Description
linux-riscv do_fetch failed

Steps to reproduce the issue:
1.
mkdir riscv-yocto
repo init -u git://github.com/riscv/meta-riscv -b master -m tools/manifests/riscv-yocto.xml
repo sync
repo start work --all
2.
. ./meta-riscv/setup.sh
3.
bitbake core-image-full-cmdline

Describe the results you received:
WARNING: linux-riscv-4.17+gitAUTOINC+f37675f7da-r0 do_fetch: Failed to fetch URL git://github.com/riscv/riscv-linux.git;branch=riscv-all, attempting MIRRORS if available
ERROR: linux-riscv-4.17+gitAUTOINC+f37675f7da-r0 do_fetch: Fetcher failure: Unable to find revision f37675f7da2dfe7ee85c78c30590b12bc76efc08 in branch riscv-all even from upstream
ERROR: linux-riscv-4.17+gitAUTOINC+f37675f7da-r0 do_fetch: Fetcher failure for URL: 'git://github.com/riscv/riscv-linux.git;branch=riscv-all'. Unable to fetch URL from any source.
ERROR: linux-riscv-4.17+gitAUTOINC+f37675f7da-r0 do_fetch: Function failed: base_do_fetch

Describe the results you expected:
I think if fetch is done clearly...
may be bitbake build linux-riscv.

Additional information you deem important (e.g. issue happens only occasionally):
I cant not find commit id : f37675f7da2dfe7ee85c78c30590b12bc76efc08
in riscv-linux(https://github.com/riscv/riscv-linux ) in branch 'riscv-all'

Additional details (revisions used, host distro, etc.):
my host distro is Ubuntu 16.04

when I build gdb8.3 with musl occured ERROR: gdb-8.3-r0 do_compile: oe_runmake failed

Hello~Thank you very much for your contribution to this project. At present, I have integrated the musl C library on yocto. I added the layer to bblayers.conf and also added TCLIBC = "musl" to local.conf I initialized the environment and then run bitbake core-image-full-cmdline-dev, I have got the error outpu.

At first, I thought there were broken packages. Firstly, try cleaning it and rebuilding: bitbake -c cleanall -f core-image-full-cmdline-ncnn-dev. But when I compile again, I still get the following output, why is this? When I input MACHINE=freedom-u540 TCLIBC=musl bitbake core-image-full-cmdline-ncnn can be executed normally, while executing MACHINE=freedom-u540 TCLIBC=musl bitbake core-image-full-cmdline-ncnn-dev is wrong.Is there a conflict between gdb8.3 and musl?The execution environment of the them is the same. I don't know the reason for the error. I am looking forward to your reply!Thank you !How should it be solved?

this is the output build configuration that bitbake prints as the beginning of build.
ๅพฎไฟกๅ›พ็‰‡_20200710091936

NOTE: recipe gettext-0.19.8.1-r0: task do_populate_sysroot: Succeeded
NOTE: recipe gcc-9.2.0-r0: task do_populate_sysroot: Succeeded
NOTE: recipe strace-5.2-r0: task do_populate_sysroot: Succeeded
NOTE: recipe sysprof-3.32.0-r0: task do_populate_sysroot: Succeeded
ERROR: gdb-8.3-r0 do_compile: oe_runmake failed
ERROR: gdb-8.3-r0 do_compile: Execution of '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/temp/run.do_compile.310737' failed with exit code 1:
make[1]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl'
make[1]: Nothing to be done for 'all-target'.
make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/intl'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/intl'
make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/etc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/etc'
make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/libdecnumber'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/libdecnumber'
make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/libiberty'
make[3]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/libiberty/testsuite'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/libiberty/testsuite'
make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/libiberty'
make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/zlib'
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc " "CFLAGS=-O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= " "CXXFLAGS=-O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= -fvisibility-inlines-hidden" "CFLAGS_FOR_BUILD=-isystem/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native/usr/include -O2 -pipe" "CFLAGS_FOR_TARGET=-O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= " "INSTALL=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/hosttools/install -c" "INSTALL_DATA=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/hosttools/install -c -m 644" "INSTALL_PROGRAM=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/hosttools/install -c" "INSTALL_SCRIPT=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/hosttools/install -c" "LDFLAGS=-static-libstdc++ -static-libgcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now" "LIBCFLAGS=-O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= " "LIBCFLAGS_FOR_TARGET=-O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= " "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/bash" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr" "infodir=/usr/share/info" "libdir=/usr/lib" "prefix=/usr" "tooldir=/usr/riscv64-oe-linux-musl" "AR=riscv64-oe-linux-musl-gcc-ar" "AS=riscv64-oe-linux-musl-as " "CC=riscv64-oe-linux-musl-gcc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= --sysroot=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot" "CXX=riscv64-oe-linux-musl-g++ -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= --sysroot=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot" "LD=riscv64-oe-linux-musl-ld --sysroot=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot " "LIBCFLAGS=-O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= " "NM=riscv64-oe-linux-musl-nm" "PICFLAG=" "RANLIB=riscv64-oe-linux-musl-gcc-ranlib" "DESTDIR=" DO=all multi-do # make
make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/zlib'
make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd'
Making info in doc
make[3]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/doc'
make[3]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/doc'
Making info in po
make[3]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/po'
make[3]: Nothing to be done for 'info'.
make[3]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/po'
make[3]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd'
make[3]: Nothing to be done for 'info-am'.
make[3]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd'
make all-recursive
make[3]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd'
Making all in doc
make[4]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/doc'
make[4]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/doc'
Making all in po
make[4]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/po'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/po'
make[4]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd'
make[4]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd'
make[3]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd'
make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd'
make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes'
make all-recursive
make[3]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes'
Making all in .
make[4]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes'
make[4]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes'
Making all in po
make[4]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes/po'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes/po'
make[3]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes'
make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes'
make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb'
CONFIG_HEADERS=config.h:config.in
CONFIG_COMMANDS="default depdir"
CONFIG_FILES=
CONFIG_LINKS=
/bin/bash config.status
make[3]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb'
make[4]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib'
make[5]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib'
make[6]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib/import'
make all-recursive
make[7]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib/import'
make[8]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib/import'
make[8]: Nothing to be done for 'all-am'.
make[8]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib/import'
make[7]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib/import'
make[6]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib/import'
make[5]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib'
make[4]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib'
make[3]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb'
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default commands
config.status: executing depdir commands
CXX riscv-linux-nat.o
../../gdb-8.3/gdb/riscv-linux-nat.c: In function 'void supply_fpregset_regnum(regcache*, const prfpregset_t*, int)':
../../gdb-8.3/gdb/riscv-linux-nat.c:97:36: error: 'const prfpregset_t' {aka 'const struct user_fpregs_struct'} has no member named '__d'
97 | regcache->raw_supply (i, &fpregs->__d.__f[i - RISCV_FIRST_FP_REGNUM]);
| ^~~
../../gdb-8.3/gdb/riscv-linux-nat.c:99:61: error: 'const prfpregset_t' {aka 'const struct user_fpregs_struct'} has no member named '__d'
99 | regcache->raw_supply (RISCV_CSR_FCSR_REGNUM, &fpregs->__d.__fcsr);
| ^~~
../../gdb-8.3/gdb/riscv-linux-nat.c:103:15: error: 'const prfpregset_t' {aka 'const struct user_fpregs_struct'} has no member named '__d'
103 | &fpregs->__d.__f[regnum - RISCV_FIRST_FP_REGNUM]);
| ^~~
../../gdb-8.3/gdb/riscv-linux-nat.c:105:59: error: 'const prfpregset_t' {aka 'const struct user_fpregs_struct'} has no member named '__d'
105 | regcache->raw_supply (RISCV_CSR_FCSR_REGNUM, &fpregs->__d.__fcsr);
| ^~~
../../gdb-8.3/gdb/riscv-linux-nat.c: In function 'void fill_fpregset(const regcache*, prfpregset_t*, int)':
../../gdb-8.3/gdb/riscv-linux-nat.c:152:37: error: 'prfpregset_t' {aka 'struct user_fpregs_struct'} has no member named '__d'
152 | regcache->raw_collect (i, &fpregs->__d.__f[i - RISCV_FIRST_FP_REGNUM]);
| ^~~
../../gdb-8.3/gdb/riscv-linux-nat.c:154:62: error: 'prfpregset_t' {aka 'struct user_fpregs_struct'} has no member named '__d'
154 | regcache->raw_collect (RISCV_CSR_FCSR_REGNUM, &fpregs->__d.__fcsr);
| ^~~
../../gdb-8.3/gdb/riscv-linux-nat.c:158:16: error: 'prfpregset_t' {aka 'struct user_fpregs_struct'} has no member named '__d'
158 | &fpregs->__d.__f[regnum - RISCV_FIRST_FP_REGNUM]);
| ^~~
../../gdb-8.3/gdb/riscv-linux-nat.c:160:60: error: 'prfpregset_t' {aka 'struct user_fpregs_struct'} has no member named '__d'
160 | regcache->raw_collect (RISCV_CSR_FCSR_REGNUM, &fpregs->__d.__fcsr);
| ^~~
Makefile:1641: recipe for target 'riscv-linux-nat.o' failed
make[2]: *** [riscv-linux-nat.o] Error 1
make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb'
Makefile:8458: recipe for target 'all-gdb' failed
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl'
Makefile:849: recipe for target 'all' failed
make: *** [all] Error 2
WARNING: exit code 1 from a shell command.
ERROR: Logfile of failure stored in: /builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/temp/log.do_compile.310737
Log data follows:
| DEBUG: Executing python function autotools_aclocals
| DEBUG: SITE files ['endian-little', 'bit-64', 'riscv-common', 'common-linux', 'common-musl', 'riscv64-linux', 'riscv64-linux-musl', 'common']
| DEBUG: Python function autotools_aclocals finished
| DEBUG: Executing shell function do_compile
| NOTE: make -j 48 SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils gt_cv_func_gnugettext1_libc=yes gt_cv_func_gnugettext2_libc=yes gl_cv_func_working_strerror=yes gl_cv_func_strerror_0_works=yes gl_cv_func_gettimeofday_clobber=no
| make[1]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl'
| make[1]: Nothing to be done for 'all-target'.
| make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/intl'
| make[2]: Nothing to be done for 'all'.
| make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/intl'
| make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/etc'
| make[2]: Nothing to be done for 'all'.
| make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/etc'
| make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/libdecnumber'
| make[2]: Nothing to be done for 'all'.
| make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/libdecnumber'
| make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/libiberty'
| make[3]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/libiberty/testsuite'
| make[3]: Nothing to be done for 'all'.
| make[3]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/libiberty/testsuite'
| make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/libiberty'
| make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/zlib'
| true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc " "CFLAGS=-O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= " "CXXFLAGS=-O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= -fvisibility-inlines-hidden" "CFLAGS_FOR_BUILD=-isystem/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native/usr/include -O2 -pipe" "CFLAGS_FOR_TARGET=-O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= " "INSTALL=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/hosttools/install -c" "INSTALL_DATA=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/hosttools/install -c -m 644" "INSTALL_PROGRAM=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/hosttools/install -c" "INSTALL_SCRIPT=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/hosttools/install -c" "LDFLAGS=-static-libstdc++ -static-libgcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now" "LIBCFLAGS=-O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= " "LIBCFLAGS_FOR_TARGET=-O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= " "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/bash" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr" "infodir=/usr/share/info" "libdir=/usr/lib" "prefix=/usr" "tooldir=/usr/riscv64-oe-linux-musl" "AR=riscv64-oe-linux-musl-gcc-ar" "AS=riscv64-oe-linux-musl-as " "CC=riscv64-oe-linux-musl-gcc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= --sysroot=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot" "CXX=riscv64-oe-linux-musl-g++ -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= --sysroot=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot" "LD=riscv64-oe-linux-musl-ld --sysroot=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot " "LIBCFLAGS=-O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= " "NM=riscv64-oe-linux-musl-nm" "PICFLAG=" "RANLIB=riscv64-oe-linux-musl-gcc-ranlib" "DESTDIR=" DO=all multi-do # make
| make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/zlib'
| make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd'
| Making info in doc
| make[3]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/doc'
| make[3]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/doc'
| Making info in po
| make[3]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/po'
| make[3]: Nothing to be done for 'info'.
| make[3]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/po'
| make[3]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd'
| make[3]: Nothing to be done for 'info-am'.
| make[3]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd'
| make all-recursive
| make[3]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd'
| Making all in doc
| make[4]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/doc'
| make[4]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/doc'
| Making all in po
| make[4]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/po'
| make[4]: Nothing to be done for 'all'.
| make[4]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/po'
| make[4]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd'
| make[4]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd'
| make[3]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd'
| make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd'
| make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes'
| make all-recursive
| make[3]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes'
| Making all in .
| make[4]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes'
| make[4]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes'
| Making all in po
| make[4]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes/po'
| make[4]: Nothing to be done for 'all'.
| make[4]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes/po'
| make[3]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes'
| make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes'
| make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb'
| CONFIG_HEADERS=config.h:config.in
| CONFIG_COMMANDS="default depdir"
| CONFIG_FILES=
| CONFIG_LINKS=
| /bin/bash config.status
| make[3]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb'
| make[4]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib'
| make[5]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib'
| make[6]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib/import'
| make all-recursive
| make[7]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib/import'
| make[8]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib/import'
| make[8]: Nothing to be done for 'all-am'.
| make[8]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib/import'
| make[7]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib/import'
| make[6]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib/import'
| make[5]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib'
| make[4]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib'
| make[3]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb'
| config.status: creating config.h
| config.status: config.h is unchanged
| config.status: executing default commands
| config.status: executing depdir commands
| CXX riscv-linux-nat.o
| ../../gdb-8.3/gdb/riscv-linux-nat.c: In function 'void supply_fpregset_regnum(regcache*, const prfpregset_t*, int)':
| ../../gdb-8.3/gdb/riscv-linux-nat.c:97:36: error: 'const prfpregset_t' {aka 'const struct user_fpregs_struct'} has no member named '__d'
| 97 | regcache->raw_supply (i, &fpregs->__d.__f[i - RISCV_FIRST_FP_REGNUM]);
| | ^~~
| ../../gdb-8.3/gdb/riscv-linux-nat.c:99:61: error: 'const prfpregset_t' {aka 'const struct user_fpregs_struct'} has no member named '__d'
| 99 | regcache->raw_supply (RISCV_CSR_FCSR_REGNUM, &fpregs->__d.__fcsr);
| | ^~~
| ../../gdb-8.3/gdb/riscv-linux-nat.c:103:15: error: 'const prfpregset_t' {aka 'const struct user_fpregs_struct'} has no member named '__d'
| 103 | &fpregs->__d.__f[regnum - RISCV_FIRST_FP_REGNUM]);
| | ^~~
| ../../gdb-8.3/gdb/riscv-linux-nat.c:105:59: error: 'const prfpregset_t' {aka 'const struct user_fpregs_struct'} has no member named '__d'
| 105 | regcache->raw_supply (RISCV_CSR_FCSR_REGNUM, &fpregs->__d.__fcsr);
| | ^~~
| ../../gdb-8.3/gdb/riscv-linux-nat.c: In function 'void fill_fpregset(const regcache*, prfpregset_t*, int)':
| ../../gdb-8.3/gdb/riscv-linux-nat.c:152:37: error: 'prfpregset_t' {aka 'struct user_fpregs_struct'} has no member named '__d'
| 152 | regcache->raw_collect (i, &fpregs->__d.__f[i - RISCV_FIRST_FP_REGNUM]);
| | ^~~
| ../../gdb-8.3/gdb/riscv-linux-nat.c:154:62: error: 'prfpregset_t' {aka 'struct user_fpregs_struct'} has no member named '__d'
| 154 | regcache->raw_collect (RISCV_CSR_FCSR_REGNUM, &fpregs->__d.__fcsr);
| | ^~~
| ../../gdb-8.3/gdb/riscv-linux-nat.c:158:16: error: 'prfpregset_t' {aka 'struct user_fpregs_struct'} has no member named '__d'
| 158 | &fpregs->__d.__f[regnum - RISCV_FIRST_FP_REGNUM]);
| | ^~~
| ../../gdb-8.3/gdb/riscv-linux-nat.c:160:60: error: 'prfpregset_t' {aka 'struct user_fpregs_struct'} has no member named '__d'
| 160 | regcache->raw_collect (RISCV_CSR_FCSR_REGNUM, &fpregs->__d.__fcsr);
| | ^~~
| Makefile:1641: recipe for target 'riscv-linux-nat.o' failed
| make[2]: *** [riscv-linux-nat.o] Error 1
| make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb'
| Makefile:8458: recipe for target 'all-gdb' failed
| make[1]: *** [all-gdb] Error 2
| make[1]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl'
| Makefile:849: recipe for target 'all' failed
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/temp/run.do_compile.310737' failed with exit code 1:
| make[1]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl'
| make[1]: Nothing to be done for 'all-target'.
| make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/intl'
| make[2]: Nothing to be done for 'all'.
| make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/intl'
| make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/etc'
| make[2]: Nothing to be done for 'all'.
| make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/etc'
| make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/libdecnumber'
| make[2]: Nothing to be done for 'all'.
| make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/libdecnumber'
| make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/libiberty'
| make[3]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/libiberty/testsuite'
| make[3]: Nothing to be done for 'all'.
| make[3]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/libiberty/testsuite'
| make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/libiberty'
| make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/zlib'
| true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc " "CFLAGS=-O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= " "CXXFLAGS=-O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= -fvisibility-inlines-hidden" "CFLAGS_FOR_BUILD=-isystem/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native/usr/include -O2 -pipe" "CFLAGS_FOR_TARGET=-O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= " "INSTALL=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/hosttools/install -c" "INSTALL_DATA=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/hosttools/install -c -m 644" "INSTALL_PROGRAM=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/hosttools/install -c" "INSTALL_SCRIPT=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/hosttools/install -c" "LDFLAGS=-static-libstdc++ -static-libgcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now" "LIBCFLAGS=-O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= " "LIBCFLAGS_FOR_TARGET=-O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= " "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/bash" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr" "infodir=/usr/share/info" "libdir=/usr/lib" "prefix=/usr" "tooldir=/usr/riscv64-oe-linux-musl" "AR=riscv64-oe-linux-musl-gcc-ar" "AS=riscv64-oe-linux-musl-as " "CC=riscv64-oe-linux-musl-gcc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= --sysroot=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot" "CXX=riscv64-oe-linux-musl-g++ -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= --sysroot=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot" "LD=riscv64-oe-linux-musl-ld --sysroot=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot " "LIBCFLAGS=-O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0=/usr/src/debug/gdb/8.3-r0 -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot= -fdebug-prefix-map=/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/recipe-sysroot-native= " "NM=riscv64-oe-linux-musl-nm" "PICFLAG=" "RANLIB=riscv64-oe-linux-musl-gcc-ranlib" "DESTDIR=" DO=all multi-do # make
| make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/zlib'
| make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd'
| Making info in doc
| make[3]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/doc'
| make[3]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/doc'
| Making info in po
| make[3]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/po'
| make[3]: Nothing to be done for 'info'.
| make[3]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/po'
| make[3]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd'
| make[3]: Nothing to be done for 'info-am'.
| make[3]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd'
| make all-recursive
| make[3]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd'
| Making all in doc
| make[4]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/doc'
| make[4]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/doc'
| Making all in po
| make[4]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/po'
| make[4]: Nothing to be done for 'all'.
| make[4]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd/po'
| make[4]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd'
| make[4]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd'
| make[3]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd'
| make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/bfd'
| make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes'
| make all-recursive
| make[3]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes'
| Making all in .
| make[4]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes'
| make[4]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes'
| Making all in po
| make[4]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes/po'
| make[4]: Nothing to be done for 'all'.
| make[4]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes/po'
| make[3]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes'
| make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/opcodes'
| make[2]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb'
| CONFIG_HEADERS=config.h:config.in
| CONFIG_COMMANDS="default depdir"
| CONFIG_FILES=
| CONFIG_LINKS=
| /bin/bash config.status
| make[3]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb'
| make[4]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib'
| make[5]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib'
| make[6]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib/import'
| make all-recursive
| make[7]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib/import'
| make[8]: Entering directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib/import'
| make[8]: Nothing to be done for 'all-am'.
| make[8]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib/import'
| make[7]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib/import'
| make[6]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib/import'
| make[5]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib'
| make[4]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb/build-gnulib'
| make[3]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb'
| config.status: creating config.h
| config.status: config.h is unchanged
| config.status: executing default commands
| config.status: executing depdir commands
| CXX riscv-linux-nat.o
| ../../gdb-8.3/gdb/riscv-linux-nat.c: In function 'void supply_fpregset_regnum(regcache*, const prfpregset_t*, int)':
| ../../gdb-8.3/gdb/riscv-linux-nat.c:97:36: error: 'const prfpregset_t' {aka 'const struct user_fpregs_struct'} has no member named '__d'
| 97 | regcache->raw_supply (i, &fpregs->__d.__f[i - RISCV_FIRST_FP_REGNUM]);
| | ^~~
| ../../gdb-8.3/gdb/riscv-linux-nat.c:99:61: error: 'const prfpregset_t' {aka 'const struct user_fpregs_struct'} has no member named '__d'
| 99 | regcache->raw_supply (RISCV_CSR_FCSR_REGNUM, &fpregs->__d.__fcsr);
| | ^~~
| ../../gdb-8.3/gdb/riscv-linux-nat.c:103:15: error: 'const prfpregset_t' {aka 'const struct user_fpregs_struct'} has no member named '__d'
| 103 | &fpregs->__d.__f[regnum - RISCV_FIRST_FP_REGNUM]);
| | ^~~
| ../../gdb-8.3/gdb/riscv-linux-nat.c:105:59: error: 'const prfpregset_t' {aka 'const struct user_fpregs_struct'} has no member named '__d'
| 105 | regcache->raw_supply (RISCV_CSR_FCSR_REGNUM, &fpregs->__d.__fcsr);
| | ^~~
| ../../gdb-8.3/gdb/riscv-linux-nat.c: In function 'void fill_fpregset(const regcache*, prfpregset_t*, int)':
| ../../gdb-8.3/gdb/riscv-linux-nat.c:152:37: error: 'prfpregset_t' {aka 'struct user_fpregs_struct'} has no member named '__d'
| 152 | regcache->raw_collect (i, &fpregs->__d.__f[i - RISCV_FIRST_FP_REGNUM]);
| | ^~~
| ../../gdb-8.3/gdb/riscv-linux-nat.c:154:62: error: 'prfpregset_t' {aka 'struct user_fpregs_struct'} has no member named '__d'
| 154 | regcache->raw_collect (RISCV_CSR_FCSR_REGNUM, &fpregs->__d.__fcsr);
| | ^~~
| ../../gdb-8.3/gdb/riscv-linux-nat.c:158:16: error: 'prfpregset_t' {aka 'struct user_fpregs_struct'} has no member named '__d'
| 158 | &fpregs->__d.__f[regnum - RISCV_FIRST_FP_REGNUM]);
| | ^~~
| ../../gdb-8.3/gdb/riscv-linux-nat.c:160:60: error: 'prfpregset_t' {aka 'struct user_fpregs_struct'} has no member named '__d'
| 160 | regcache->raw_collect (RISCV_CSR_FCSR_REGNUM, &fpregs->__d.__fcsr);
| | ^~~
| Makefile:1641: recipe for target 'riscv-linux-nat.o' failed
| make[2]: *** [riscv-linux-nat.o] Error 1
| make[2]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl/gdb'
| Makefile:8458: recipe for target 'all-gdb' failed
| make[1]: *** [all-gdb] Error 2
| make[1]: Leaving directory '/builds/gitlab/riscv/meta-riscv/riscv-yocto/build/tmp-musl/work/riscv64-oe-linux-musl/gdb/8.3-r0/build-riscv64-oe-linux-musl'
| Makefile:849: recipe for target 'all' failed
| make: *** [all] Error 2
| WARNING: exit code 1 from a shell command.
|
NOTE: recipe gdb-8.3-r0: task do_compile: Failed
ERROR: Task (/builds/gitlab/riscv/meta-riscv/riscv-yocto/openembedded-core/meta/recipes-devtools/gdb/gdb_8.3.bb:do_compile) failed with exit code '1'
NOTE: recipe sysprof-3.32.0-r0: task do_package: Succeeded
NOTE: recipe gettext-0.19.8.1-r0: task do_package: Succeeded
NOTE: recipe strace-5.2-r0: task do_package: Succeeded
NOTE: recipe gcc-9.2.0-r0: task do_package: Succeeded
NOTE: Tasks Summary: Attempted 4985 tasks of which 4953 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 2 seconds
NOTE: Build completion summary:
NOTE: do_populate_sysroot: 0.0% sstate reuse(0 setscene, 4 scratch)
NOTE: do_package: 0.0% sstate reuse(0 setscene, 4 scratch)
Summary: 1 task failed:
/builds/gitlab/riscv/meta-riscv/riscv-yocto/openembedded-core/meta/recipes-devtools/gdb/gdb_8.3.bb:do_compile
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
this is my logfile:
log.do_compile.310737.txt
@asb @arunthomas @gurjeet @alistair23 @kraj

libgfortran is not working

I am trying to bitbake libgfortran and getting below error.

ERROR: Error for /source/apps_proc/poky/meta/recipes-devtools/gcc/libgfortran_5.2.bb, dependency ${COMPILERDEP} does not contain ':' character

I am using recipe from https://github.com/openembedded/openembedded-core/blob/master/meta/recipes-devtools/gcc/libgfortran.inc

Steps to reproduce the issue:
bitbake libgfortran

Describe the results you received
ERROR: Error for /source/apps_proc/poky/meta/recipes-devtools/gcc/libgfortran_5.2.bb, dependency ${COMPILERDEP} does not contain ':' character
. Task 'depends' should be specified in the form 'packagename:task'
ERROR: Command execution failed: Exited with 1

Describe the results you expected:
bitbake Libgfortran successful

Please anyone tell me how to fix it.

how to setup bitbake environment without rebuilding from scratch

I have cloned the repository and followed the steps mentioned in README and i was able to build the risc-v cmdline image. But it seems that in order to setup environment to run bitbake again (like after closing the current terminal and/or after rebooting the system) i should run meta-riscv/setup.sh, which cleans the build dir and builds the image from scratch.

  1. Is there anyway to set the bitbake environment for already built image without rebuilding from scratch ?.The readme file only talks about setting up build env to build an image.

  2. I have tried "source openembedded-core/oe-init-build-env " but when run
    "bitbake core-image-full-cmdline" , the system logs-out (all the process the current user owns is getting killed).

  3. Also i have notice that running the command "bitbake core-image-lsb-sdk" causes the same error as mentioned in point 2

I am working on 16.04.1-Ubuntu (64bit). I have cloned the repo to the SSD connected to my system. SSD has enough space (~ 200GB), so the error mentioned in point 2 and 4 is not because of free space availability

Sanity check fails for qemuriscv32 machine

Description

I'm trying to build a 32-bit setup and I'm getting an unexpected error message. I've had this work before but I can't figure out what I'm doing differently this time around.

Steps to reproduce the issue:

  1. Create a new repo according to the README.
  2. Modify auto.conf to target qemuriscv32 instead of qemuriscv64
  3. bitbake core-image-minimal

Describe the results you received:

$ bitbake core-image-minimal
ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    MACHINE=qemuriscv32 is invalid. Please set a valid MACHINE in your local.conf, environment or other configuration file.

Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Describe the results you expected:

The build to run.

Additional information you deem important (e.g. issue happens only occasionally):

$ cat conf/auto.conf 
MACHINE ?= "qemuriscv32"
#IMAGE_FEATURES += "tools-debug"
#IMAGE_FEATURES += "tools-tweaks"
#IMAGE_FEATURES += "dbg-pkgs"
# rootfs for debugging
#IMAGE_GEN_DEBUGFS = "1"
#IMAGE_FSTYPES_DEBUGFS = "tar.gz"
EXTRA_IMAGE_FEATURES_append = " ssh-server-dropbear"
EXTRA_IMAGE_FEATURES_append = " package-management"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
USER_CLASSES ?= "buildstats buildhistory buildstats-summary image-mklibs image-prelink"

require conf/distro/include/no-static-libs.inc
require conf/distro/include/yocto-uninative.inc
require conf/distro/include/security_flags.inc

INHERIT += "uninative"

DISTRO_FEATURES_append = " largefile opengl ptest multiarch wayland pam  systemd "
DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
VIRTUAL-RUNTIME_init_manager = "systemd"
HOSTTOOLS_NONFATAL_append = " ssh"

if I change that qemuriscv32 back to qemuriscv64 it starts building, but I need a 32-bit setup to test QEMU.

Additional details (revisions used, host distro, etc.):

Gentoo... :)

Missing DEPENDS when building SDK

Description

Steps to reproduce the issue:

  1. Build SDK
    build$ bitbake core-image-full-cmdline -c populate_sdk

Describe the results you received:
| /home/ubuntu/riscv-yocto/build/tmp-glibc/work/x86_64-nativesdk-oesdk-linux/gdb-cross-canadian-riscv
64/riscv-r0/git/missing: 81: /home/ubuntu/riscv-yocto/build/tmp-glibc/work/x86_64-nativesdk-oesdk-lin
ux/gdb-cross-canadian-riscv64/riscv-r0/git/missing: bison: not found
| Makefile:2483: recipe for target 'rust-exp.c' failed
| make[2]: *** [rust-exp.c] Error 1
| Makefile:2483: recipe for target 'm2-exp.c' failed
| make[2]: *** [m2-exp.c] Error 1
| WARNING: 'bison' is missing on your system.
| You should only need it if you modified a '.y' file.
| You may want to install the GNU Bison package:
| http://www.gnu.org/software/bison/
| Makefile:2483: recipe for target 'p-exp.c' failed

Describe the results you expected:
Build successfully

Additional details (revisions used, host distro, etc.):
This bug can be fixed by adding dependencies in recipe:
diff --git a/recipes-devtools/gdb/gdb-cross-canadian_riscv.bb b/recipes-devtools/gdb/gdb-cross-canadian_riscv.bb
index 5c79fdd..48daaea 100644
--- a/recipes-devtools/gdb/gdb-cross-canadian_riscv.bb
+++ b/recipes-devtools/gdb/gdb-cross-canadian_riscv.bb
@@ -1,3 +1,4 @@
require recipes-devtools/gdb/gdb-common.inc
require recipes-devtools/gdb/gdb-cross-canadian.inc
require gdb-${PV}.inc
+DEPENDS += " bison-native "

kprobes support to riscv

hello,
we are building the yocto image for riscv with kernel version is 5.4,in that we are tried for enable the all kprobes dependencies but is not working. can anyone conclude me is it there kprobes support for riscv..

thanks,

[Question] stuck to get meta-toolchain package.

Description
This Question may be the issue. I Stuck to get meta-toolchain package when I follow #69 .
So I type bitbake meta-toolchain and return back an error. How can I get meta-toolchain package?
And happy X-mas.

Steps to reproduce the issue:

  1. run setup.sh script.
  2. bitbake meta-toolchain
  3. stuck at gdb-cross-canadian-riscv64

Describe the results you received:

/home/pino/workspace/Opensource/riscv-yocto/build/tmp-glibc/work/x86_64-nativesdk-oesdk-linux/gdb-cross-canadian-riscv64/riscv-r0/git/missing: line 81: bison: command not found
WARNING: 'bison' is missing on your system.
You should only need it if you modified a '.y' file.
You may want to install the GNU Bison package:
http://www.gnu.org/software/bison/

...

Makefile:849: recipe for target 'all' failed
make: *** [all] Error 2
ERROR: oe_runmake failed
WARNING: /home/pino/workspace/Opensource/riscv-yocto/build/tmp-glibc/work/x86_64-nativesdk-oesdk-linux/gdb-cross-canadian-riscv64/riscv-r0/temp/run.do_compile.21026:1 exit 1 from 'exit 1'
ERROR: Function failed: do_compile (log file is located at /home/pino/workspace/Opensource/riscv-yocto/build/tmp-glibc/work/x86_64-nativesdk-oesdk-linux/gdb-cross-canadian-riscv64/riscv-r0/temp/log.do_compile.21026)

I attach error log log.do_compile.21026 here
meta-toolchain_buildlog.txt

Describe the results you expected:
get toolchain packaget

Additional details (revisions used, host distro, etc.):

NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.40.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "riscv64-oe-linux"
MACHINE = "qemuriscv64"
DISTRO = "nodistro"
DISTRO_VERSION = "nodistro.0"
TUNE_FEATURES = "riscv64 littleendian"
meta = "work:95659bed3f6f3216b346f70cfc9ffae9788c0fc1"
meta-oe
meta-multimedia
meta-python
meta-networking = "work:e052ea1b7494715d95c88c81746a987452707282"
meta-riscv = "HEAD:5b1e9f2fe01430891b94bd43e914397680d0c3d6"

libxshmfence can not be built on rv32

Hi, I want to install vim in my qemuriscv32 machine.
I already asked about it and got the answer.
I added IMAGE_INSTALL_append = " vim" in local.conf, but the following error is appeared.

ERROR: libxshmfence-1.3-r0 do_compile: oe_runmake failed
ERROR: libxshmfence-1.3-r0 do_compile: Execution of '/home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0/temp/run.do_compile.1897' failed with exit code 1:
make  all-recursive
make[1]: Entering directory '/home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0/build'
Making all in src
make[2]: Entering directory '/home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0/build/src'
../riscv32-oe-linux-libtool  --tag=CC   --mode=compile riscv32-oe-linux-gcc    -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../libxshmfence-1.3/src -I..    -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0=/usr/src/debug/libxshmfence/1.3-r0                      -fdebug-prefix-map=/home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0=/usr/src/debug/libxshmfence/1.3-r0                      -fdebug-prefix-map=/home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0/recipe-sysroot=                      -fdebug-prefix-map=/home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0/recipe-sysroot-native=   -fvisibility=hidden -c -o xshmfence_alloc.lo ../../libxshmfence-1.3/src/xshmfence_alloc.c
../riscv32-oe-linux-libtool  --tag=CC   --mode=compile riscv32-oe-linux-gcc    -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../libxshmfence-1.3/src -I..    -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0=/usr/src/debug/libxshmfence/1.3-r0                      -fdebug-prefix-map=/home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0=/usr/src/debug/libxshmfence/1.3-r0                      -fdebug-prefix-map=/home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0/recipe-sysroot=                      -fdebug-prefix-map=/home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0/recipe-sysroot-native=   -fvisibility=hidden -c -o xshmfence_futex.lo ../../libxshmfence-1.3/src/xshmfence_futex.c
riscv32-oe-linux-libtool: compile:  riscv32-oe-linux-gcc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../libxshmfence-1.3/src -I.. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0=/usr/src/debug/libxshmfence/1.3-r0 -fdebug-prefix-map=/home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0=/usr/src/debug/libxshmfence/1.3-r0 -fdebug-prefix-map=/home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0/recipe-sysroot= -fdebug-prefix-map=/home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0/recipe-sysroot-native= -fvisibility=hidden -c ../../libxshmfence-1.3/src/xshmfence_alloc.c  -fPIC -DPIC -o .libs/xshmfence_alloc.o
riscv32-oe-linux-libtool: compile:  riscv32-oe-linux-gcc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../libxshmfence-1.3/src -I.. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0=/usr/src/debug/libxshmfence/1.3-r0 -fdebug-prefix-map=/home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0=/usr/src/debug/libxshmfence/1.3-r0 -fdebug-prefix-map=/home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0/recipe-sysroot= -fdebug-prefix-map=/home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0/recipe-sysroot-native= -fvisibility=hidden -c ../../libxshmfence-1.3/src/xshmfence_futex.c  -fPIC -DPIC -o .libs/xshmfence_futex.o
In file included from ../../libxshmfence-1.3/src/xshmfenceint.h:32,
                 from ../../libxshmfence-1.3/src/xshmfence_alloc.c:27:
../../libxshmfence-1.3/src/xshmfence_futex.h: In function 'sys_futex':
../../libxshmfence-1.3/src/xshmfence_futex.h:58:17: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'?
   58 |  return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3);
      |                 ^~~~~~~~~
      |                 sys_futex
../../libxshmfence-1.3/src/xshmfence_futex.h:58:17: note: each undeclared identifier is reported only once for each function it appears in
../../libxshmfence-1.3/src/xshmfence_alloc.c: At top level:
../../libxshmfence-1.3/src/xshmfence_alloc.c:51: warning: "MFD_CLOEXEC" redefined
   51 | #define MFD_CLOEXEC  0x0001U
      |
In file included from /home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0/recipe-sysroot/usr/include/bits/mman-linux.h:113,
                 from /home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0/recipe-sysroot/usr/include/bits/mman.h:32,
                 from /home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0/recipe-sysroot/usr/include/sys/mman.h:41,
                 from ../../libxshmfence-1.3/src/xshmfenceint.h:28,
                 from ../../libxshmfence-1.3/src/xshmfence_alloc.c:27:
/home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0/recipe-sysroot/usr/include/bits/mman-shared.h:30: note: this is the location of the previous definition
   30 | #  define MFD_CLOEXEC 1U
      |
../../libxshmfence-1.3/src/xshmfence_alloc.c:52: warning: "MFD_ALLOW_SEALING" redefined
   52 | #define MFD_ALLOW_SEALING 0x0002U
      |
In file included from /home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0/recipe-sysroot/usr/include/bits/mman-linux.h:113,
                 from /home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0/recipe-sysroot/usr/include/bits/mman.h:32,
                 from /home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0/recipe-sysroot/usr/include/sys/mman.h:41,
                 from ../../libxshmfence-1.3/src/xshmfenceint.h:28,
                 from ../../libxshmfence-1.3/src/xshmfence_alloc.c:27:
/home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0/recipe-sysroot/usr/include/bits/mman-shared.h:31: note: this is the location of the previous definition
   31 | #  define MFD_ALLOW_SEALING 2U
      |
Makefile:482: recipe for target 'xshmfence_alloc.lo' failed
make[2]: *** [xshmfence_alloc.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from ../../libxshmfence-1.3/src/xshmfenceint.h:32,
                 from ../../libxshmfence-1.3/src/xshmfence_futex.c:27:
../../libxshmfence-1.3/src/xshmfence_futex.h: In function 'sys_futex':
../../libxshmfence-1.3/src/xshmfence_futex.h:58:17: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'?
   58 |  return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3);
      |                 ^~~~~~~~~
      |                 sys_futex
../../libxshmfence-1.3/src/xshmfence_futex.h:58:17: note: each undeclared identifier is reported only once for each function it appears in
../../libxshmfence-1.3/src/xshmfence_futex.h:59:1: error: control reaches end of non-void function [-Werror=return-type]
   59 | }
      | ^
cc1: some warnings being treated as errors
Makefile:482: recipe for target 'xshmfence_futex.lo' failed
make[2]: *** [xshmfence_futex.lo] Error 1
make[2]: Leaving directory '/home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0/build/src'
Makefile:496: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0/build'
Makefile:405: recipe for target 'all' failed
make: *** [all] Error 2
WARNING: exit code 1 from a shell command.

ERROR: Logfile of failure stored in: /home/ca2020/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libxshmfence/1.3-r0/temp/log.do_compile.1897

ERROR: Task (/home/ca2020/riscv-yocto/openembedded-core/meta/recipes-graphics/xorg-lib/libxshmfence_1.3.bb:do_compile) failed with exit code '1'

How can I solve this problem?

SDK doesn't work

Description

Steps to reproduce the issue:

  1. Build SDK
    ~/riscv-yocto/build$ bitbake core-image-full-cmdline -c populate_sdk
  2. Extract SDK
~/riscv-yocto/build$ cd tmp-glibc/deploy/sdk
~/riscv-yocto/build/tmp-glibc/deploy/sdk$ ./oecore-x86_64-riscv64-toolchain-nodistro.0.sh
  1. Build a Debian package by SDK (Ex: flex package)
$ source /opt/x86_64-riscv64-toolchain/environment-setup-riscv64-oe-linux
$ apt-get source flex
$ cd flext-2.5.39
$ ./configure --host=riscv64-unknown-linux CC=riscv64-oe-linux-gcc BUILD_CC=riscv64-oe-linux-gcc CXX=riscv64-oe-linux-g++ BUILD_CXX=riscv64-oe-linux-g++ AR=riscv64-oe-linux-ar RANLIB=riscv64-oe-linux-ranlib LD=riscv64-oe-linux-ld ARCH=riscv64

Describe the results you received:
Configuration failed.

configure: loading site script /opt/x86_64-riscv64-toolchain/site-config-riscv64-oe-linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for riscv64-unknown-linux-strip... riscv64-oe-linux-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for style of include used by make... GNU
checking for riscv64-unknown-linux-gcc... riscv64-oe-linux-gcc
checking whether the C compiler works... no
configure: error: in /home/viosoft/test/flex-2.5.39': configure: error: C compiler cannot create executables See config.log' for more details

Describe the results you expected:
Run configuration successfully

Additional information you deem important (e.g. issue happens only occasionally):

Additional details (revisions used, host distro, etc.):

[qemuriscv64] u-boot do_configure, do_deploy fail issue

Description
bitbake u-boot fail at do_configure.
I think @alistair23 send PR to fix it (relate #137)
Am i right?

Steps to reproduce the issue:

  1. regular setup as we know.(I followed readme)
  2. . ./meta-riscv/setup.sh
  3. bitbake core-image-sato

Describe the results you received:

ERROR: u-boot-1_2019.04-r0 do_configure: Function failed: do_configure (log file is located at /home/pino/workspace/Opensource/RISCV/riscv-yocto/build/tmp-glibc/work/qemuriscv64-oe-linux/u-boot/1_2019.04-r0/temp/log.do_configure.30883)
ERROR: Logfile of failure stored in: /home/pino/workspace/Opensource/RISCV/riscv-yocto/build/tmp-glibc/work/qemuriscv64-oe-linux/u-boot/1_2019.04-r0/temp/log.do_configure.30883
Log data follows:
| DEBUG: Executing shell function do_configure
| mkimage: Can't stat /home/pino/workspace/Opensource/RISCV/riscv-yocto/build/tmp-glibc/work/qemuriscv64-oe-linux/u-boot/1_2019.04-r0/.txt: No such file or directory
| WARNING: /home/pino/workspace/Opensource/RISCV/riscv-yocto/build/tmp-glibc/work/qemuriscv64-oe-linux/u-boot/1_2019.04-r0/temp/run.do_configure.30883:1 exit 1 from 'mkimage -A arm -O linux -T script -C none -n "U-Boot boot script" -d /home/pino/workspace/Opensource/RISCV/riscv-yocto/build/tmp-glibc/work/qemuriscv64-oe-linux/u-boot/1_2019.04-r0/.txt /home/pino/workspace/Opensource/RISCV/riscv-yocto/build/tmp-glibc/work/qemuriscv64-oe-linux/u-boot/1_2019.04-r0/boot.scr.uimg'
| ERROR: Function failed: do_configure (log file is located at /home/pino/workspace/Opensource/RISCV/riscv-yocto/build/tmp-glibc/work/qemuriscv64-oe-linux/u-boot/1_2019.04-r0/temp/log.do_configure.30883)
ERROR: Task (/home/pino/workspace/Opensource/RISCV/riscv-yocto/openembedded-core/meta/recipes-bsp/u-boot/u-boot_2019.04.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4073 tasks of which 4072 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory

Summary: 1 task failed:
  /home/pino/workspace/Opensource/RISCV/riscv-yocto/openembedded-core/meta/recipes-bsp/u-boot/u-boot_2019.04.bb:do_configure
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Describe the results you expected:
Not expect build fail at u-boot. Maybe?

Additional information you deem important (e.g. issue happens only occasionally):

Build Configuration:
BB_VERSION           = "1.43.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "riscv64-oe-linux"
MACHINE              = "qemuriscv64"
DISTRO               = "nodistro"
DISTRO_VERSION       = "nodistro.0"
TUNE_FEATURES        = "riscv64 littleendian"
meta                 = "work:e79f0db0745625b35dd83483747e486d08eebfde"
meta-oe              
meta-multimedia      
meta-python          
meta-networking      = "work:50108c18e5ca21cc5c014a45b81c66c5b110fc8b"
meta-riscv           = "work:9e781551e58f5cf53f0fc489b2b8bd12cc0eb722"

Additional details (revisions used, host distro, etc.):
host : ubuntu 18.04 amd 64bit

How can host route the ssh connection to riscv32 virtual machine ?

I can't find the way to route ssh to riscv32 virtual machine.

I can connect to virtual machine from only local host now.

I want to connect to virtual machine from remote machine.

For example, machine A hosts the riscv32 virtual machine and I want to connect to the virtual machine from remote machine "machine B" via ssh.

To do that, port routing on machine A seems to be necessary.
So I tried to add "hostfwd=tcp::10000-:22" at
riscv-yocto/build/tmp-glibc/deploy/images/qemuriscv32/core-image-full-cmdline-qemuriscv32-20200114134928.qemuboot.conf file.
But runqemu says hostfwd is invalid option. (redir option as well)
(Even if I add sshd to my image via adding EXTRA_IMAGE_FEATURES_append = " ssh-server-dropbear" in local.conf )

In short, the following is what I want.
when I try to connect to port x on the host machine A via ssh , I want the connection to be routed to virtual machine.

I would appreciate it if you could let me know what to do.

qemuriscv32 : core-image-full-cmdline build fail

Description
Thanks to @alistair23 support qemuriscv32.
I builded it today. I met some error in do_compile libgpg-error
I guess current build fail is occured by has no lock-obj-pub.riscv32-unknown-linux-gnu.h in libgpg-error
(Only lock-obj-pub.riscv64-unknown-linux-gnu.h)

Steps to reproduce the issue:

  1. . ./meta-riscv/setup.sh
  2. replace MACHINE="qemuriscv64" to MACHINE="qemuriscv32"
  3. bitbakae core-image-full-cmdline -k

Describe the results you received:

ERROR: libgpg-error-1.32-r0 do_compile: Function failed: do_compile (log file is located at /home/pino/workspace/opensource/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libgpg-error/1.32-r0/temp/log.do_compile.130692)
ERROR: Logfile of failure stored in: /home/pino/workspace/opensource/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libgpg-error/1.32-r0/temp/log.do_compile.130692
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'riscv-common', 'common-linux', 'common-glibc', 'riscv32-linux', 'riscv32-linux', 'common']
| DEBUG: Executing shell function do_compile
| cp: cannot stat '/home/pino/workspace/opensource/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libgpg-error/1.32-r0/libgpg-error-1.32/src/syscfg/lock-obj-pub.riscv32-unknown-linux-gnu.h': No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/pino/workspace/opensource/riscv-yocto/build/tmp-glibc/work/riscv32-oe-linux/libgpg-error/1.32-r0/temp/log.do_compile.130692)
ERROR: Task (/home/pino/workspace/opensource/riscv-yocto/openembedded-core/meta/recipes-support/libgpg-error/libgpg-error_1.32.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 970 tasks of which 969 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory

Summary: 1 task failed:
/home/pino/workspace/opensource/riscv-yocto/openembedded-core/meta/recipes-support/libgpg-error/libgpg-error_1.32.bb:do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Describe the results you expected:

  • build fine, runqemu fine

Additional information you deem important (e.g. issue happens only occasionally):

Build Configuration:
BB_VERSION = "1.40.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "riscv32-oe-linux"
MACHINE = "qemuriscv32"
DISTRO = "nodistro"
DISTRO_VERSION = "nodistro.0"
TUNE_FEATURES = "riscv32 littleendian"
meta = "work:21387613fec1a8c142ed48d7a74d587e205b0c98"
meta-oe
meta-multimedia
meta-python
meta-networking = "work:9a64b3805de82c813d89de92163129a84c2ebf97"
meta-riscv = "HEAD:51ebe0bf47c95933481c371ae66dde6ad46977f6"

Initialising tasks: 100% |############################################################| Time: 0:00:01
Sstate summary: Wanted 5 Found 0 Missed 5 Current 188 (0% match, 97% complete)

Cross compile fortran failed

Description
I tried to bitbake lapack, it depends on libgfortran, but nothing provides 'libgfortran'

Steps to reproduce the issue:

  1. build$ bitbake lapack

Describe the results you received:
ERROR: Nothing PROVIDES 'libgfortran' (but /home/ubuntu/riscv-yocto/meta-openembedded/meta-oe/recipes-devtools/lapack/lapack_3.8.0.bb DEPENDS on or otherwise requires it)
libgfortran was skipped: libgfortran needs fortran support to be enabled in the compiler
ERROR: Required build target 'lapack' has no buildable providers.
Missing or unbuildable dependency chain was: ['lapack', 'libgfortran']

Describe the results you expected:
Bitbake successfully

Additional information you deem important (e.g. issue happens only occasionally):

Additional details (revisions used, host distro, etc.):

Install vim and bash to riscv 32bit machine

How can I install vim and bash to riscv 32bit machine?

In current state, when I triedlscommand, directories, executables, and regular files are the same color.
And when I open the *.c file, all the code is white color.
So I want to install vim and color my code in riscv 32bit machine.

qemuriscv32 kernel panic when tools-sdk installed

Hi, I tried to make riscv32 virtual machine and it was successful.

But when I tried to install tools-sdk additionally for gcc, the kernel panic is occurred and the virtual machine stop booting.

I add the following line in local.conf
EXTRA_IMAGE_FEATURES_append = " tools-debug tools-sdk dbg-pkgs ssh-server-openssh"

MACHINE=qemuriscv32 bitbake core-image-full-cmdline works well and seems to be no problem.
But MACHINE=qemuriscv32 runqemu nographic slirp does not work. It hang with kernel panic during boot.

[    4.281021] Run /sbin/init as init process
FATAL: kernel too old
[    4.331408] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
[    4.331792] CPU: 0 PID: 1 Comm: init Not tainted 5.2.28-yocto-standard #1
[    4.332170] Call Trace:
[    4.332411] [<c0052a9e>] walk_stackframe+0x0/0xa6
[    4.332637] [<c0052c74>] show_stack+0x28/0x32
[    4.332841] [<c0664372>] dump_stack+0x6e/0x8a
[    4.333021] [<c0057e6c>] panic+0xee/0x26e
[    4.333195] [<c005b0b8>] do_exit+0x784/0x7ea
[    4.333410] [<c005b172>] do_group_exit+0x2a/0x82
[    4.333599] [<c005b1dc>] __wake_up_parent+0x0/0x22
[    4.333779] [<c00515e6>] ret_from_syscall+0x0/0xe
[    4.334288] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00 ]---

Is there another way to add gcc in qemuriscv32 vm?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.