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 smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (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 68538C433F5 for ; Sun, 19 Dec 2021 09:10:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id F1071421D2; Sun, 19 Dec 2021 09:10:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eSB2eSg2XEqB; Sun, 19 Dec 2021 09:10:29 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 3240341F70; Sun, 19 Dec 2021 09:10:28 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id F19601BF48D for ; Sun, 19 Dec 2021 09:10:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id DF25B84CB6 for ; Sun, 19 Dec 2021 09:10:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp1.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=free.fr Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rB1TiL_PWKtx for ; Sun, 19 Dec 2021 09:10:25 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [212.27.42.5]) by smtp1.osuosl.org (Postfix) with ESMTPS id A660984CA0 for ; Sun, 19 Dec 2021 09:10:25 +0000 (UTC) Received: from ymorin.is-a-geek.org (unknown [IPv6:2a01:cb19:8b51:cb00:4cb3:149f:d03e:db5a]) (Authenticated sender: yann.morin.1998@free.fr) by smtp5-g21.free.fr (Postfix) with ESMTPSA id 577B25FF67; Sun, 19 Dec 2021 10:10:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1639905022; bh=RdE6qavvar3FgdJnRyHgQSKZyT6jXu2GVu5OauGZTR8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=p0ONnkRHO15Mzg5QZAwo9T/p9i0mrfdS5uaab/T/dHln2JMjoC6L+GrbVyhFVW9cD oKVgpPKvj2f/EXCywve9pWuP2XVEeYCimzda/TJ/vt7Y68FipKU3Z2xz9pPpSZO/mm dkJuSVIyNf3ntLxYRK4Qi83jtLawi3TUOjRf0vt5KZBnSXvrwpON9y72lvdgv745Kz LDlJB5fAx41fw5TPvfMB44tGr2Pt453ZtFpEtKOkH+gvoJf2bLwFczKPBHgMSYhJkN qMMUfEXR6zIEAhB76iL7E1jgtmnLOX52HBQtjDmd71bJAaBuj1qvQ7jVfIRNCPV4Qy sYuWOVUBPV04g== Received: by ymorin.is-a-geek.org (sSMTP sendmail emulation); Sun, 19 Dec 2021 10:10:16 +0100 Date: Sun, 19 Dec 2021 10:10:16 +0100 From: "Yann E. MORIN" To: Fabrice Fontaine Message-ID: <20211219091016.GE2603@scaer> References: <20211218231155.666025-1-fontaine.fabrice@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211218231155.666025-1-fontaine.fabrice@gmail.com> User-Agent: Mutt/1.5.22 (2013-10-16) Subject: Re: [Buildroot] [PATCH 2/2] package/imagemagick: host SVG support needs host gcc >= 4.9 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: Giulio Benetti , buildroot@buildroot.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Fabrice, All, On 2021-12-19 00:11 +0100, Fabrice Fontaine spake thusly: > host gcc >= 4.9 is needed since bump of harfbuzz to version 3.1.2 in > commit 6861933d22006fbe8c961a41506beac826881f33 to avoid the following > build failure: > > In file included from ../src/hb-serialize.hh:36:0, > from ../src/hb-machinery.hh:37, > from ../src/hb-common.cc:30: > ../src/hb-map.hh:67:18: error: 'is_trivially_copyable' is not a member of 'std' > static_assert (std::is_trivially_copyable::value, ""); > ^ I replied to the wrong mail earlier, so FTR I'll paste it again below. Sorry for the noise... Where did you see that gcc 4.9 had it? I looked at the gcc-4_9_0-release tag in the gcc tree, and it states: $ git grep is_trivially_copyable [...] libstdc++-v3/include/std/type_traits: // is_trivially_copyable (still unimplemented) Whereas gcc 5 has a proper implementation: $ git grep -A1 'is_trivially_copyable' libstdc++-v3/include/std/type_traits libstdc++-v3/include/std/type_traits: // is_trivially_copyable libstdc++-v3/include/std/type_traits- template libstdc++-v3/include/std/type_traits: struct is_trivially_copyable libstdc++-v3/include/std/type_traits: : public integral_constant libstdc++-v3/include/std/type_traits- { }; I see that 6861933d2200 (package/harfbuzz: bump to version 3.1.2) stated that the requirement on the gcc version was bumped to 4.9 from 4.8, but I am not sure how that can be... Giulio, where did you get the info that gcc 4.9 was required (and not a higher version)? Regards, Yann E. MORIN. > Fixes: > - http://autobuild.buildroot.org/results/89e1194c1659d7e1af9db8ffe5feee770c448f76 > > Signed-off-by: Fabrice Fontaine > --- > package/imagemagick/Config.in.host | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/package/imagemagick/Config.in.host b/package/imagemagick/Config.in.host > index 671b0995dc..fe0ad9a748 100644 > --- a/package/imagemagick/Config.in.host > +++ b/package/imagemagick/Config.in.host > @@ -17,6 +17,7 @@ if BR2_PACKAGE_HOST_IMAGEMAGICK > config BR2_PACKAGE_HOST_IMAGEMAGICK_SVG > bool "SVG support" > depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS # host-librsvg > + depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-pango -> host-harfbuzz > help > Say 'y' here is you need ImageMagick tools (like convert) > to support SVG. > @@ -24,4 +25,7 @@ config BR2_PACKAGE_HOST_IMAGEMAGICK_SVG > This is not enabled by default, as it brings quite a few > extra dependencies, and thus extra build time. > > +comment "SVG support needs a toolchain w/ host gcc >= 4.9" > + depends on !BR2_HOST_GCC_AT_LEAST_4_9 > + > endif > -- > 2.33.0 > > _______________________________________________ > buildroot mailing list > buildroot@buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot