From mboxrd@z Thu Jan 1 00:00:00 1970 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 smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AE485C433F5 for ; Sat, 8 Jan 2022 18:38:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 43B2540148; Sat, 8 Jan 2022 18:38:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3WD1t8q4yRuj; Sat, 8 Jan 2022 18:38:10 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 4D85440127; Sat, 8 Jan 2022 18:38:09 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 66E061BF593 for ; Sat, 8 Jan 2022 18:38:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 600C860A73 for ; Sat, 8 Jan 2022 18:38:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j3jszInNp3na for ; Sat, 8 Jan 2022 18:38:04 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from relay10.mail.gandi.net (relay10.mail.gandi.net [IPv6:2001:4b98:dc4:8::230]) by smtp3.osuosl.org (Postfix) with ESMTPS id EA9F560625 for ; Sat, 8 Jan 2022 18:38:03 +0000 (UTC) Received: (Authenticated sender: thomas.petazzoni@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id C1F14240003; Sat, 8 Jan 2022 18:38:01 +0000 (UTC) Date: Sat, 8 Jan 2022 19:38:00 +0100 From: Thomas Petazzoni To: Peter Seiderer Message-ID: <20220108193800.5f91ac3b@windsurf> In-Reply-To: <20220108183919.238c1885@gmx.net> References: <20220104205455.3632671-1-fontaine.fabrice@gmail.com> <20220108115140.760e195f@windsurf> <20220108183919.238c1885@gmx.net> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.31; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Subject: Re: [Buildroot] [PATCH v2, 1/1] package/file: fix build with gcc 4.8 X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Buildroot Mailing List , Fabrice Fontaine , "Yann E. MORIN" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" On Sat, 8 Jan 2022 18:39:19 +0100 Peter Seiderer wrote: > The difference seems to be: > > $ diff -ru file-5.38/configure.ac file-5.41/configure.ac > [...] > @@ -88,7 +88,7 @@ > AC_SUBST(WARNINGS) > > dnl Checks for programs. > -AC_PROG_CC_STDC > +AC_PROG_CC > AC_USE_SYSTEM_EXTENSIONS > AM_PROG_CC_C_O > AC_C_BIGENDIAN > [...] > > According to [1] AC_PROG_CC checks/enables c89 and AC_PROG_CC_STDC checks/enabls C99 (or > use AC_PROG_CC_C99 to be more explicit)..., note that with AC_PROG_CC the ac_cv_prog_cc_c99 > feature is gone (still used for target/host in package/file/file.mk)... But why the solution we use for the target package doesn't work for the host package? Or perhaps we're no longer testing the target package with gcc 4.8 ? Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot