Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp4178029ioo; Wed, 25 May 2022 17:28:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwC1qTV0gJZtimGdSOag4a8JFKsp/JNvDQkRBLFDUsVY+ijRC1C5W5GIaMZkDS3AqUvF8Iu X-Received: by 2002:a17:902:8ecb:b0:162:bc8:9361 with SMTP id x11-20020a1709028ecb00b001620bc89361mr22845980plo.25.1653524933439; Wed, 25 May 2022 17:28:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653524933; cv=none; d=google.com; s=arc-20160816; b=uB1JKJb6NtdgglWbLKN1En9WhnfJ/YOAyes6NM7mXHRPZSzBCd8SRjdAQPMWCj6p9e 12Ak4u5pNCWlZJeJhSArilp36XyL5DNdejiohBG43uzPtLPgxZFRg5TgCNmD//tBsPKu SjrLYJ4l5q7mP8kcwNCt6zfPTEmwtUfxhLR6fcTKpQIwHHu64mcv6wLOHQwFwNKZgGP/ fzaoYxEH4FU5MmOfZR8N7feeTs/co7Coxv81vuAy1gpLACmlPMYGPbse7zLQu6JYbJ4f 0q1j0t4aWeL1VUdJYoqWbE9vYbpLv66E2MOlXNM5xv1EqhuHxOqz/r050K7HrjvSzO+Z we7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=cPX0rBzYOvFOqbpSeEsLFvsINVfbjAys+ymkDXHp8GQ=; b=B8Oa+ssD25iF0VgQI/YShMWXOdt9cCk3TEDJcL5HEgJStgXbM0/Zv+utROh+/w6nL3 NYD1St9rc8yhBKEyXAGgauYlNMfN6gaPUdksqdy9+aq9GrCbUOEbftii/n7CJwyq9A3r l60vzNQW0SkCkMxag2K6AwaFq8giPjKBNMWvveIMYSp+nFlBYZGCbYV5Z+zGFMr9a177 PqWK7yeGFHKJhmPE3XFN6ZV7U35UK+aKV7x6UaDs+fyrUrrOdA+H6UKh5KmTV6tRePN4 BEJqsl4TtBhg+yC3200LTuBKq4aGltv+0FOr2s7+Jupyhf6TrcldUuGE7Ee9k4/SEgP+ RwUA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k11-20020a62840b000000b005189b8cc500si13326246pfd.124.2022.05.25.17.28.41; Wed, 25 May 2022 17:28:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241263AbiEXT5u (ORCPT + 99 others); Tue, 24 May 2022 15:57:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241244AbiEXT5g (ORCPT ); Tue, 24 May 2022 15:57:36 -0400 Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9840E175BC for ; Tue, 24 May 2022 12:57:35 -0700 (PDT) Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id 24OJqGUX030520; Tue, 24 May 2022 14:52:16 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id 24OJqGgw030519; Tue, 24 May 2022 14:52:16 -0500 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Tue, 24 May 2022 14:52:16 -0500 From: Segher Boessenkool To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] powerpc: e500: Fix compilation with gcc e500 compiler Message-ID: <20220524195216.GL25951@gate.crashing.org> References: <20220524093939.30927-1-pali@kernel.org> <20220524175955.GI25951@gate.crashing.org> <20220524181255.bmszzxmbwzv7zed7@pali> <20220524185247.GK25951@gate.crashing.org> <20220524191610.hnodzz2j7mlgthey@pali> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220524191610.hnodzz2j7mlgthey@pali> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 24, 2022 at 09:16:10PM +0200, Pali Roh?r wrote: > On Tuesday 24 May 2022 13:52:47 Segher Boessenkool wrote: > > Aha. Right, because this config forces -mspe it requires one of these > > CPUs. > > > > You can use a powerpc-linux compiler instead, and everything will just > > work. These CPUs are still supported, in all of GCC 9 .. GCC 12 :-) > > Ok. I can use different "generic" powerpc compiler (It should work fine > as you said, as it has also -mcpu=8540 option). But I think that > compilation of kernel should be supported also by that gcc 8.5.0 e500 > compiler. That linuxspe compiler you mean. Sure, why not, the more the merrier, as long as it doesn't get in the way of other stuff, I won't protest. But please don't confuse people: you are talking about a powerpc-linuxspe compiler, not e500, which is supported just fine by current GCC trunk still, and does not have such limitations :-) Segher