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 97932C433EF for ; Sun, 6 Feb 2022 15:21:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 1E31040201; Sun, 6 Feb 2022 15:21:16 +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 y0vv_39ZpMWX; Sun, 6 Feb 2022 15:21:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 0C640400C1; Sun, 6 Feb 2022 15:21:13 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 260111BF325 for ; Sun, 6 Feb 2022 15:21:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 0BA45402D1 for ; Sun, 6 Feb 2022 15:21:12 +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 8zE6sXxv6Aiq for ; Sun, 6 Feb 2022 15:21:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::227]) by smtp4.osuosl.org (Postfix) with ESMTPS id D8080402C9 for ; Sun, 6 Feb 2022 15:21:10 +0000 (UTC) Received: (Authenticated sender: peter@korsgaard.com) by mail.gandi.net (Postfix) with ESMTPSA id AEA6620002; Sun, 6 Feb 2022 15:21:08 +0000 (UTC) Received: from peko by dell.be.48ers.dk with local (Exim 4.92) (envelope-from ) id 1nGjLf-0002MN-SI; Sun, 06 Feb 2022 16:21:07 +0100 From: Peter Korsgaard To: Giulio Benetti References: <20220129183426.152177-1-giulio.benetti@benettiengineering.com> Date: Sun, 06 Feb 2022 16:21:07 +0100 In-Reply-To: <20220129183426.152177-1-giulio.benetti@benettiengineering.com> (Giulio Benetti's message of "Sat, 29 Jan 2022 19:34:26 +0100") Message-ID: <87v8xsuil8.fsf@dell.be.48ers.dk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Subject: Re: [Buildroot] [PATCH] package/apitrace: fix build failure on m68k architecture 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: =?utf-8?B?SsOpcsO0bWU=?= Pouiller , buildroot@buildroot.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" >>>>> "Giulio" == Giulio Benetti writes: > apitrace uses very big switch statements, which causes the build to fail > on m68k, because the offsets there are only 16-bit. > We fix that by using -mlong-jump-table-offsets on m68k, to use 32-bit > offsets for switch statements. That flag is available on gcc version >= 7 > but apitrace package already depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7, so > we can use it with no problem. > Fixes: > http://autobuild.buildroot.net/results/7306bf05962fec30fbe98b1eb8ee09b3162b8080/ > Signed-off-by: Giulio Benetti Committed to 2021.11.x, thanks. -- Bye, Peter Korsgaard _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot