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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A751DC433FE for ; Tue, 5 Oct 2021 13:33:39 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id A33D561207 for ; Tue, 5 Oct 2021 13:33:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A33D561207 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=korsgaard.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=buildroot.org Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 746DA60BC5; Tue, 5 Oct 2021 13:33:38 +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 KGD9dc0vZfjP; Tue, 5 Oct 2021 13:33:37 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id DDF4F60BA8; Tue, 5 Oct 2021 13:33:36 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id E3D821BF2A5 for ; Tue, 5 Oct 2021 13:33:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id DAC3240165 for ; Tue, 5 Oct 2021 13:33:35 +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 W4bCeRUd2A8P for ; Tue, 5 Oct 2021 13:33:35 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from relay10.mail.gandi.net (relay10.mail.gandi.net [217.70.178.230]) by smtp2.osuosl.org (Postfix) with ESMTPS id B97EE404A8 for ; Tue, 5 Oct 2021 13:33:34 +0000 (UTC) Received: (Authenticated sender: peter@casa-korsgaard.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 553F0240012; Tue, 5 Oct 2021 13:33:31 +0000 (UTC) Received: from peko by dell.be.48ers.dk with local (Exim 4.92) (envelope-from ) id 1mXkZW-0006Jm-Hz; Tue, 05 Oct 2021 15:33:30 +0200 From: Peter Korsgaard To: Fabrice Fontaine References: <20210914211501.403653-1-fontaine.fabrice@gmail.com> Date: Tue, 05 Oct 2021 15:33:30 +0200 In-Reply-To: <20210914211501.403653-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Tue, 14 Sep 2021 23:15:01 +0200") Message-ID: <877deregut.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 1/1] package/uboot-tools: fix static build with musl 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: Matt Weber , buildroot@buildroot.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" >>>>> "Fabrice" == Fabrice Fontaine writes: > Static build with musl fails since bump to version 2020.04 in commit > fe97212976ea0b2a80fe1e076ad17d6f648cd1de because LDFLAGS, which contains > -static, is not passed resulting in the following build failure: > /tmp/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-musleabihf/10.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld: > /tmp/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-musleabihf/10.3.0/libgcc.a(_dvmd_lnx.o): > in function `__aeabi_ldiv0': > /tmp/instance-1/output-1/build/host-gcc-final-10.3.0/build/arm-buildroot-linux-musleabihf/libgcc/../../../libgcc/config/arm/lib1funcs.S:1499: > undefined reference to `raise' > collect2: error: ld returned 1 exit status > Fixes: > - http://autobuild.buildroot.org/results/d71aba27ff0c7711f2cb67261183506f25217a5f > Signed-off-by: Fabrice Fontaine Committed to 2021.02.x, 2021.05.x and 2021.08.x, thanks. Don't forget to submit the patch upstream. -- Bye, Peter Korsgaard _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot