All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [yocto] Building of warrior branch fails when building with Ubuntu 20.04 LTS #qemu #yocto #linux
  2020-07-21  7:07 Building of warrior branch fails when building with Ubuntu 20.04 LTS #qemu #yocto #linux Bernd
@ 2020-07-21  5:14 ` Josef Holzmayr-Khosh Amoz
  2020-07-21  8:24 ` Martin Jansa
  1 sibling, 0 replies; 5+ messages in thread
From: Josef Holzmayr-Khosh Amoz @ 2020-07-21  5:14 UTC (permalink / raw)
  To: Bernd; +Cc: yocto

Howdy!

Am Di., 21. Juli 2020 um 09:07 Uhr schrieb Bernd <bsp@swissqprint.com>:
>
> 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?

The usual approach is to build inside a defined container, like pyrex
or CROPS, for example.

Greetz

>
> Thanks a lot for your help,
> Bernd
>
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Building of warrior branch fails when building with Ubuntu 20.04 LTS #qemu #yocto #linux
@ 2020-07-21  7:07 Bernd
  2020-07-21  5:14 ` [yocto] " Josef Holzmayr-Khosh Amoz
  2020-07-21  8:24 ` Martin Jansa
  0 siblings, 2 replies; 5+ messages in thread
From: Bernd @ 2020-07-21  7:07 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 638 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 735 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [yocto] Building of warrior branch fails when building with Ubuntu 20.04 LTS #qemu #yocto #linux
  2020-07-21  7:07 Building of warrior branch fails when building with Ubuntu 20.04 LTS #qemu #yocto #linux Bernd
  2020-07-21  5:14 ` [yocto] " Josef Holzmayr-Khosh Amoz
@ 2020-07-21  8:24 ` Martin Jansa
  2020-07-22 13:52   ` Bernd
  1 sibling, 1 reply; 5+ messages in thread
From: Martin Jansa @ 2020-07-21  8:24 UTC (permalink / raw)
  To: Bernd; +Cc: Yocto-mailing-list

[-- Attachment #1: Type: text/plain, Size: 881 bytes --]

You can backport
https://git.openembedded.org/openembedded-core/commit/?h=dunfell&id=2cca75155baec8358939e2aae822e256bed4cfe0

On Tue, Jul 21, 2020 at 9:07 AM Bernd <bsp@swissqprint.com> wrote:

> 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
> 
>

[-- Attachment #2: Type: text/html, Size: 1333 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Building of warrior branch fails when building with Ubuntu 20.04 LTS #qemu #yocto #linux
  2020-07-21  8:24 ` Martin Jansa
@ 2020-07-22 13:52   ` Bernd
  2022-02-03  9:33     ` Building of warrior branch fails when building with Ubuntu 20.04 LTS #linux #qemu #yocto Sourabh Hegde
  0 siblings, 1 reply; 5+ messages in thread
From: Bernd @ 2020-07-22 13:52 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 116 bytes --]

Hello Martin and Josef,
I will try to include the patch in a append-recipe...
Thanks a lot for your help,
Bernd

[-- Attachment #2: Type: text/html, Size: 128 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Building of warrior branch fails when building with Ubuntu 20.04 LTS #linux #qemu #yocto
  2020-07-22 13:52   ` Bernd
@ 2022-02-03  9:33     ` Sourabh Hegde
  0 siblings, 0 replies; 5+ messages in thread
From: Sourabh Hegde @ 2022-02-03  9:33 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 150 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 166 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-02-03  9:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-21  7:07 Building of warrior branch fails when building with Ubuntu 20.04 LTS #qemu #yocto #linux Bernd
2020-07-21  5:14 ` [yocto] " Josef Holzmayr-Khosh Amoz
2020-07-21  8:24 ` Martin Jansa
2020-07-22 13:52   ` Bernd
2022-02-03  9:33     ` Building of warrior branch fails when building with Ubuntu 20.04 LTS #linux #qemu #yocto Sourabh Hegde

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.