Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7656991imu; Mon, 3 Dec 2018 17:04:36 -0800 (PST) X-Google-Smtp-Source: AFSGD/XxrkgbdwcZocbVm85AukfRy0Uoff1vGF1ZwmHdCh9NzwVgoRJObjuTMEAmX1bDnOK7bZYT X-Received: by 2002:a62:7504:: with SMTP id q4mr17726738pfc.180.1543885476076; Mon, 03 Dec 2018 17:04:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543885476; cv=none; d=google.com; s=arc-20160816; b=kzfJZzm/yZ8xGZxkazNwpN87V9dX0bkqG4Yqli6IyHsCmOf5xDalTLfWzC6JdlicCF lKVViMw6gD9YzR+Mfxuv1roUirIX5iXUsP6PfDiUAJRTED0xqRVzLigpOY4MnKrjrjvO hVoRVg4rHouu8xMNtA75ts+AxPabk5ENDIdZ2xekza3UmwQuqgbudo1DAai1Mbmt3WSK GQBRJRJpqAG+pww3ipilk4g8jHZN+viqp1VWT1NLThiz9F41tcZVEbzxa82cNYxbPs9v WEtUaz9intfOM7U+IAnqnMKCJAY0Y1qE6u8/GGCZq4WE4UxF79QZmJrZy+h+dczvASp7 rQqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=B1k4S9CGkTRzud/bUdxQfbiyMNJ4S6wrqAxCABkkhr8=; b=Ms374o0Sgiz/gAoOy5DT47zu0x+BC/1+ftXpV4sTmbcGnbsf5Dkv5E/OVwNKxW96bb 8FDO34PGh4FwE97HQ2rHUNcE00V6xP2bjZ8/u1ug8hhDyA+5h5kDbmWwxTJvR67rdXJY dMU9IjjE8xYfXIK25JPRvTYRfxZfN5JT2NbgBayrKebGpqBAXVf+8lpgRZ4Wwe/kpoO4 k8uiYTHr89rf4HfYaXI6UmsvRJ585+ThZK1N2gc8EJNKEwvoHCrSn3vJ7rTdcbwP8uot FXrGIex4OAK+eyTWaLLR/S/fi6bliOhaaR5/Tx+/dGSyOpinCVvSgOIHaun5Ml6KNyxc rCuQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f13si16882132plm.393.2018.12.03.17.04.20; Mon, 03 Dec 2018 17:04:36 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726017AbeLDBDk (ORCPT + 99 others); Mon, 3 Dec 2018 20:03:40 -0500 Received: from gate.crashing.org ([63.228.1.57]:45997 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725943AbeLDBDj (ORCPT ); Mon, 3 Dec 2018 20:03:39 -0500 Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id wB4138Lj002163; Mon, 3 Dec 2018 19:03:08 -0600 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id wB3NOgsV026184; Mon, 3 Dec 2018 17:24:42 -0600 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Mon, 3 Dec 2018 17:24:41 -0600 From: Segher Boessenkool To: Joel Stanley Cc: Nick Desaulniers , Kees Cook , Arnd Bergmann , Jinsong Ji , Linux Kernel Mailing List , linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH v2] raid6/ppc: Fix build for clang Message-ID: <20181203232440.GB3803@gate.crashing.org> References: <20181102004455.10157-1-joel@jms.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 04, 2018 at 08:43:47AM +1030, Joel Stanley wrote: > On Tue, 4 Dec 2018 at 05:15, Nick Desaulniers wrote: > > > > > +ifdef CONFIG_CC_IS_CLANG > > > > > +# clang ppc port does not yet support -maltivec when -msoft-float is > > > > > +# enabled. A future release of clang will resolve this > > > > > +# https://bugs.llvm.org/show_bug.cgi?id=31177 > > As in clang itself crashes, and cc-option/kbuild can't handle that gracefully? > > The developer gets something like this: > > SplitVectorResult #0: t196: v16i8 = llvm.ppc.altivec.vcmpgtsb > TargetConstant:i64<4823>, t146, t195 > fatal error: error in backend: Do not know how to split the result of > this operator! > clang-8: error: clang frontend command failed with exit code 70 (use > -v to see invocation) -msoft-float simply means not to use FPRs, and nothing more or less, so that is a pretty interesting failure (will probably turn out to be a typo or something else boring, but it is fun while it lasts). Segher