Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1148932ybh; Thu, 16 Jul 2020 04:40:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTvonlt2PMbOw6Ws40HpvGvxH8a1heqdotRY5HCJqd8y0NLiZHTD2LAChztECp8iWuu8Pi X-Received: by 2002:a50:cf09:: with SMTP id c9mr4204024edk.90.1594899615480; Thu, 16 Jul 2020 04:40:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594899615; cv=none; d=google.com; s=arc-20160816; b=E2mERdQvX/Y3VM3Jg4HbzP2cBtfQ5nFCukX1GUpPVNCuhT0gr2MtPKmj87qVxnIpmM VsRHX0+9qBAoIjhN4JJDArqXlX6Z7J26VfD69i1PcI+YYyTaZAplE1berouV20IsDCy/ 5LvwZDEpkXhwJgIdrlQXnSTHIFaxqgabWJL/4sC/gzTI4IgD0n6ObfPINZY5Rwh68Ep6 nu1gr6bC2BsVjO5JWvroE/Uyu+Hw9iIPgxkHTXBoL9YYFMtyJPb05e9B0J4pohYrtJg8 7sOjreQvblxr/166I8iduRPTnkznA77isbOectQa4/qQVqS8oPztd8B7NxBNw5kn3PZT 4huQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=cAxasWlZO5rbqAfbRmZjK6evk3DtyNV2CoEc2bjIOcI=; b=Qz3jFOWAr5THM6pLiPGYVYAAqG0NofLhoVWSuDOPdafH4/NDNSJRs+j6gyqVnhaNgv Q/O9hnctws+3vMmcI1vU1NPZRnTvx7UzjXnA/RQWBlWeV/Q3Mo6GLp8pChnlMwjJcJaX DuocdJLvWoURDJA5vbp5cfvZSX9DKS7+Bq00VJzsnRLuvw0sL6lU7iNPLGEGh+mTL+Ne dbY6VpCPzhXorOGg2S1ou3v2hv+gdOn454F6M4yTEe+VYCSO8dbuzyKcgv3bSMuR3vXr sPXoIfzbyTzkTuXq1oXw6u0IzE6c13g6tKs4TwngoUCvNyjLsikmxX2vfAGmhaIbyTDD NCow== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=AEG3Xqx+; 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 ss14si2950300ejb.732.2020.07.16.04.39.53; Thu, 16 Jul 2020 04:40:15 -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; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=AEG3Xqx+; 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 S1728164AbgGPLhh (ORCPT + 99 others); Thu, 16 Jul 2020 07:37:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727831AbgGPLhg (ORCPT ); Thu, 16 Jul 2020 07:37:36 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81252C061755; Thu, 16 Jul 2020 04:37:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description; bh=cAxasWlZO5rbqAfbRmZjK6evk3DtyNV2CoEc2bjIOcI=; b=AEG3Xqx+k0Yz4V/dTDwOahXYvC h2UnFSoC4QAKeL3tnuH00TrCnOR02Fn4rMlO2+CaFBCxsp97xS3cNW5jJI5fq86Lvpsbs2+Z9blCZ zsOd/Mh7cL5tXeSeEG7bEaoUUHGllZB2FoG32b4JVIutNqJeoluBxC0MK3TKJ+EUpLW6fT8INHer1 JpMkxsFXj/jTUv+La/dmbhEWrqFgTv2sIah2s1HQb8S3FNCXX+8cbZjaWzND0AQqIIMikd9GNXdDe h87sZSvWge9lf8iC+zkSD9EqyP2w/a8C3hxiIDD4K3ojP9vktOgtFjjqyMN2kYI/geCcEQWkAbhbi xmgZVuOA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw2CY-0004Nc-Hk; Thu, 16 Jul 2020 11:37:22 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 10AFE300446; Thu, 16 Jul 2020 13:37:20 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id BD0CC234E2C20; Thu, 16 Jul 2020 13:37:20 +0200 (CEST) Date: Thu, 16 Jul 2020 13:37:20 +0200 From: peterz@infradead.org To: John Paul Adrian Glaubitz Cc: Geert Uytterhoeven , Rich Felker , Christoph Hellwig , Yoshinori Sato , Linux-sh list , Linux Kernel Mailing List Subject: Re: ioremap and dma cleanups and fixes for superh (2nd resend) Message-ID: <20200716113720.GC119549@hirez.programming.kicks-ass.net> References: <0322def7-fc16-c805-8f2b-c88fffce2f1e@physik.fu-berlin.de> <2df7ca7f-7e26-c916-b6ac-4ec1913fb8d7@physik.fu-berlin.de> <20200716094039.GQ10769@hirez.programming.kicks-ass.net> <20200716102934.GC43129@hirez.programming.kicks-ass.net> <20200716110146.GB119549@hirez.programming.kicks-ass.net> <008b06d4-1edd-1610-2ee1-6ea402d06114@physik.fu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <008b06d4-1edd-1610-2ee1-6ea402d06114@physik.fu-berlin.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 16, 2020 at 01:03:36PM +0200, John Paul Adrian Glaubitz wrote: > Hi Peter! > > On 7/16/20 1:01 PM, peterz@infradead.org wrote: > >> The build fails with: > >> > >> CC mm/mmu_gather.o > >> mm/mmu_gather.c: In function ‘tlb_table_invalidate’: > >> mm/mmu_gather.c:180:6: error: implicit declaration of function ‘tlb_needs_table_invalidate’; did you mean ‘tlb_table_invalidate’? [-Werror=implicit-function-declaration] > >> 180 | if (tlb_needs_table_invalidate()) { > >> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > >> | tlb_table_invalidate > >> cc1: some warnings being treated as errors > >> make[1]: *** [scripts/Makefile.build:281: mm/mmu_gather.o] Error 1 > >> make: *** [Makefile:1756: mm] Error 2 > > > > *sigh*, thanks, I'll go dig out the local cross compiler set then. > > FWIW, I recommend keeping a Debian box at hand where installing the cross-compiler > is a matter of running "apt install gcc-sh4-linux-gnu" ;-). I happen to have Debian on most of my machines ;-) And I used to crosstool build my own toolchains for a while, but these days I mostly just fetch them from kernel.org, since they're being kept up-to-date fairly often. $ /opt/cross/bin/sh4-linux-gcc --version sh4-linux-gcc (GCC) 10.1.0