From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 29 Mar 2023 09:40:24 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1phQPv-00113c-Pt for lore@lore.pengutronix.de; Wed, 29 Mar 2023 09:40:24 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1phQPv-0006Wm-0Z; Wed, 29 Mar 2023 09:40:23 +0200 Received: from mail.ppc-ag.de ([212.65.2.129]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1phQPi-0006U8-49 for ptxdist@pengutronix.de; Wed, 29 Mar 2023 09:40:10 +0200 Received: from [10.40.4.2] (port=47626 helo=masv00063.ppc-ag.de) by mail.ppc-ag.de with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1phQPf-0004Dw-0N for ptxdist@pengutronix.de; Wed, 29 Mar 2023 09:40:07 +0200 Received: from localhost (localhost [127.0.0.1]) by masv00063.ppc-ag.de (Postfix) with ESMTP id 0EA98224D18 for ; Wed, 29 Mar 2023 09:40:07 +0200 (CEST) Received: from masv00063.ppc-ag.de ([127.0.0.1]) by localhost (masv00063.ppc-ag.de [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 8-G9qGWGnQud for ; Wed, 29 Mar 2023 09:40:06 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by masv00063.ppc-ag.de (Postfix) with ESMTP id B7730224D1B for ; Wed, 29 Mar 2023 09:40:06 +0200 (CEST) X-SASI-Hits: BODY_SIZE_3000_3999 0.000000, BODY_SIZE_5000_LESS 0.000000, BODY_SIZE_7000_LESS 0.000000, CTE_QUOTED_PRINTABLE 0.000000, HTML_00_01 0.050000, HTML_00_10 0.050000, NO_FUR_HEADER 0.000000, OUTBOUND 0.000000, OUTBOUND_SOPHOS 0.000000, SENDER_NO_AUTH 0.000000, SUPERLONG_LINE 0.050000, URI_WITH_PATH_ONLY 0.000000, __ANY_URI 0.000000, __BODY_NO_MAILTO 0.000000, __BULK_NEGATE 0.000000, __COURIER_PHRASE 0.000000, __CP_URI_IN_BODY 0.000000, __CT 0.000000, __CTE 0.000000, __CT_TEXT_PLAIN 0.000000, __DQ_NEG_DOMAIN 0.000000, __DQ_NEG_HEUR 0.000000, __DQ_NEG_IP 0.000000, __FROM_DOMAIN_NOT_IN_BODY 0.000000, __FROM_NAME_NOT_IN_BODY 0.000000, __FROM_UTF_Q 0.000000, __FUR_RDNS_SOPHOS 0.000000, __HAS_FROM 0.000000, __HAS_MSGID 0.000000, __HAS_X_MAILER 0.000000, __HELO_LOCALHOST 0.000000, __HTTPS_URI 0.000000, __MIME_TEXT_ONLY 0.000000, __MIME_TEXT_P 0.000000, __MIME_TEXT_P1 0.000000, __MIME_VERSION 0.000000, __MULTIPLE_URI_TEXT 0.000000, __NO_HTML_TAG_RAW 0.000000, __OUTBOUND_SOPHOS_FUR 0.000000, __OUTBOUND_SOPHOS_FUR_IP 0.000000, __OUTBOUND_SOPHOS_FUR_RDNS 0.000000, __PHISH_SPEAR_SUBJ_TEAM 0.000000, __RCVD_FROM_DOMAIN 0.000000, __RCVD_FROM_SUSP_HOSTNAME 0.000000, __SANE_MSGID 0.000000, __SUBJ_ALPHA_END 0.000000, __TO_MALFORMED_2 0.000000, __TO_NO_NAME 0.000000, __URI_ENDS_IN_SLASH 0.000000, __URI_HAS_HYPHEN_USC 0.000000, __URI_IN_BODY 0.000000, __URI_NOT_IMG 0.000000, __URI_NO_MAILTO 0.000000, __URI_NO_WWW 0.000000, __URI_NS 0.000000, __URI_WITH_PATH 0.000000, __X_MAILER_ZIMBRA 0.000000 X-SASI-Probability: 8% X-SASI-RCODE: 200 X-SASI-Version: Antispam-Engine: 5.1.1, AntispamData: 2023.3.29.71817 X-Virus-Scanned: amavisd-new at masv00063.ppc-ag.de Received: from masv00063.ppc-ag.de ([127.0.0.1]) by localhost (masv00063.ppc-ag.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id GqIa_CmfCQjr for ; Wed, 29 Mar 2023 09:40:06 +0200 (CEST) Received: from masv00063.ppc-ag.de (localhost [127.0.0.1]) by masv00063.ppc-ag.de (Postfix) with ESMTP id A2063224D18 for ; Wed, 29 Mar 2023 09:40:06 +0200 (CEST) Date: Wed, 29 Mar 2023 09:40:06 +0200 (CEST) From: Luis =?utf-8?Q?Gr=C3=BCnewald?= To: ptxdist@pengutronix.de Message-ID: <1550513112.87110.1680075606632.JavaMail.zimbra@ppc-ag.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: Zimbra 8.8.15_GA_4372 (ZimbraWebClient - FF110 (Linux)/8.8.15_GA_4372) Thread-Index: yaTdAjBDV0mErOLQOXaiDe9oXwId/g== Thread-Topic: OSELAS Toolchain for ARM-v7em with newlib and c++ support X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-1.2 required=4.0 tests=AWL,BAYES_00,SPF_HELO_NONE, SPF_PASS,URI_HEX autolearn=no autolearn_force=no version=3.4.2 Subject: [ptxdist] OSELAS Toolchain for ARM-v7em with newlib and c++ support X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Hello, I am trying to build the Oselas-Toolchain using the following setup: - HOST-OS: Ubuntu 22.04.2 LTS - HOST-CPU: 11th Gen Intel(R) Core (TM) i7-1165G7 @ 2.80GHz =C3=97 8 - Osleas project: OSELAS.Toolchain-2022.10.0 (https://git.pengutronix.de/cg= it/OSELAS.Toolchain/tag/?h=3Dv2022.10.0) - Ptxdist Version: ptxdist-2023.01.0 (https://public.pengutronix.de/softwar= e/ptxdist/) To build the toolchain I am doing the following steps: 1. Selecting the ptxconfig : arm-v7em-eabihf_gcc-12.2.1_newlib-4.2.0.202112= 31_binutils-2.39 2. using "ptxdist migrate" to update .ptxconfg 3. Since I need support for C++, I add C++ as an "Additional supported lang= uage" using "ptxdist menuconfig" 4. unsing the "build_one.sh arm-v7em-eabihf_gcc-12.2.1_newlib-4.2.0.2021123= 1_binutils-2.39" to build the toolchain build_one.sh fails with the following error: ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= -------------------- checking whether printf hooks are supported... no checking whether nl_langinfo should be used... no checking whether nl_langinfo should be used for wide char locale info... ye= s checking what to include in include/gstdint.h... stdint.h (already complete= ) checking for GNU c++filt... /usr/bin/c++filt checking for shared libgcc... configure: error: Link tests are not allowed = after GCC_NO_EXECUTABLES. no checking whether localeconv should be used... make[1]: *** [Makefile:12209:= configure-target-libstdc++-v3] Error 1 make[1]: *** Waiting for unfinished jobs.... . . . . config.status: executing depfiles commands config.status: executing libtool commands make[1]: Leaving directory '/home/l.gruenewald/projects/m4Communication/too= lchain_test/test3/OSELAS.Toolchain-2022.10.0/platform-arm-v7em-eabihf-gcc-1= 2.2.1-newlib-4.2.0.20211231-binutils-2.39/build-cross/gcc-12-20221022-build= ' make: *** [Makefile:1027: all] Error 2 make: Leaving directory '/home/l.gruenewald/projects/m4Communication/toolch= ain_test/test3/OSELAS.Toolchain-2022.10.0/platform-arm-v7em-eabihf-gcc-12.2= .1-newlib-4.2.0.20211231-binutils-2.39/build-cross/gcc-12-20221022-build' make: *** [/home/l.gruenewald/projects/m4Communication/toolchain_test/test3= /ptxdist-2023.01.0/rules/post/ptxd_make_world_compile.make:20: /home/l.grue= newald/projects/m4Communication/toolchain_test/test3/OSELAS.Toolchain-2022.= 10.0/platform-arm-v7em-eabihf-gcc-12.2.1-newlib-4.2.0.20211231-binutils-2.3= 9/state/cross-gcc.compile] Error 2 make: *** [/home/l.gruenewald/projects/m4Communication/toolchain_test/test3= /OSELAS.Toolchain-2022.10.0/build_all_v2.mk:44: gstate/arm-v7em-eabihf-gcc-= 12.2.1-newlib-4.2.0.20211231-binutils-2.39.build] Fehler 2 ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= -------------------- More Errors can be found in . Here is a link to my libstdc++-v3/config.log : https://controlc.com/a342dcd= 8 Building the toolchain using the "arm-v7em-eabihf_gcc-12.2.1_newlib-4.2.0.2= 0211231_binutils-2.39.ptxconfig" without any changes works fine. But after using "debain/bin/build.sh" to build the .deb package, in the /bi= n folder the link called "arm-v7em-eabihf-g++" is broken. Do you have any suggestion how to build the Oslastoolchain using the "arm-v= 7em-eabihf_gcc-12.2.1_newlib-4.2.0.20211231_binutils-2.39.ptxconfig" so tha= t in the end the "g++" compiler will be included ? Best regards, Luis