All of lore.kernel.org
 help / color / mirror / Atom feed
* build failure of malta_qemu_32r6_defconfig
@ 2021-04-07 18:26 Sudip Mukherjee
  2021-04-08  1:42 ` YunQiang Su
  0 siblings, 1 reply; 5+ messages in thread
From: Sudip Mukherjee @ 2021-04-07 18:26 UTC (permalink / raw)
  To: Thomas Bogendoerfer; +Cc: linux-mips, linux-kernel

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(
      |  ^~~
./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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: build failure of malta_qemu_32r6_defconfig
  2021-04-07 18:26 build failure of malta_qemu_32r6_defconfig Sudip Mukherjee
@ 2021-04-08  1:42 ` YunQiang Su
  2021-04-09 12:16   ` Thomas Bogendoerfer
  0 siblings, 1 reply; 5+ messages in thread
From: YunQiang Su @ 2021-04-08  1:42 UTC (permalink / raw)
  To: Sudip Mukherjee; +Cc: Thomas Bogendoerfer, linux-mips, LKML

Sudip Mukherjee <sudipm.mukherjee@gmail.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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: build failure of malta_qemu_32r6_defconfig
  2021-04-08  1:42 ` YunQiang Su
@ 2021-04-09 12:16   ` Thomas Bogendoerfer
  2021-04-17 23:01     ` Sudip Mukherjee
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Bogendoerfer @ 2021-04-09 12:16 UTC (permalink / raw)
  To: YunQiang Su; +Cc: Sudip Mukherjee, linux-mips, LKML

On Thu, Apr 08, 2021 at 09:42:11AM +0800, YunQiang Su wrote:
> Sudip Mukherjee <sudipm.mukherjee@gmail.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.

looks like there is already a patch in patchwork, which just needs
a workup:

https://patchwork.kernel.org/project/linux-mips/patch/20200801154401.4177009-1-romain.naour@gmail.com/

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: build failure of malta_qemu_32r6_defconfig
  2021-04-09 12:16   ` Thomas Bogendoerfer
@ 2021-04-17 23:01     ` Sudip Mukherjee
  2021-04-20  8:34       ` Thomas Bogendoerfer
  0 siblings, 1 reply; 5+ messages in thread
From: Sudip Mukherjee @ 2021-04-17 23:01 UTC (permalink / raw)
  To: Thomas Bogendoerfer; +Cc: YunQiang Su, linux-mips, LKML

Hi Thomas,

On Fri, Apr 9, 2021 at 1:17 PM Thomas Bogendoerfer
<tsbogend@alpha.franken.de> wrote:
>
> On Thu, Apr 08, 2021 at 09:42:11AM +0800, YunQiang Su wrote:
> > Sudip Mukherjee <sudipm.mukherjee@gmail.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.
>
> looks like there is already a patch in patchwork, which just needs
> a workup:
>
> https://patchwork.kernel.org/project/linux-mips/patch/20200801154401.4177009-1-romain.naour@gmail.com/

Looks like there has been no response to it since last 8 months. Do
you want me to respin it and send a proper patch?


--
Regards
Sudip

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: build failure of malta_qemu_32r6_defconfig
  2021-04-17 23:01     ` Sudip Mukherjee
@ 2021-04-20  8:34       ` Thomas Bogendoerfer
  0 siblings, 0 replies; 5+ messages in thread
From: Thomas Bogendoerfer @ 2021-04-20  8:34 UTC (permalink / raw)
  To: Sudip Mukherjee; +Cc: YunQiang Su, linux-mips, LKML

On Sun, Apr 18, 2021 at 12:01:36AM +0100, Sudip Mukherjee wrote:
> Hi Thomas,
> 
> On Fri, Apr 9, 2021 at 1:17 PM Thomas Bogendoerfer
> <tsbogend@alpha.franken.de> wrote:
> >
> > On Thu, Apr 08, 2021 at 09:42:11AM +0800, YunQiang Su wrote:
> > > Sudip Mukherjee <sudipm.mukherjee@gmail.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.
> >
> > looks like there is already a patch in patchwork, which just needs
> > a workup:
> >
> > https://patchwork.kernel.org/project/linux-mips/patch/20200801154401.4177009-1-romain.naour@gmail.com/
> 
> Looks like there has been no response to it since last 8 months. Do
> you want me to respin it and send a proper patch?

that would me fantastic and much appreciated :-)

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-04-20  8:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-07 18:26 build failure of malta_qemu_32r6_defconfig Sudip Mukherjee
2021-04-08  1:42 ` YunQiang Su
2021-04-09 12:16   ` Thomas Bogendoerfer
2021-04-17 23:01     ` Sudip Mukherjee
2021-04-20  8:34       ` Thomas Bogendoerfer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.