[Buildroot] [PATCH v2 2/2] configs/qemu_riscv32_virt: Update to 5.1 kernel

Mark Corbin mark.corbin at embecosm.com
Thu Jun 20 17:13:24 UTC 2019


Hello Alistair

On 20/06/2019 18:01, Alistair Francis wrote:
> On Thu, Jun 20, 2019 at 6:57 AM Thomas Petazzoni
> <thomas.petazzoni at bootlin.com> wrote:
>> On Wed, 19 Jun 2019 09:54:06 -0700
>> Alistair Francis <alistair.francis at wdc.com> wrote:
>>
>>>  # Kernel
>>>  BR2_LINUX_KERNEL=y
>>>  BR2_LINUX_KERNEL_CUSTOM_VERSION=y
>>> -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.20.17"
>>> -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
>>> -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/riscv32-virt/linux.config.fragment"
>>> +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.1.12"
>>> +BR2_LINUX_KERNEL_DEFCONFIG="rv32"
>>> +BR2_LINUX_KERNEL_PATCH="board/qemu/riscv32-virt/0001-Revert-riscv-Use-latest-system-call-ABI.patch"
>> We prefer using the BR2_GLOBAL_PATCH_DIR mechanism nowadays, so I've
>> adjusted your patch to use that and applied. Thanks!
> The BR2_GLOBAL_PATCH_DIR system looks really cool, I'll be sure to use
> that next time. Thanks
>
> Alistair

I can't get the updated 32-bit QEMU configuration to build - there is a
problem with glibc...

In file included from ../sysdeps/unix/sysv/linux/lowlevellock-futex.h:23:0,
                 from ../sysdeps/nptl/lowlevellock.h:23,
                 from ../sysdeps/nptl/libc-lockP.h:33,
                 from ../sysdeps/nptl/libc-lock.h:184,
                 from gconv_db.c:26:
gconv_db.c: In function '__gconv_find_transform':
../sysdeps/unix/sysv/linux/riscv/sysdep.h:120:31: error: '__NR_futex'
undeclared (first use in this function); did you mean
 '__futex'?

The updated 64-bit version works without any problems.

Is there an issue with the patch revert for glibc?

Thanks

Mark

-- 
Mark Corbin
Embecosm Ltd.
https://www.embecosm.com



More information about the buildroot mailing list