From patchwork Sun Sep 20 10:09:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 1367846 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=gmx.de Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.a=rsa-sha256 header.s=badeba3b8450 header.b=S/6Dhuye; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BvNcG6cXbz9sSf for ; Sun, 20 Sep 2020 20:10:14 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6167D82457; Sun, 20 Sep 2020 12:10:05 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=gmx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.b="S/6Dhuye"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9D4128246F; Sun, 20 Sep 2020 12:10:03 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id CC06582456 for ; Sun, 20 Sep 2020 12:10:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=gmx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=xypron.glpk@gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1600596598; bh=t7NnFEtK5B+lMD0AAs4RtMfv11f9Bwys98BCFitr60M=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=S/6DhuyeSdSd1dZuz6V2eZNppit46rzHX2wpbSV+jE8rC5opLpg9MqKBx5lESEH09 /+dcvC93AF6PlTVrM84+0wyW3P4xgF6g/h2Ms/TRs1sTk8gfiZJsKM5B1NVYn5AcUs MGNi528IOcmHBKUqOXkOkZ51fdQE60ux/zDYpuiI= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from LT02.fritz.box ([178.202.41.107]) by mail.gmx.com (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MmDIu-1kkRPC1p7g-00iAn1; Sun, 20 Sep 2020 12:09:58 +0200 From: Heinrich Schuchardt To: Matthias Brugger Cc: u-boot@lists.denx.de, Heinrich Schuchardt Subject: [RFC 1/1] doc/build/gcc.rst: required packages for Suse Date: Sun, 20 Sep 2020 12:09:48 +0200 Message-Id: <20200920100948.77092-1-xypron.glpk@gmx.de> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:T+6XqGhvbqMozC4XkSylqi+M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uSg3PO PKmW65niyTZvZ/NzIXLZDoD2odf6ptXknxYSGin5lK4ImIx1fEpZCqp9CPEofj09ANd0LQslN GxJgpl2seXYpGOyThcpvUbKZ99n7g0mzYJHlXbdaz2JWJbaeXrjZ/vliy3sjSOJuMNAT5OURm Uc+LURHrrsc2libibkO/YS5a+RuiALaKW56XmpFvCh+4ZXcVBkG1d7lVo05CdkgNdeKM4CXyF 35y4BWzF+r+gTdQm6gSNFlTKr1abAieWwH/Uwk9ZuXBiP0bcE9NsvOBkz2al69+6Lri+ItaJq DkNFpaHQihE0bQTTJ6AeqIxPU4nAZtQIHZH8WBtq4y6pblBe+GyDPEaoq4YeV+aZLUbhlpIHX TjImqJxmMI/q4pCQtJnJX6MJycjppvR+UNmMtiaeZJA4y6oXKJGoVEb/BgJMUQVyz3r71mVQy 4rXp49Z6CSRqH8nmMbG7ZL3sV8aouTR0AV5n2gA== X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean Describe the packages required to build U-Boot on Suse. Signed-off-by: Heinrich Schuchardt --- Hello Matthias, I would like to add a sub-chapter to our documentation describing what is needed to build U-Boot on Suse. Cf. https://u-boot.readthedocs.io/en/latest/build/gcc.html Unfortunately I could not find all the packages that need to be installed in the Suse Tumbleweed Docker image. For 'make qemu_arm64_defconfig && make' I get an error aarch64-suse-linux-ld.bfd: cannot find -lgcc For 'make tests' a lot more seems to be missing. Do you have a list of required packages? Best regards Heinrich --- doc/build/gcc.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) -- 2.28.0 diff --git a/doc/build/gcc.rst b/doc/build/gcc.rst index fcb0b1ffb3..6250dc1880 100644 --- a/doc/build/gcc.rst +++ b/doc/build/gcc.rst @@ -29,6 +29,26 @@ Depending on the build targets further packages maybe needed lzma-alone openssl python3 python3-coverage python3-pyelftools \ python3-pytest python3-sphinxcontrib.apidoc python3-sphinx-rtd-theme swig +Suse based +~~~~~~~~~~ + +On Suse based systems the cross compiler packages are named +cross--gcc. + +You could install GCC and the GCC 10 cross compiler for the ARMv8 architecture +with + +.. code-block:: bash + + sudo zypper install gcc cross-aarch64-gcc10 + +Depending on the build targets further packages maybe needed. + +.. code-block:: bash + + zypper install bc bison flex gcc libopenssl-devel libSDL2-devel make \ + ncurses-devel python3-devel python3-pytest swig + Prerequisites -------------