[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210705150918.GC12584@alpha.franken.de>
Date: Mon, 5 Jul 2021 17:09:18 +0200
From: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
To: Randy Dunlap <rdunlap@...radead.org>
Cc: linux-kernel@...r.kernel.org, kernel test robot <lkp@...el.com>,
linux-mips@...r.kernel.org
Subject: Re: [PATCH] mips: CONFIG_KERNEL_LZ4 needs obj/bswapsi.o
On Sun, Jul 04, 2021 at 04:02:38PM -0700, Randy Dunlap wrote:
> Add obj/bswapsi.o for CONFIG_KERNEL_LZ4 to fix undefined references
> during linking.
>
> mips64-linux-ld: arch/mips/boot/compressed/decompress.o: in function `decompress_kernel':
> decompress.c:(.text+0x34e0): undefined reference to `__bswapsi2'
> mips64-linux-ld: decompress.c:(.text+0x3504): undefined reference to `__bswapsi2'
> mips64-linux-ld: decompress.c:(.text+0x3530): undefined reference to `__bswapsi2'
>
> #Fixes: d0nt0110kn0w ("I couldn't find where __bswapsi2 is used.")
> Reported-by: kernel test robot <lkp@...el.com>
> Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
> Cc: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
> Cc: linux-mips@...r.kernel.org
> ---
> arch/mips/boot/compressed/Makefile | 1 +
> 1 file changed, 1 insertion(+)
Arnd sent a little bit different fix, which I've applied instead.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
Powered by blists - more mailing lists