Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1570740pxb; Fri, 13 Nov 2020 17:00:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJzux7UoCS2G5b4f43TNCDRrviHi121VXuw0Cai+JumKN1+aMvSZJX2mwQ4mdSrhrMyG3Sre X-Received: by 2002:a17:906:e2da:: with SMTP id gr26mr466476ejb.265.1605315620631; Fri, 13 Nov 2020 17:00:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605315620; cv=none; d=google.com; s=arc-20160816; b=I6CWAinrhV8xm4wl3GMKVOifsiDl16w7Dy9JKK7ozyEEDX/nLX5quP0gXbjM+LO1xE 1urCTEu3CT+OFYKomakS+YPvSzZbIniV10Io1qFI0yZuo8m1DzQV9Iiu68kB9ZNKnNw4 ZDgeO48djJNcq5rtvP15NnDWE8T3UzzQw2NX7oX/KmclC6TwEiD2K/ZEZglX4n6sNpok RerlfbT4hYMgm7AocNvxgZnIPrlVy/5tSp1hdSi4+nQ4bGA7Glz7nM5pVluLL3/S/LuK U6EAeRlEHcLQogrRoN3zmKvQunEyCsqe+EcnmswB0BLIBVLAxiWVu2Ll1ea9JPONZXg1 T7yg== 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=AG86WGIeSc92p6J9wlCWQbwMqZAMUkA6XIBm3FJlES0=; b=P+58NS4ixFnopjrAY7tPjDaNrLwoPRqObW73DWlEcziq6uSLsXspZG/oHGSxiNpkeL Mjj6NNAInHAHQhFsiXL+9N8qJTODtI9sBzzTrHktkS8/OlK9GY0vC0grRH8fnioEFHFb pQCvBKuL5d6y2v1IEKbLz28eG0v3nCZJxgZq5gZR06JDEp4S7ScZz/Z4kBo7Z76NWxW0 G0RgObu8+Lubi9kEiHNHszA5soYTknzxuGDS5Nb0q9W/5tlc+0blsOcUBMIyS0rAPmGX tqGYWkYNAnjku5WOup2eTESdJMbE3wW5Bij584yAIYLPJCq+ETxTlJCK4XPX1jKr6DPh Aq6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d22si6214437ejr.471.2020.11.13.16.59.57; Fri, 13 Nov 2020 17:00:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726105AbgKNA6l (ORCPT + 99 others); Fri, 13 Nov 2020 19:58:41 -0500 Received: from gate.crashing.org ([63.228.1.57]:57961 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726028AbgKNA6l (ORCPT ); Fri, 13 Nov 2020 19:58:41 -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 0AE0oGe8007957; Fri, 13 Nov 2020 18:50:16 -0600 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id 0AE0oFOi007956; Fri, 13 Nov 2020 18:50:15 -0600 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Fri, 13 Nov 2020 18:50:15 -0600 From: Segher Boessenkool To: =?utf-8?B?RsSBbmctcnXDrCBTw7JuZw==?= Cc: Alan Modra , Nick Desaulniers , Nathan Chancellor , Michael Ellerman , Linus Torvalds , Arnd Bergmann , Brian Cain , kernel test robot , kbuild-all@lists.01.org, clang-built-linux , LKML , Masahiro Yamada , linuxppc-dev , Christophe Leroy Subject: Re: Error: invalid switch -me200 Message-ID: <20201114005015.GZ2672@gate.crashing.org> References: <202011131146.g8dPLQDD-lkp@intel.com> <20201113190824.GA1477315@ubuntu-m3-large-x86> <20201113200444.GA1496675@ubuntu-m3-large-x86> <20201114002037.GW2672@gate.crashing.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.3i Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 13, 2020 at 04:37:38PM -0800, Fāng-ruì Sòng wrote: > On Fri, Nov 13, 2020 at 4:23 PM Segher Boessenkool > wrote: > > On Fri, Nov 13, 2020 at 12:14:18PM -0800, Nick Desaulniers wrote: > > > > > > Error: invalid switch -me200 > > > > > > Error: unrecognized option -me200 > > > > > > > > > > 251 cpu-as-$(CONFIG_E200) += -Wa,-me200 > > > > > > > > > > Are those all broken configs, or is Kconfig messed up such that > > > > > randconfig can select these when it should not? > > > > > > > > Hmmm, looks like this flag does not exist in mainline binutils? There is > > > > a thread in 2010 about this that Segher commented on: > > > > > > > > https://lore.kernel.org/linuxppc-dev/9859E645-954D-4D07-8003-FFCD2391AB6E@kernel.crashing.org/ > > > > > > > > Guess this config should be eliminated? > > > > The help text for this config options says that e200 is used in 55xx, > > and there *is* an -me5500 GAS flag (which probably does this same > > thing, too). But is any of this tested, or useful, or wanted? > > > > Maybe Christophe knows, cc:ed. > > CC Alan Modra, a binutils global maintainer. > > Alan, can the few -Wa,-m* options deleted from arch/powerpc/Makefile ? All the others work fine (and are needed afaics), it is only -me200 that doesn't exist (in mainline binutils). Perhaps -me5500 will work for it instead. Segher