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 smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (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 5EA6AC636D6 for ; Tue, 21 Feb 2023 01:01:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 0E1FD610B3; Tue, 21 Feb 2023 01:01:06 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 0E1FD610B3 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 j7N3_fXG0Qee; Tue, 21 Feb 2023 01:01:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 422BB61160; Tue, 21 Feb 2023 01:01:04 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 422BB61160 Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 475DE1BF2E3 for ; Mon, 20 Feb 2023 21:01:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id A5A0B6FB9F for ; Mon, 20 Feb 2023 20:52:37 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org A5A0B6FB9F 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 krc2bu_Xgdv2 for ; Mon, 20 Feb 2023 20:52:37 +0000 (UTC) Received: from busybox.osuosl.org (busybox.osuosl.org [140.211.167.122]) by smtp3.osuosl.org (Postfix) with ESMTP id DF5336FB8C for ; Mon, 20 Feb 2023 20:52:36 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org DF5336FB8C Received: by busybox.osuosl.org (Postfix, from userid 4053) id DDF958648F; Mon, 20 Feb 2023 20:52:36 +0000 (UTC) From: Yann E. MORIN To: buildroot@buildroot.org Date: Wed, 18 Jan 2023 21:42:51 +0100 X-Git-Refname: refs/heads/next X-Git-Oldrev: a8447f17b8a589af5a88fc1ffdacde3b130c539d X-Git-Newrev: 94b66fb49cd57d0863245fbe0a3dc0833e76aad0 X-Patchwork-Hint: ignore Message-Id: <20230220205236.DDF958648F@busybox.osuosl.org> Subject: [Buildroot] [git commit branch/next] package/xxhash: set XXH_NO_INLINE_HINTS 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: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" commit: https://git.buildroot.net/buildroot/commit/?id=94b66fb49cd57d0863245fbe0a3dc0833e76aad0 branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next Set XXH_NO_INLINE_HINTS to marks all internal functions as static, giving the compiler full control on whether to inline or not. This will fix the following build failure raised since bump to version 0.8.1 in commit 5dbdb2535c649ee617595b8c4ae3cbba0ee37b97: In file included from xxhash.c:43: In function 'XXH3_accumulate', inlined from 'XXH3_hashLong_internal_loop' at xxhash.h:4390:9, inlined from 'XXH3_hashLong_64b_internal' at xxhash.h:4453:5, inlined from 'XXH3_hashLong_64b_withSecret' at xxhash.h:4473:12, inlined from 'XXH3_64bits_internal' at xxhash.h:4554:12, inlined from 'XXH3_64bits_withSecret' at xxhash.h:4570:12: xxhash.h:4196:1: error: inlining failed in call to 'always_inline' 'XXH3_accumulate_512_scalar': function not considered for inlining 4196 | XXH3_accumulate_512_scalar(void* XXH_RESTRICT acc, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/f2c52238df97cc4c13117d8dc1423235231a094c Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/xxhash/xxhash.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/xxhash/xxhash.mk b/package/xxhash/xxhash.mk index 04bc98690f..40e3c2696c 100644 --- a/package/xxhash/xxhash.mk +++ b/package/xxhash/xxhash.mk @@ -28,6 +28,7 @@ endif define XXHASH_BUILD_CMDS $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ + CFLAGS="$(TARGET_CFLAGS) -DXXH_NO_INLINE_HINTS" \ $(XXHASH_TARGETS) endef _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot