Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.0 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60798C433EF for ; Sat, 18 Sep 2021 20:41:23 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 1C067610E9 for ; Sat, 18 Sep 2021 20:41:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1C067610E9 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=free.fr Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.buildroot.org Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id E123140220; Sat, 18 Sep 2021 20:41:22 +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 icA4A6rRnKur; Sat, 18 Sep 2021 20:41:22 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 13B1C401D1; Sat, 18 Sep 2021 20:41:21 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 84E0A1BF27C for ; Sat, 18 Sep 2021 20:41:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 74F6E414CA for ; Sat, 18 Sep 2021 20:41:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp4.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=free.fr 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 1zTmdnQJ-ol5 for ; Sat, 18 Sep 2021 20:41:18 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from smtp1-g21.free.fr (smtp1-g21.free.fr [212.27.42.1]) by smtp4.osuosl.org (Postfix) with ESMTPS id 9EBD7414BB for ; Sat, 18 Sep 2021 20:41:18 +0000 (UTC) Received: from ymorin.is-a-geek.org (unknown [IPv6:2a01:cb19:8b51:cb00:ed4a:2560:2180:38b6]) (Authenticated sender: yann.morin.1998@free.fr) by smtp1-g21.free.fr (Postfix) with ESMTPSA id B7242B00548; Sat, 18 Sep 2021 22:41:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1631997675; bh=Ru7sS8TshXRzX0cgVZIAJIk1VVNv7YTXKMsDHku/jDo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZgSp41k0/tYA28gdb4dHS1iSngNzk70Qtegz5EVSiPvZNy9xKrmSjINebrZYBD8wO Jzrwfqe/VyVS423C0VsZQdSe9uZKsOLPRku3+xQDBebMHIgj3uFhauWH/785lLIfTB QfGMk4pAlWitdTSSCDSMI67YyJVRmOIb6ddKTBYKNjUvlS1fOygNqOcMnxP4+Ln/W0 sKQdQkva6U7JjeV//yLtvisn0Gio1yKFusRvr/aSKvYtlMH/+KHNEB7JS312PgA545 4fg74ejxuiicfM6e/tOojSLb/69vSyxeVcyryaSjPMB3B+dFX0kwhv4qFNe5LC/kq+ zkVhpM/bgEsww== Received: by ymorin.is-a-geek.org (sSMTP sendmail emulation); Sat, 18 Sep 2021 22:41:09 +0200 Date: Sat, 18 Sep 2021 22:41:09 +0200 From: "Yann E. MORIN" To: Giulio Benetti Message-ID: <20210918204109.GX1053080@scaer> References: <20210912230856.1125573-1-giulio.benetti@benettiengineering.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210912230856.1125573-1-giulio.benetti@benettiengineering.com> User-Agent: Mutt/1.5.22 (2013-10-16) Subject: Re: [Buildroot] [PATCH] package/trace-cmd: fix build for Sparc64 X-BeenThere: buildroot@lists.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: Pierre Floury , buildroot@buildroot.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@lists.buildroot.org Sender: "buildroot" Giulio, All, On 2021-09-13 01:08 +0200, Giulio Benetti spake thusly: > Trace-cmd needs -fPIC for Sparc64 platform otherwise it fails on linking, > so add -fPIC to CFLAGS when building for such platform. > > Signed-off-by: Giulio Benetti Applied to master with the autobuiild reference added to the commit log, thanks. Regards, Yann E. MORIN. > --- > package/trace-cmd/trace-cmd.mk | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/package/trace-cmd/trace-cmd.mk b/package/trace-cmd/trace-cmd.mk > index cd3fcb9755..bc431e5dd2 100644 > --- a/package/trace-cmd/trace-cmd.mk > +++ b/package/trace-cmd/trace-cmd.mk > @@ -31,6 +31,11 @@ endif > # redefining it on the command line causes build problems. > TRACE_CMD_CFLAGS = $(filter-out -D_LARGEFILE64_SOURCE,$(TARGET_CFLAGS)) > > +# Sparc64 needs -fPIC > +ifeq ($(BR2_sparc64),y) > +TRACE_CMD_CFLAGS += -fPIC > +endif > + > # trace-cmd use CPPFLAGS to add some extra flags. > # But like for CFLAGS, $(TARGET_CPPFLAGS) contains _LARGEFILE64_SOURCE > # that causes build problems. > -- > 2.25.1 > > _______________________________________________ > buildroot mailing list > buildroot@lists.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@lists.buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot