Building of warrior branch fails when building with Ubuntu 20.04 LTS #qemu #yocto #linux
Hello ,
we are using the warrior branch for our embedded Linux project. Since Ubuntu 20.04 LTS has been released we would like to switch from 18.04 to 20.04. However, Ubuntu 20.04 now uses glibc-2.31 where the stime function has been replaced. Therefore the build process of qmu-native-3.1.1.1 fails with the following error code:
/opt/ti/tq-yocto/build/tmp/hosttools/ld.bfd: linux-user/syscall.o: in function do_syscall1': | /opt/ti/tq-yocto/build/tmp/work/x86_64-linux/qemu-native/3.1.1.1-r0/qemu-3.1.1.1/linux-user/syscall.c:7404: undefined reference to stime'
Is there a work around?
Thanks a lot for your help,
Bernd
Howdy!
Am Di., 21. Juli 2020 um 09:07 Uhr schrieb Bernd <[email protected]>:
Quoted 8 lines
Hello,
we are using the warrior branch for our embedded Linux project. Since Ubuntu 20.04 LTS has been released we would like to switch from 18.04 to 20.04. However, Ubuntu 20.04 now uses glibc-2.31 where the stime function has been replaced. Therefore the build process of qmu-native-3.1.1.1 fails with the following error code:
/opt/ti/tq-yocto/build/tmp/hosttools/ld.bfd:linux-user/syscall.o: in functiondo_syscall1': | /opt/ti/tq-yocto/build/tmp/work/x86_64-linux/qemu-native/3.1.1.1-r0/qemu-3.1.1.1/linux-user/syscall.c:7404: undefined reference tostime'Is there a work around?
The usual approach is to build inside a defined container, like pyrex or CROPS, for example.
Greetz
Quoted 5 lines
Thanks a lot for your help,
Bernd
You can backport
https://git.openembedded.org/openembedded-core/commit/?h=dunfell&id=2cca75155baec8358939e2aae822e256bed4cfe0
Quoted 19 lines · Bernd
Hello,
we are using the warrior branch for our embedded Linux project. Since Ubuntu 20.04 LTS has been released we would like to switch from 18.04 to 20.04. However, Ubuntu 20.04 now uses glibc-2.31 where the stime function has been replaced. Therefore the build process of qmu-native-3.1.1.1 fails with the following error code:
/opt/ti/tq-yocto/build/tmp/hosttools/ld.bfd:linux-user/syscall.o: in
function `do_syscall1': |/opt/ti/tq-yocto/build/tmp/work/x86_64-linux/qemu-native/3.1.1.1-r0/qemu-3.1.1.1/linux-user/syscall.c:7404:
undefined reference to `stime'Is there a work around?
Thanks a lot for your help,
Bernd
Hello Martin and Josef,
I will try to include the patch in a append-recipe... Thanks a lot for your help,
Bernd
Re: Building of warrior branch fails when building with Ubuntu 20.04 LTS #linux #qemu #yocto
Hello Bernd,
I am facing same issue. Did the patch worked for you? I tried to apply the patch and still have the same issue.
Thanks in advance