Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp3269272ioo; Tue, 24 May 2022 18:17:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyv+OssMYch4WFXhzn8H1hnzTK2eghH7fpi1cLwYE54IvIyceE2YFQ68IZhJEvg7y72AfE4 X-Received: by 2002:a17:903:186:b0:161:f394:3e75 with SMTP id z6-20020a170903018600b00161f3943e75mr23397278plg.113.1653441461299; Tue, 24 May 2022 18:17:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653441461; cv=none; d=google.com; s=arc-20160816; b=de1RoaPuJ2IFYfgQ9SxFWwFUDKe12TQXdu4y8uGLiI7u3YCZ/GgfGMJYjB7hTzqC03 G0NvhZvuqPiShHQIzIJax8YlYR36Idh7hn52A2t0cNV4v3PZTLV4b3VRRfpAA/eCsR+9 4Bnh+ptOsh8fZwo9SEYv0m3ExUst9V+ngVo53vdEjuDwL7LGIEmtd1iymPOuzT5aYFxd nSg2USb46uAG94l9dPyLQvzErpPTeLKPm7eS29jd9GnP/SWpp8YlreO4d+ysFcb9KE47 ctJ4fg5+kUS1cz403bBrAwZIgVxQGwlUqcnnnPS6Z+x53CyAhBEq4rOf0xDiPeZwVQWL 6SFg== 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=PiH4BgcYAc4IG9zPEgZKBXLDTIp7nrT1KO4NWHqCHKk=; b=oQspYxzQdvtbKxSt0yZTo1q/VBH2nnnAWZmX+aJtkGnk8k6854GtJqCNK4xob4a8xc OrETQcx6MMowmdAKk0h50RL+akuLco2K9l2H2L9AN+/mZQa1tsSSNBFdAVXMSYQSo8IF q1S679ndmS3VJ2tq3UBcnvM9xzSH9Jh2fBV2woIP1evxzvp9Gg+Q1ovzg1LlZF2RHwT+ UdSkxUb8gr0nWxWMF6pm32EDq+hiaJnPLCG1N+kDIPedw3aj8CPvr0Jh60nDZnJGoVno WuAqTGa8qb3TmtGbK67CBxAHX1b8X0HSLt1QJhcTm7e97k7GmSa1UNUS3h1usTwW8rTo eHcA== 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 j12-20020a170903024c00b0015d3a9ee940si16795587plh.149.2022.05.24.18.17.28; Tue, 24 May 2022 18:17:41 -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 S240135AbiEXSFe (ORCPT + 99 others); Tue, 24 May 2022 14:05:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232721AbiEXSFa (ORCPT ); Tue, 24 May 2022 14:05:30 -0400 Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5642E1FCEE for ; Tue, 24 May 2022 11:05:28 -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 24OHxu8g026332; Tue, 24 May 2022 12:59:56 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id 24OHxtwj026331; Tue, 24 May 2022 12:59:55 -0500 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Tue, 24 May 2022 12:59:55 -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: <20220524175955.GI25951@gate.crashing.org> References: <20220524093939.30927-1-pali@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220524093939.30927-1-pali@kernel.org> 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 Hi! On Tue, May 24, 2022 at 11:39:39AM +0200, Pali Rohár wrote: > gcc e500 compiler does not support -mcpu=powerpc option. When it is > specified then gcc throws compile error: > > gcc: error: unrecognized argument in option ‘-mcpu=powerpc’ > gcc: note: valid arguments to ‘-mcpu=’ are: 8540 8548 native What? Are you using some modified version of GCC, perhaps? No version of GCC that isn't hamstrung can have this output. Segher