Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp669208ybi; Fri, 2 Aug 2019 02:18:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqy5/r7qwZRfvwPQWhvLY7uUwMXEEL+3t6e5sWb99eTvIkfv9HHsX2yLCJCtBPr8/FhyiUr8 X-Received: by 2002:a17:90a:9488:: with SMTP id s8mr3530375pjo.2.1564737513419; Fri, 02 Aug 2019 02:18:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564737513; cv=none; d=google.com; s=arc-20160816; b=NbvqpkErUKUNbW2fjnkoHtsnAsjWMUzzOPWcKgyzJm0K47aKbq+XMp7wK5N7Fo/Dxy owRLTuCVguHBi+BZ4G+22xot3AoiiCX3z73v6G0ERnTgELMVeWA/r+nIm2NvIcdTo3Ne DOXOYXw06b5DpcLTVkG6uJfEn0ZrNpfgP4jb8Zi52jX3wJxlUqzrvsDeLDvoUxmD46Kx oc+epYs9pMDpdfzNyc35k818C7f2H9lMh7aArLh45edJw9LJJfKx7WgW1NEhMSpCM8tt 9Cko3e/XqHsshW6iBiiuDTp0Pe1FzeL69gsiwGZ7bOIV5M7ZLLjqjgPNgFBJmramwu6x RDbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=TGAJsFow4oMvJoAyzqu9xKkKaxXn/I4Jnuo/cQmMpV0=; b=mPq3CyXfAvsVeElN1kVb0Hu22GngwdmBRoYAcRenXHMx4SPkt//PhLst3PG0CtHGyk IBvLnGsHO4Xg3z5c9zU6nEsMDpOMyH+K5fVGqE0ZU3dQXHcODq4oFJ6WC4PTYl0/ZtyN sW9itz6qsiuUOHTTl++Or7B0+ZC7GfPCJ3RgBuCGb3TQR5la5jQTwp2pGvuGb2+igGCb wWzx55cttQWVWh3LaWsUrtWJKehHrOz8JlLfJ8TTl2WLFbwmFIf/6Rey6IWu4tYrr/SE YMFPXiK3Bdnpn+E/DoD/9gsh9SM63GdiYbjcMyAmZHZe6jkfjYlkji3wQYUBf7irfcf/ Jucg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wEwvBGxN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c1si37715373pgp.105.2019.08.02.02.18.16; Fri, 02 Aug 2019 02:18:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wEwvBGxN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388966AbfHBGti (ORCPT + 99 others); Fri, 2 Aug 2019 02:49:38 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:55672 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728904AbfHBGti (ORCPT ); Fri, 2 Aug 2019 02:49:38 -0400 Received: by mail-wm1-f68.google.com with SMTP id a15so66803707wmj.5 for ; Thu, 01 Aug 2019 23:49:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TGAJsFow4oMvJoAyzqu9xKkKaxXn/I4Jnuo/cQmMpV0=; b=wEwvBGxNylDsfl9AU2tOnTAPUMbIDlu6bC+58eAtIsa40xrYNdeuTn1ddqtNAgjlSk 5rsXEjvTvjyS79ODllf/c6mf1/2f8yCnY4/+UFyT3ZnCljrJXd0USXCO+5leq7bQnaDr 8iUZMycfQNC506+0SQn6jGhkDdHBbL6PconATmJRZfO+bNXsJAorp2D+ziMTnT2SD7Mr 4f1Ly6JB34OEsNbZz2JXJfn+VlwGi/3QOP9g4n5/Rs+oFj8A4vBzHX/59IlREVI+3wSY CbtyBpvfjkmVStkWOVZru8MGgvYScxyN5BZ4ug6nXnlFHekzTYs9qTeTvUX0c5gERKng +U9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TGAJsFow4oMvJoAyzqu9xKkKaxXn/I4Jnuo/cQmMpV0=; b=I9R+639rnxmAn50d5ekEUfu4z2rWbwXCsg+f3lxMIRRtjl6UmouSwSqGiNteumnTtV eWKx0CRjoa6piUfgIcvZ6eP9Y1Lurap9HR6/P3KioQNFs6QpxdVEUEiCRjEfwvbTIm96 N9zpykcJUYE7IdP6pxpcktwtDdLhE2mdO9d7lu/wuyGxFqvtL01F6FrGRbwhQbC8CXZ1 LXQpTnC4rB+e7IasSUCEQoRcrcifAJk4rpvUhPtPn9C6yX6Og6DVE6SryDkg1OtzFBhI 5RNxjf7rp5kSd+8zQWrzRp+AoVN6SD6WHLGYxjvP1HVnIlJmk+BTTtX2WO9CYV1PQby/ 98vQ== X-Gm-Message-State: APjAAAW1f0yJkfKawt69lBX0ZzIgv+oOTeyRw3iapJVaIHyGJgs2M4Hq h4Mg3OYEd5MwPzJYUzlGWzSJx7ACFXeSI4Y9Z90Kxw== X-Received: by 2002:a7b:c0d0:: with SMTP id s16mr2548964wmh.136.1564728576312; Thu, 01 Aug 2019 23:49:36 -0700 (PDT) MIME-Version: 1.0 References: <20190731163915.3fdfcb14@canb.auug.org.au> <20190731085819.GA3488@osiris> <20190731110816.GA20753@gondor.apana.org.au> <20190731111520.GC3488@osiris> <20190731113216.GA21068@gondor.apana.org.au> <20190731114453.GD3488@osiris> <20190801122849.GB4163@osiris> <20190802064605.GA4158@osiris> In-Reply-To: <20190802064605.GA4158@osiris> From: Ard Biesheuvel Date: Fri, 2 Aug 2019 09:49:25 +0300 Message-ID: Subject: Re: linux-next: Tree for Jul 31 - s390 crypto build breakage To: Heiko Carstens Cc: Herbert Xu , Stephen Rothwell , Linux Next Mailing List , Linux Kernel Mailing List , linux-s390 , Harald Freudenberger , Patrick Steuer Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2 Aug 2019 at 09:46, Heiko Carstens wrote: > > On Thu, Aug 01, 2019 at 08:28:56PM +0300, Ard Biesheuvel wrote: > > On Thu, 1 Aug 2019 at 15:28, Heiko Carstens wrote: > > > Still not... with linux-next as of today I get this (s390 defconfig): > > > > > > ERROR: "crypto_aegis128_decrypt_chunk_simd" [crypto/aegis128.ko] undefined! > > > ERROR: "crypto_aegis128_update_simd" [crypto/aegis128.ko] undefined! > > > ERROR: "crypto_aegis128_encrypt_chunk_simd" [crypto/aegis128.ko] undefined! > > > scripts/Makefile.modpost:105: recipe for target 'modules-modpost' failed > > > > > > > Hello Heiko, > > > > Apologies for the breakage. The first two fixes addressed obvious > > shortcomings in my code, but with this issue, I'm a bit puzzled tbh. > > The calls to these missing functions should be optimized away, since > > have_simd never gets assigned if CONFIG_CRYPTO_AEGIS128_SIMD is not > > defined, but for some reason, this isn't working. Which version of GCC > > are you using? > > Plain vanilla gcc 9.1.0. > > > Also, could you please try whether the patch below fixes the problem? Thanks > > https://lore.kernel.org/linux-crypto/20190729074434.21064-1-ard.biesheuvel@linaro.org/ > > Yes, with that patch applied the code compiles. > Thanks for confirming. Since Voldis is reporting GCC 9.1.x as well, this might be a compiler regression (and it explains why I did not see the issue locally) In any case, the patches have been reverted now, so I will resubmit them with the above change folded in. Thanks, Ard.