Re: [OE-core] [yocto] Y2038 proposal

2022-12-01 Thread ?ukasz Majewski
Hi Alexander, > On Wed, 30 Nov 2022 at 09:28, Lukasz Majewski wrote: > > 2. There are ptest available [2] to validate if the Y2038 problem > > works correctly. > > > > 3. Support for running ptests mentioned in point 2. is already > > available in the poky repository [3]. > > I just ran these

Re: [OE-core] [Openembedded-architecture] Y2038 proposal

2022-11-30 Thread ?ukasz Majewski
Hi Richard, > On Wed, 2022-11-30 at 09:07 +0100, Alexander Kanavin wrote: > > On Tue, 29 Nov 2022 at 16:45, Stephen Jolley > > wrote: > > > We’d welcome a proposal/series on how to move forward with the > > > Y2038 work for 32 bit platforms. > > > > I have the following proposal: > > > >

Re: [OE-core] [yocto] Y2038 proposal

2022-11-30 Thread ?ukasz Majewski
On Wed, 30 Nov 2022 13:07:27 +0100 "Alexander Kanavin" wrote: > On Wed, 30 Nov 2022 at 12:40, Richard Purdie > wrote: > > > To be clear, we don't run ptests on 32 bit targets, only on > > qemux86-64 and qemuarm64 where we have KVM available. We do run > > image, sdk and eSDK tests on our

Re: [OE-core] [yocto] Y2038 proposal

2022-11-30 Thread ?ukasz Majewski
Hi Alexander, > On Wed, 30 Nov 2022 at 09:28, Lukasz Majewski wrote: > > Please find a few comments: > > > > 1. There is already provided meta-y2038 [1] to test if 32 bit > > systems correctly support Y2038 problem. It uses qemu machines from > > OE/Yocto > > > > 2. There are ptest available [2]

Re: [OE-core] [yocto] Y2038 proposal

2022-11-30 Thread ?ukasz Majewski
Hi Alexander, > On Tue, 29 Nov 2022 at 16:45, Stephen Jolley > wrote: > > We’d welcome a proposal/series on how to move forward with the > > Y2038 work for 32 bit platforms. > > I have the following proposal: > > 1. A branch is made where: > a. "-D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64" is

Re: [OE-core] [PATCH v4] glibc: ptest: Add running glibc time related test suite (Y2038) with ptest

2021-11-12 Thread ?ukasz Majewski
Hi Richard, Khem > On Thu, 2021-11-11 at 05:51 -0800, Khem Raj wrote: > > On Tue, Nov 9, 2021 at 7:29 AM Lukasz Majewski > > wrote: > > > > > > This patch introduces new recipe - namely 'glibc-tests', which > > > builds and installs time related (to check if Y2038 support > > > works) glibc

Re: [OE-core] [PATCH v4] glibc: ptest: Add running glibc time related test suite (Y2038) with ptest

2021-11-12 Thread ?ukasz Majewski
Hi Khem, > seeing this > > https://errors.yoctoproject.org/Errors/Details/616955/ The error is about autoconf version: DEBUG: Executing shell function do_configure aclocal.m4:6: error: Exactly version 2.69 of Autoconf is required but you have 2.71 aclocal.m4:6: the top level autom4te: error:

[OE-core] [PATCH v4] glibc: ptest: Add running glibc time related test suite (Y2038) with ptest

2021-11-09 Thread ?ukasz Majewski
This patch introduces new recipe - namely 'glibc-tests', which builds and installs time related (to check if Y2038 support works) glibc test suite to OE/Yocto built image. It reuses code from already available 'glibc-testsuite' recipe, which is run with 'bitbake glibc-testsuite -c check' and uses

Re: [OE-core] [PATCH v3] glibc: ptest: Add running glibc time related test suite (Y2038) with ptest

2021-11-09 Thread ?ukasz Majewski
io > > I will fix them and prepare v4. > > >-Original Message- > >From: openembedded-core@lists.openembedded.org >c...@lists.openembedded.org> On Behalf Of ?ukasz Majewski > >Sent: Tuesday, 9 November, 2021 12:31 AM > >To: Alexandre Belloni > >Cc:

