Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A4258C001DB for ; Tue, 15 Aug 2023 13:37:42 +0000 (UTC) Subject: Re: GCC configuration issue: nanosleep does not seems to be available To: poky@lists.yoctoproject.org From: "Nicolas Wirth" X-Originating-Location: Baechli, Nidwalden, CH (146.4.107.86) X-Originating-Platform: Windows Chrome 115 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Tue, 15 Aug 2023 06:37:35 -0700 References: In-Reply-To: Message-ID: <29355.1692106655155071796@lists.yoctoproject.org> Content-Type: multipart/alternative; boundary="UoPKVlnRXoAAPPmxhgEB" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 15 Aug 2023 13:37:42 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/poky/message/13124 --UoPKVlnRXoAAPPmxhgEB Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable I could see why your option wouldn't have taken affect but I have no idea i= f it is the right option or not. As I said, I'd look at the config.log file for libstdc++, check the setting= you want is being set. Cheers, Richard On Tue, 2023-08-15 at 06:31 -0700, nicolas.wirth via lists.yoctoproject.org= wrote: Hello Richard, thanks to your help, I did the following but I still got the= same error described in the previous post: * Edit the gcc-runtime recipe under poky/meta/recipes-devtools/gcc-runtime.= inc (which is inclued in=C2=A0gcc-runtime_11.2.bb * Changing this line: EXTRA_OECONF:append =3D " --cache-file=3D ${ B} /config.cache " * to: EXTRA_OECONF:append =3D " --enable-libstdccxx-time --cache-file=3D ${ B} /c= onfig.cache " --UoPKVlnRXoAAPPmxhgEB Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

I could see why your option w= ouldn't have taken affect but I have no idea if it is the right option = or not.

=C2=A0

As I said, I'd look at th= e config.log file for libstdc++, check the setting you want is being set.

=C2=A0

Cheers,

=C2=A0

Richard

=C2=A0

On Tue, 2023-08-15 at 06:31 -= 0700, nicolas.wirth via lists.yoctoproject.org wrote:

Hello Richard, thanks to your= help, I did the following but I still got the same error described in the = previous post:

  • Edit the gcc-runti= me recipe under poky/meta/recipes-devtools/gcc-runtime.inc (which is inclue= d in=C2=A0gcc-runtime_11.2.bb
  • Changing this line= :

=C2=A0

EXTRA_OECONF:append =3D " --cache-file= =3D${B}/config.cache"

  • to:

=C2=A0

EXTRA_OECONF:append =3D " --enable-libs= tdccxx-time --cache-file=3D${B}/config.cache"

=C2=A0