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 X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable 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 48C04C2BA1A for ; Fri, 24 Apr 2020 08:16:12 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (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 B099620736 for ; Fri, 24 Apr 2020 08:16:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="lKqcmeOk" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B099620736 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 497n7F1VjMzDqQQ for ; Fri, 24 Apr 2020 18:16:09 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::342; helo=mail-ot1-x342.google.com; envelope-from=natechancellor@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=lKqcmeOk; dkim-atps=neutral Received: from mail-ot1-x342.google.com (mail-ot1-x342.google.com [IPv6:2607:f8b0:4864:20::342]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 497n4S6BN6zDr7Q for ; Fri, 24 Apr 2020 18:13:44 +1000 (AEST) Received: by mail-ot1-x342.google.com with SMTP id i27so10980027ota.7 for ; Fri, 24 Apr 2020 01:13:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=9dfPGeraK4o9r9iyl1y9Yo9qcc+FG0ESeUD3dyGuhgw=; b=lKqcmeOkeMm+YlfFoMTIdJDvtKNH+Net4lPcCtsnDIMy8AYfmPOyLS7SjO9jqlA6jn 6+xhYwft+NCvscdw3ralt+caYFm0+slGDekfbXJaHPIWBQhraB+tdFeBjONWh56dzgD+ TDITSMnq8iuveCIEjf0Rs3SQ/So3vKcQ88xKBjdhSYlrgetgm5VDAjQdN/D+esGtwVGk lDa7aJEeJ/A7zURoHz9+iq3BUIDArPdRmuzvaOd/NhY9Dt9jjkgX7JqDjW+ieqfiJkyf oH7LQMfP7+x+opJL0UWTex3zfvr6S38Ritft8+wtGa5T5Fcua/Dm3jsFQ0dG9Pgfg+kM NZxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=9dfPGeraK4o9r9iyl1y9Yo9qcc+FG0ESeUD3dyGuhgw=; b=WkCokWcm946tTfnB/hIN41iFQP7tp/wmgTd/uaJ03mdd7UqNzVthhqKmbEY/YJLwTH A+pBooclbJ2sgXGs++GOQWsISlAMeUhNFQnf7imnYhr0PqeO76AQlrFct3bz/nd1/j8z IXN3qPJCC9Z238VazZnQUNkEuy51S009TI7KRdlQwmSXqBtVv0VAHIGHXgtuhBGfB4lx hDv1iHjl2X3eda+2qqRhIFWJn//DNGvBXzNhIGK6Vk4IRIWGzuw78kun/merbAWSsKYX ow6Y96/NzE9QnT17eK3rog7A+L5sZGwmnNdO6D6vgLu7pAof+N7ayv4LVrgQOdoGl69d ZCWw== X-Gm-Message-State: AGi0PuZgtLGEvjvtoJAh5+RXQAIPPKxIjfaSd+7HuCsFipKMFg0pnIL9 dbKumZJcXj0Gu36LrWyi+Es= X-Google-Smtp-Source: APiQypKJ2YOD8oDhU3sz3jK6pjD1VxIjJeE5OARyrPPZk06XM//yOeioy1T+fqu3r56/K4rAh4OOIQ== X-Received: by 2002:aca:b487:: with SMTP id d129mr6408822oif.115.1587716020784; Fri, 24 Apr 2020 01:13:40 -0700 (PDT) Received: from ubuntu-s3-xlarge-x86 ([2604:1380:4111:8b00::1]) by smtp.gmail.com with ESMTPSA id m189sm271658oig.12.2020.04.24.01.13.40 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 24 Apr 2020 01:13:40 -0700 (PDT) Date: Fri, 24 Apr 2020 01:13:38 -0700 From: Nathan Chancellor To: Michael Ellerman Subject: Re: [PATCH] lib/mpi: Fix building for powerpc with clang Message-ID: <20200424081338.GA32106@ubuntu-s3-xlarge-x86> References: <20200413195041.24064-1-natechancellor@gmail.com> <20200414135731.GA8766@gondor.apana.org.au> <20200423163602.GA18872@ubuntu-s3-xlarge-x86> <87eesdh8hy.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87eesdh8hy.fsf@mpe.ellerman.id.au> User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Herbert Xu , linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com, Paul Mackerras , linux-crypto@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kbuild test robot Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Fri, Apr 24, 2020 at 01:23:37PM +1000, Michael Ellerman wrote: > Nathan Chancellor writes: > > On Tue, Apr 14, 2020 at 11:57:31PM +1000, Herbert Xu wrote: > >> On Mon, Apr 13, 2020 at 12:50:42PM -0700, Nathan Chancellor wrote: > >> > 0day reports over and over on an powerpc randconfig with clang: > >> > > >> > lib/mpi/generic_mpih-mul1.c:37:13: error: invalid use of a cast in a > >> > inline asm context requiring an l-value: remove the cast or build with > >> > -fheinous-gnu-extensions > >> > > >> > Remove the superfluous casts, which have been done previously for x86 > >> > and arm32 in commit dea632cadd12 ("lib/mpi: fix build with clang") and > >> > commit 7b7c1df2883d ("lib/mpi/longlong.h: fix building with 32-bit > >> > x86"). > >> > > >> > Reported-by: kbuild test robot > >> > Link: https://github.com/ClangBuiltLinux/linux/issues/991 > >> > Signed-off-by: Nathan Chancellor > >> > >> Acked-by: Herbert Xu > >> -- > >> Email: Herbert Xu > >> Home Page: http://gondor.apana.org.au/~herbert/ > >> PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt > > > > Might be better for you to take this instead. 0day just tripped over > > this again. > > Sorry I missed the ack. Will pick it up today. > > cheers Thank you! Cheers, Nathan