Re: [OE-core] [PATCH v3] glibc: ptest: Add running glibc time related test suite (Y2038) with ptest

2021-11-08 Thread ?ukasz Majewski
HINE=qemuarm64 bitbake core-image-ptest-all -c populate_sdk but no warnings were observed. Thanks in advance. > > On 28/10/2021 14:00:20+0200, ?ukasz Majewski wrote: > > This patch introduces new recipe - namely 'glibc-tests', which > > builds and installs time related (to check

Re: [OE-core] [PATCH v3] glibc: ptest: Add running glibc time related test suite (Y2038) with ptest

2021-11-08 Thread ?ukasz Majewski
Dear Community, > This patch introduces new recipe - namely 'glibc-tests', which > builds and installs time related (to check if Y2038 support works) > glibc test suite to OE/Yocto built image. > > It reuses code from already available 'glibc-testsuite' recipe, > which is run with 'bitbake

[OE-core] [PATCH v3] glibc: ptest: Add running glibc time related test suite (Y2038) with ptest

2021-10-28 Thread ?ukasz Majewski
This patch introduces new recipe - namely 'glibc-tests', which builds and installs time related (to check if Y2038 support works) glibc test suite to OE/Yocto built image. It reuses code from already available 'glibc-testsuite' recipe, which is run with 'bitbake glibc-testsuite -c check' and uses

Re: [OE-core] [PATCH v2] glibc: ptest: Add running glibc time related test suite (Y2038) with ptest

2021-10-28 Thread ?ukasz Majewski
Hi Alexandre, > Hello, > > I'm sorry for the late reply but this still failed on the AB: > > https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/2719/steps/11/logs/stdio > Thanks for the info. I will fix it and submit v3. > On 19/10/2021 14:43:00+0200,

Re: [OE-core] [PATCH v2] dl: Use "adr" assembler command to get proper load address on ARM

2021-10-26 Thread ?ukasz Majewski
Hi Joseph, Szabolcs > On Mon, 25 Oct 2021, Szabolcs Nagy via Libc-alpha wrote: > > > ok, i think we need the patches upstream for that like > > https://sourceware.org/pipermail/libc-alpha/2015-November/066153.html > > > > The AArch64 prelink support isn't in the upstream Yocto >

Re: [OE-core] [PATCH v2] dl: Use "adr" assembler command to get proper load address on ARM

2021-10-25 Thread ?ukasz Majewski
Hi Szabolcs, > The 10/25/2021 16:04, Lukasz Majewski wrote: > > > > > Either fix the prelink tool not to prelink shared objects > > > > > that do not have a dependency on libc.so.6, or fix the > > > > > dynamic loader to work if prelinked on AArch64. > > > > > > > > Just for the correctness

Re: [OE-core] [PATCH v2] dl: Use "adr" assembler command to get proper load address on ARM

2021-10-25 Thread ?ukasz Majewski
Hi Szabolcs, > The 10/25/2021 12:53, Lukasz Majewski wrote: > > Hi Florian, > > > > > * Lukasz Majewski: > > > > > > > Do we have any idea on how to move forward with this issue? > > > > > > Either fix the prelink tool not to prelink shared objects that do > > > not have a dependency

Re: [OE-core] [PATCH v2] dl: Use "adr" assembler command to get proper load address on ARM

2021-10-25 Thread ?ukasz Majewski
Hi Florian, > * Lukasz Majewski: > > > Do we have any idea on how to move forward with this issue? > > Either fix the prelink tool not to prelink shared objects that do not > have a dependency on libc.so.6, or fix the dynamic loader to work if > prelinked on AArch64. Just for the correctness

Re: [OE-core] [PATCH v2] dl: Use "adr" assembler command to get proper load address on ARM

2021-10-25 Thread ?ukasz Majewski
Dear Community, > * Szabolcs Nagy: > > > i don't know much about pelinking, but i'd expect that ld.so > > has to be prelinked for it to work: > > > > if the kernel can load ld.so anywhere it will conflict with > > other libraries that prelinking allocated to a fixed location. > > I think

[OE-core] [PATCH v2] glibc: ptest: Add running glibc time related test suite (Y2038) with ptest

2021-10-19 Thread ?ukasz Majewski
This patch introduces new recipe - namely 'glibc-tests', which builds and installs time related (to check if Y2038 support works) glibc test suite to OE/Yocto built image. It reuses code from already available 'glibc-testsuite' recipe, which is run with 'bitbake glibc-testsuite -c check' and uses

Re: [OE-core] [PATCH v2] dl: Use "adr" assembler command to get proper load address on ARM

2021-10-19 Thread ?ukasz Majewski
Hi Florian, > * Szabolcs Nagy: > > > i don't know much about pelinking, but i'd expect that ld.so > > has to be prelinked for it to work: > > > > if the kernel can load ld.so anywhere it will conflict with > > other libraries that prelinking allocated to a fixed location. > > I think ld.so

Re: [OE-core] [PATCH v2] dl: Use "adr" assembler command to get proper load address on ARM

2021-10-15 Thread ?ukasz Majewski
On Fri, 15 Oct 2021 05:21:23 -0700 "H.J. Lu" wrote: > On Fri, Oct 15, 2021 at 5:09 AM Szabolcs Nagy via Libc-alpha > wrote: > > > > The 10/15/2021 09:54, Lukasz Majewski wrote: > > > This change is a partial revert of commit > > > bca0f5cbc9257c13322b99e55235c4f21ba0bd82 > > > "arm: Simplify

[OE-core] Problem with glibc-locale recipe in yocto after the generic C.UTF-8 locale were introduced in glibc

2021-10-13 Thread ?ukasz Majewski
Hi Carlos, I would like to report that the commit: https://sourceware.org/git/?p=glibc.git;a=commit;h=466f2be6c08070e9113ae2fdc7acd5d8828cba50 "Add generic C.UTF-8 locale (Bug 17318)" causes some issues with Yocto/OE build environment, when glibc-locale are build.

Re: [OE-core] [PATCH RESEND 2/2] glibc: ptest: Add support for running glibc test suite with ptest

2021-10-13 Thread ?ukasz Majewski
Hi Richard, > On Wed, 2021-10-13 at 10:35 +0200, Lukasz Majewski wrote: > > Dear Community, > > > > > This patch introduces new recipe - namely 'glibc-tests', which > > > builds and installs glibc test suite to OE/Yocto built image. > > > > > > It reuses code from already available

Re: [OE-core] [PATCH RESEND 2/2] glibc: ptest: Add support for running glibc test suite with ptest

2021-10-13 Thread ?ukasz Majewski
Dear Community, > This patch introduces new recipe - namely 'glibc-tests', which > builds and installs glibc test suite to OE/Yocto built image. > > It reuses code from already available 'glibc-testsuite' recipe, > which is run with 'bitbake glibc-testsuite -c check' and uses qemu > to execute

[OE-core] [PATCH RESEND 1/2] glibc: Exclude common code to build tests to glibc-tests.inc

2021-09-30 Thread ?ukasz Majewski
The common code to build tests has been excluded from glibc-testsuite recipe to glibc-tests.inc This code will be reused in the recipe necessary for providing glibc tests executed with ptest framework. Signed-off-by: Lukasz Majewski --- meta/recipes-core/glibc/glibc-tests.inc | 32

[OE-core] [PATCH RESEND 2/2] glibc: ptest: Add support for running glibc test suite with ptest

2021-09-30 Thread ?ukasz Majewski
This patch introduces new recipe - namely 'glibc-tests', which builds and installs glibc test suite to OE/Yocto built image. It reuses code from already available 'glibc-testsuite' recipe, which is run with 'bitbake glibc-testsuite -c check' and uses qemu to execute remotely (via SSH) tests on

Re: [OE-core] [PATCH 2/2] glibc: ptest: Add support for running glibc test suite with ptest

2021-08-27 Thread ?ukasz Majewski
> > > > > Hi Richard, Khem, > > > > > > > > > > > Hi Richard, > > > > > > > > > > > > > On Tue, 2021-08-24 at 09:36 +0200, ?ukasz Majewski wrote: > > > > > > > > > > > >

Re: [OE-core] [PATCH 2/2] glibc: ptest: Add support for running glibc test suite with ptest

2021-08-27 Thread ?ukasz Majewski
Hi Nathan, > On Thu, 26 Aug 2021 at 23:38, Richard Purdie > wrote: > > > > On Thu, 2021-08-26 at 14:27 +0200, Lukasz Majewski wrote: > > > Hi Richard, Khem, > > > > > > > Hi Richard, > > > > > > > > > On T

Re: [OE-core] [PATCH 2/2] glibc: ptest: Add support for running glibc test suite with ptest

2021-08-26 Thread ?ukasz Majewski
Hi Richard, > On Thu, 2021-08-26 at 14:27 +0200, Lukasz Majewski wrote: > > Hi Richard, Khem, > > > > > Hi Richard, > > > > > > > On Tue, 2021-08-24 at 09:36 +0200, ?ukasz Majewski wrote: > > > > > Hi Khem, > > > &

Re: [OE-core] [PATCH 2/2] glibc: ptest: Add support for running glibc test suite with ptest

2021-08-26 Thread ?ukasz Majewski
Hi Richard, Khem, > Hi Richard, > > > On Tue, 2021-08-24 at 09:36 +0200, ?ukasz Majewski wrote: > > > Hi Khem, > > > > > > > On Mon, Aug 23, 2021 at 1:09 PM Lukasz Majewski > > > > wrote: > > > > > &

Re: [OE-core] [PATCH 2/2] glibc: ptest: Add support for running glibc test suite with ptest

2021-08-24 Thread ?ukasz Majewski
Hi Richard, > On Tue, 2021-08-24 at 09:36 +0200, ?ukasz Majewski wrote: > > Hi Khem, > > > > > On Mon, Aug 23, 2021 at 1:09 PM Lukasz Majewski > > > wrote: > > > > > > > > On Mon, 23 Aug 2021 12:52:44 -0700 > > > > Kh

Re: [OE-core] [PATCH 2/2] glibc: ptest: Add support for running glibc test suite with ptest

2021-08-24 Thread ?ukasz Majewski
Hi Khem, > On Mon, Aug 23, 2021 at 1:09 PM Lukasz Majewski wrote: > > > > On Mon, 23 Aug 2021 12:52:44 -0700 > > Khem Raj wrote: > > > > > On Mon, Aug 23, 2021 at 11:24 AM Lukasz Majewski > > > wrote: > > > > > > > Hi K

Re: [OE-core] [PATCH 2/2] glibc: ptest: Add support for running glibc test suite with ptest

2021-08-23 Thread ?ukasz Majewski
On Mon, 23 Aug 2021 12:52:44 -0700 Khem Raj wrote: > On Mon, Aug 23, 2021 at 11:24 AM Lukasz Majewski > wrote: > > > Hi Khem, > > > > > On 8/23/21 8:08 AM, ?ukasz Majewski wrote: > > > > This patch introduces new recipe - namely 'glibc-tests', wh

Re: [OE-core] [PATCH 2/2] glibc: ptest: Add support for running glibc test suite with ptest

2021-08-23 Thread ?ukasz Majewski
Hi Khem, > On 8/23/21 8:08 AM, ?ukasz Majewski wrote: > > This patch introduces new recipe - namely 'glibc-tests', which > > builds and installs glibc test suite to OE/Yocto built image. > > > > It reuses code from already available 'glibc-testsuite' recipe, > >

[OE-core] [PATCH 1/2] glibc: Exclude common code to build tests to glibc-tests.inc

2021-08-23 Thread ?ukasz Majewski
The common code to build tests has been excluded from glibc-testsuite recipe to glibc-tests.inc This code will be reused in the recipe necessary for providing glibc tests executed with ptest framework. Signed-off-by: Lukasz Majewski --- meta/recipes-core/glibc/glibc-tests.inc | 32

[OE-core] [PATCH 2/2] glibc: ptest: Add support for running glibc test suite with ptest

2021-08-23 Thread ?ukasz Majewski
This patch introduces new recipe - namely 'glibc-tests', which builds and installs glibc test suite to OE/Yocto built image. It reuses code from already available 'glibc-testsuite' recipe, which is run with 'bitbake glibc-testsuite -c check' and uses qemu to execute remotely (via SSH) tests on