Re: linux-next: Tree for May 21 (objtool warnings)

2020-05-26 Thread Miroslav Benes
On Tue, 26 May 2020, Josh Poimboeuf wrote: > On Mon, May 25, 2020 at 01:07:27PM +0200, Miroslav Benes wrote: > > > I'll try to find out which optimization does this, because it is a > > > slightly different scenario than hiding __noreturn from the callees. > > > Probably -fno-ipa-pure-const agai

Re: linux-next: Tree for May 21 (objtool warnings)

2020-05-26 Thread Josh Poimboeuf
On Mon, May 25, 2020 at 01:07:27PM +0200, Miroslav Benes wrote: > > I'll try to find out which optimization does this, because it is a > > slightly different scenario than hiding __noreturn from the callees. > > Probably -fno-ipa-pure-const again. > > And it is indeed -fno-ipa-pure-const again.

Re: linux-next: Tree for May 21 (objtool warnings)

2020-05-25 Thread Randy Dunlap
On 5/25/20 3:10 AM, Miroslav Benes wrote: > On Thu, 21 May 2020, Randy Dunlap wrote: > >> On 5/21/20 7:12 AM, Stephen Rothwell wrote: >>> Hi all, >>> >>> Changes since 20200519: >>> > > These are indeed caused by -flive-patching > >> on x86_64: >> >> fs/open.o: warning: objtool: chmod_common()+

Re: linux-next: Tree for May 21 (objtool warnings)

2020-05-25 Thread Miroslav Benes
> I'll try to find out which optimization does this, because it is a > slightly different scenario than hiding __noreturn from the callees. > Probably -fno-ipa-pure-const again. And it is indeed -fno-ipa-pure-const again. Miroslav

Re: linux-next: Tree for May 21 (objtool warnings)

2020-05-25 Thread Miroslav Benes
On Thu, 21 May 2020, Randy Dunlap wrote: > On 5/21/20 7:12 AM, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20200519: > > These are indeed caused by -flive-patching > on x86_64: > > fs/open.o: warning: objtool: chmod_common()+0x104: unreachable instruction > fs/namei.o: warning:

Re: linux-next: Tree for May 21 (objtool warnings)

2020-05-22 Thread Josh Poimboeuf
On Thu, May 21, 2020 at 07:34:38PM -0700, Randy Dunlap wrote: > On 5/21/20 7:12 AM, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20200519: > > > > on x86_64: > > fs/open.o: warning: objtool: chmod_common()+0x104: unreachable instruction > fs/namei.o: warning: objtool: do_renameat2(

Re: linux-next: Tree for May 21 (objtool warnings)

2020-05-21 Thread Randy Dunlap
On 5/21/20 7:12 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20200519: > on x86_64: fs/open.o: warning: objtool: chmod_common()+0x104: unreachable instruction fs/namei.o: warning: objtool: do_renameat2()+0x482: unreachable instruction kernel/exit.o: warning: objtool: __ia32_sys_exit_