Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp606688pxj; Thu, 10 Jun 2021 08:25:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0Q9S08fxfzgFO9shP0z05urCj0HdGWIFXixyvTuLEBSVw+6Qd2uwlSoXIDJ/mI+DTENGx X-Received: by 2002:a17:906:6549:: with SMTP id u9mr133055ejn.506.1623338719654; Thu, 10 Jun 2021 08:25:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623338719; cv=none; d=google.com; s=arc-20160816; b=a24UHzEu27kDKqfzCYQfVarvaSzpCj7IuAUvm4XmZ9czxPwNz8q0fc+Q/TDwp6Sby6 0CcP8xTDJYp1F/Qj0GDr4qQYWZi9vmdWJFWhRn2CyCQO9/MybKq3OyWHt6fHh8IOFFf2 lCDW2lIzcjKEnDboSVVoywdjHH5yzXkQvR4Xc3XuzpG5Z60yz7oFlZufhQ9um4OZEjKP Pj3MJ2iEmoKtLlFMkYaCZp1OLK38O9CIj8afoh7xavwPrKOy+HOcAb1caRycOjjGRl3f it9zDBfU07+BQhZMAlSjHiU7noJ93c0xaILSrSVPP2IMxGjgQ0hyMzPfDK7p9xnxuHT3 jVoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=3Ej5P5tx5dtSxxBW7k1EFpHtYa/YcmCF6fHw4t2UiP8=; b=RtgzKmHDD1STetE9pKYh1tZFcJ0FNh7VHHMO6xXnzYIdCuZF4xRugT78GfIHT3eLZO XfOzTrD4O0ULhHlJmJtkjd6TVg6Jcb5ApQrZIHKMgzR9Y1TzmN3QGAFu7TMRK1O8MQ+O 8oYwWIU6XwTEcxRRtRYih4bgM8B1APi5q9bstvQL7LBULLrKpXAeT8vQt7DDvoItPTUL oEubTzzos8EMxUS7ABc4XwMB2fITeLN7LKg94Jgd3BvmLf6Gp0ZU0LfCjiZDaUGpbxJa YIbthNQrST1QAaL56Ag0lrU9WPtcfeXoWOzWFYSHiART7ae15MH+g3RefVMDfefKU3pG Y4ig== 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 j5si2252902eds.204.2021.06.10.08.24.52; Thu, 10 Jun 2021 08:25:19 -0700 (PDT) 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 S231442AbhFJPZe (ORCPT + 99 others); Thu, 10 Jun 2021 11:25:34 -0400 Received: from mx2.cyber.ee ([45.144.6.23]:53003 "EHLO mx2.cyber.ee" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230329AbhFJPZd (ORCPT ); Thu, 10 Jun 2021 11:25:33 -0400 X-Greylist: delayed 465 seconds by postgrey-1.27 at vger.kernel.org; Thu, 10 Jun 2021 11:25:33 EDT Subject: Re: linux-parisc compile failure in current git To: Masahiro Yamada , Helge Deller Cc: Parisc List , Linux Kernel Development References: <892b6ab7-862c-1c0a-2996-0f8408e5043d@linux.ee> <89515325-fc21-31da-d238-6f7a9abbf9a0@gmx.de> From: Meelis Roos Message-ID: <946c5f64-5cca-2395-5e69-6e573ea6a72b@linux.ee> Date: Thu, 10 Jun 2021 18:13:51 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 10.06.21 05:03 Masahiro Yamada wrote: > There are some options > > [option 1] > revert the parisc bit of 23243c1ace9fb4eae2f75e0fe0ece8e3219fb4f3 > This will restore the functionality you may want, but > as I said above, Kconfig is doing pointless things. > > [option 2] > Stop using cc-cross-prefix, and pass CROSS_COMPILE explicitly. > This is what many architectures including arm, arm64 do. > You need to explicitly pass CROSS_COMPILE=aarch64-linux-gnu- etc. > if you are cross-compiling arm64. > > [option 3] > Introduce ARCH=parisc64. > > When you are building 64-bit kernel, you can pass ARCH=parisc64 > > A patch attached. (but not tested much) Tested on my gentoo with separate compilers. Compiles fine, boots and has so far compiled 21 paxkageswith no trouble so seems to work - thank you! -- Meelis Roos