[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200716113720.GC119549@hirez.programming.kicks-ass.net>
Date: Thu, 16 Jul 2020 13:37:20 +0200
From: peterz@...radead.org
To: John Paul Adrian Glaubitz <glaubitz@...sik.fu-berlin.de>
Cc: Geert Uytterhoeven <geert@...ux-m68k.org>,
Rich Felker <dalias@...c.org>, Christoph Hellwig <hch@....de>,
Yoshinori Sato <ysato@...rs.sourceforge.jp>,
Linux-sh list <linux-sh@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: ioremap and dma cleanups and fixes for superh (2nd resend)
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@...radead.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
Powered by blists - more mailing lists