Re: [sparc64] kernel OOPS with gcc 7.1 / 7.2

2017-08-16 Thread David Miller
From: Anatoly Pugachev Date: Wed, 16 Aug 2017 11:42:43 +0300 > On Wed, Aug 16, 2017 at 7:30 AM, David Miller wrote: >> From: Anatoly Pugachev >> Date: Tue, 15 Aug 2017 21:50:45 +0300 >> >>> Together with Dmitry (ldv) , we've

Re: [sparc64] kernel OOPS with gcc 7.1 / 7.2

2017-08-16 Thread Anatoly Pugachev
On Wed, Aug 16, 2017 at 11:42 AM, Anatoly Pugachev wrote: > On Wed, Aug 16, 2017 at 7:30 AM, David Miller wrote: >> From: Anatoly Pugachev >> Date: Tue, 15 Aug 2017 21:50:45 +0300 >> >>> Together with Dmitry (ldv) , we've discovered

Re: [sparc64] kernel OOPS with gcc 7.1 / 7.2

2017-08-16 Thread Anatoly Pugachev
On Wed, Aug 16, 2017 at 7:30 AM, David Miller wrote: > From: Anatoly Pugachev > Date: Tue, 15 Aug 2017 21:50:45 +0300 > >> Together with Dmitry (ldv) , we've discovered that running test suite >> from strace produces kernel OOPS, when kernel is compiled

Re: [sparc64] kernel OOPS with gcc 7.1 / 7.2

2017-08-15 Thread David Miller
From: Anatoly Pugachev Date: Tue, 15 Aug 2017 21:50:45 +0300 > Together with Dmitry (ldv) , we've discovered that running test suite > from strace produces kernel OOPS, when kernel is compiled with gcc 7.1 > or with gcc 7.2 , but not with gcc 6 : Please try this patch: diff

Re: [sparc64] kernel OOPS with gcc 7.1 / 7.2

2017-08-15 Thread David Miller
From: Anthony Yznaga Date: Tue, 15 Aug 2017 17:45:12 -0700 > I compiled a kernel with gcc 7 and found that the compiler inserted a > call to __multi3() in mq_attr_ok(). The sparc64 implementation of > __multi3() was added by 1b4af13ff2cc specifically for gcc 7 and

Re: [sparc64] kernel OOPS with gcc 7.1 / 7.2

2017-08-15 Thread Anthony Yznaga
> On Aug 15, 2017, at 11:50 AM, Anatoly Pugachev wrote: > > Hello. > > Together with Dmitry (ldv) , we've discovered that running test suite > from strace produces kernel OOPS, when kernel is compiled with gcc 7.1 > or with gcc 7.2 , but not with gcc 6 : > > $ git clone

Re: [sparc64] kernel OOPS with gcc 7.1 / 7.2

2017-08-15 Thread Anatoly Pugachev
On Tue, Aug 15, 2017 at 11:08 PM, Sam Ravnborg wrote: > Hi Anatoly. > > On Tue, Aug 15, 2017 at 09:50:45PM +0300, Anatoly Pugachev wrote: >> Hello. >> >> Together with Dmitry (ldv) , we've discovered that running test suite >> from strace produces kernel OOPS, when kernel is

Re: [sparc64] kernel OOPS with gcc 7.1 / 7.2

2017-08-15 Thread Sam Ravnborg
Hi Anatoly. On Tue, Aug 15, 2017 at 09:50:45PM +0300, Anatoly Pugachev wrote: > Hello. > > Together with Dmitry (ldv) , we've discovered that running test suite > from strace produces kernel OOPS, when kernel is compiled with gcc 7.1 > or with gcc 7.2 , but not with gcc 6 : First, could you

[sparc64] kernel OOPS with gcc 7.1 / 7.2

2017-08-15 Thread Anatoly Pugachev
Hello. Together with Dmitry (ldv) , we've discovered that running test suite from strace produces kernel OOPS, when kernel is compiled with gcc 7.1 or with gcc 7.2 , but not with gcc 6 : $ git clone https://github.com/strace/strace.git ttip:~/strace$ ./bootstrap ttip:~/strace$ ./configure &&