[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKcpw6VrbA2+mq42=0FjE7Y9e6OM-Q9WxvYPWtAF4t0hRWKB1A@mail.gmail.com>
Date: Thu, 8 Apr 2021 09:42:11 +0800
From: YunQiang Su <wzssyqa@...il.com>
To: Sudip Mukherjee <sudipm.mukherjee@...il.com>
Cc: Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
linux-mips <linux-mips@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: build failure of malta_qemu_32r6_defconfig
Sudip Mukherjee <sudipm.mukherjee@...il.com> 于2021年4月8日周四 上午2:26写道:
>
> Hi Thomas,
>
> I was building v5.10.28 with malta_qemu_32r6_defconfig and noticed that
> it fails to build, so tried next-20210407 to see if it has been fixed.
> But linux-next also has the issue with gcc-10.
>
> The error is:
>
> ./arch/mips/include/asm/vdso/gettimeofday.h: In function '__vdso_clock_gettime':
> ./arch/mips/include/asm/vdso/gettimeofday.h:103:2: error: the register 'lo' cannot be clobbered in 'asm' for the current target
> 103 | asm volatile(
> | ^~~
this operation try to save lo and hi register, while they are not
exisiting on r6.
We are working on figure out a patch for it.
> ./arch/mips/include/asm/vdso/gettimeofday.h: In function '__vdso_gettimeofday':
> ./arch/mips/include/asm/vdso/gettimeofday.h:33:2: error: the register 'lo' cannot be clobbered in 'asm' for the current target
> 33 | asm volatile(
> | ^~~
> ./arch/mips/include/asm/vdso/gettimeofday.h: In function '__vdso_clock_getres':
> ./arch/mips/include/asm/vdso/gettimeofday.h:123:2: error: the register 'lo' cannot be clobbered in 'asm' for the current target
> 123 | asm volatile(
> | ^~~
> ./arch/mips/include/asm/vdso/gettimeofday.h: In function '__vdso_clock_gettime64':
> ./arch/mips/include/asm/vdso/gettimeofday.h:57:2: error: the register 'lo' cannot be clobbered in 'asm' for the current target
> 57 | asm volatile(
> | ^~~
>
> Any idea how to fix this? Please ignore if it has been reported before.
>
>
> --
> Regards
> Sudip
--
YunQiang Su
Powered by blists - more mailing lists