From mboxrd@z Thu Jan 1 00:00:00 1970 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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 97CC5C19F2B for ; Wed, 27 Jul 2022 13:09:08 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 241B984027; Wed, 27 Jul 2022 15:09:06 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com 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; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="YxrxO2kR"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AADC883F8E; Wed, 27 Jul 2022 15:09:03 +0200 (CEST) Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 27A8F83F8E for ; Wed, 27 Jul 2022 15:09:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x831.google.com with SMTP id y9so12560294qtv.5 for ; Wed, 27 Jul 2022 06:09:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Sngmb3sx6LaZDLTuvaMjPHpPZQ/DPIUE7j+MHfOq9o4=; b=YxrxO2kRc1LZnQzLf5fjl9uitkS2lze8CjvRhjupRD1kHhABBTgE0tDV2PRurJeqND ST3ctzsOtjs4pZ+ClBd5kirHXRQmmHWRKjtzd0LZk0IcOPt90hMZY3uTYfxZBhfTQVnD 7rp00Zu36EaDnTHHI+ahmFZ0tqiLEnF3lUhbQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Sngmb3sx6LaZDLTuvaMjPHpPZQ/DPIUE7j+MHfOq9o4=; b=xFJmfQD/NT7mBxNmWWn2iHMlk8pMdS6ysvniu5Y9J1vfKXyGZ6gfE5HDd1ogI6Y6q5 TCbbdB+NJJPuVEJvTccaoee/vSmeDi3lccoLRSzl/7Fc1Ot+pQHmjIc3osF+AlQRh+0R cKi4v1I1S5jUYfoFiIMs2ZsZvDMSUYLEqA79s+NGwRnugZb9xOhJ13ZQCvC9H1oyae2a vqOUJa6cG5NK8XOQqif1hcBlxaP0Mtnr9fuQzTy1TcyD60n3q4MO4ph45lkq+UNcB97q QrxmKGa4A58sAhQq84w8ybIGnSIm4NRiM8KTNHTy2PBpRh/vpAtVTyEWS7LhGHntS/ff cvwQ== X-Gm-Message-State: AJIora/zEMtk3JAgMW/i0mYiATYMKknxNreBc6XlK1nPRKAPkZFYuwRs +2M2GAfTVWwlDkPGa1Wbw85Udg== X-Google-Smtp-Source: AGRyM1s3nb4eQJpGJnzp0EUbNgCuwER9o8PW2WIDrIY/rmBSSpkABWc05yEWwyefxX+39F5W3a0zTA== X-Received: by 2002:a05:622a:cb:b0:31e:f195:61a8 with SMTP id p11-20020a05622a00cb00b0031ef19561a8mr18840841qtw.110.1658927338694; Wed, 27 Jul 2022 06:08:58 -0700 (PDT) Received: from bill-the-cat (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id h4-20020a05620a284400b006af3f3b385csm13442560qkp.98.2022.07.27.06.08.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jul 2022 06:08:57 -0700 (PDT) Date: Wed, 27 Jul 2022 09:08:56 -0400 From: Tom Rini To: Alexander Dahl Cc: u-boot@lists.denx.de, Marek Vasut , Pali =?iso-8859-1?Q?Roh=E1r?= , Philippe Reynes Subject: Re: Build with CONFIG_TOOLS_LIBCRYPTO disabled is broken Message-ID: <20220727130856.GU1146598@bill-the-cat> References: <1884029.XjOfZupGQm@ada> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Dyu8aJegl7mgZr8q" Content-Disposition: inline In-Reply-To: <1884029.XjOfZupGQm@ada> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.6 at phobos.denx.de X-Virus-Status: Clean --Dyu8aJegl7mgZr8q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 26, 2022 at 10:27:01AM +0200, Alexander Dahl wrote: > Hei hei, >=20 > once again I tried building U-Boot with CONFIG_TOOLS_LIBCRYPTO disabled a= nd=20 > with no libssl-dev installed on the build machine. It does not work.=20 >=20 > Even porting the patch disabling the build with kwbimage (see links below= )=20 > does not help anymore, because since commit 6e052d1cbafb ("mkimage: add p= ublic=20 > key for image pre-load stage") there's a new hard dependency on host open= ssl=20 > in tools/image-host.c and the corresponding kconfig symbol CONFIG_TOOLS_F= IT=20 > can not be disabled through menuconfig. >=20 > Just read those discussions again, but not sure what can be done to proce= ed=20 > here? Can I help somehow? I think we need a new patch that guards the new functions / calls under CONFIG_TOOLS_LIBCRYPTO and then a new CI job that removes libssl-dev before building tools-only so we don't re-introduce the problem is what we need to move forward here. --=20 Tom --Dyu8aJegl7mgZr8q Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmLhOOcACgkQFHw5/5Y0 tywDoAv/fkwNcrt/dM6MRUyaN5SCd2H0uD53gA/lpB9975QEd/YWMdeJ63VUTC0l v42z89q7OharYCj3nT84j8YjjeOiDUJLt3GO2pyqsFirhamlXeaO8DtYhJHOy95P v+nEPWsUm047mhzoi8kQGqEUoGgJLJFOTv3eEIA7js4QP3MEaSOZNenhcqctN64b xmTnT7y1QbPYiagUBZXU4epI3SWLXz9TPEU+w7ailLzPH8PQWzKc7MPl6Kin1NE9 KRL8LOSzKf7JpwkiKjNbFDNgb4Up5zm/CmGn6dweCcR1a1L2TdOQqIFzCKglB+H/ EDzZS7S2HlWA09620nTqotR+wXDjAVgyumR1gZBgKnZHYFPWfnmUiek8Ja9XXrso BJ/07Y+W0qBnNuIXTonJhmA5UrdpQrp8CGKKrHO93/673Qr5kMhTiekQSK5Pq8sc UiDOWjLTHq2Q2Tn93m8hr1eCWPbT9xKbY1WRmRXc/nCqjDFkm4dT0uEUNbWFAdtL oCktV+8r =hXVx -----END PGP SIGNATURE----- --Dyu8aJegl7mgZr8q--