* objtool patches needed in v4.14.y (and possibly older kernels)
@ 2018-01-17 21:49 Guenter Roeck
2018-01-18 13:59 ` Greg Kroah-Hartman
0 siblings, 1 reply; 5+ messages in thread
From: Guenter Roeck @ 2018-01-17 21:49 UTC (permalink / raw)
To: stable; +Cc: Greg Kroah-Hartman
Hi Greg,
please add the following patches to v4.14.y.
ce90aaf5cde4 objtool: Fix seg fault with clang-compiled objects
e7e83dd3ff1d objtool: Fix Clang enum conversion warning
0f908ccbeca9 tools/objtool/Makefile: don't assume sync-check.sh is executable
d89e426499cf objtool: Fix seg fault caused by missing parameter
They are needed to avoid problems when building v4.14.y with clang.
It might be useful to apply the same patches to older kernels
if/when retpoline related changes are applied to those kernels.
Thanks,
Guenter
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: objtool patches needed in v4.14.y (and possibly older kernels)
2018-01-17 21:49 objtool patches needed in v4.14.y (and possibly older kernels) Guenter Roeck
@ 2018-01-18 13:59 ` Greg Kroah-Hartman
2018-01-18 19:52 ` Guenter Roeck
0 siblings, 1 reply; 5+ messages in thread
From: Greg Kroah-Hartman @ 2018-01-18 13:59 UTC (permalink / raw)
To: Guenter Roeck; +Cc: stable
On Wed, Jan 17, 2018 at 01:49:07PM -0800, Guenter Roeck wrote:
> Hi Greg,
>
> please add the following patches to v4.14.y.
>
> ce90aaf5cde4 objtool: Fix seg fault with clang-compiled objects
> e7e83dd3ff1d objtool: Fix Clang enum conversion warning
> 0f908ccbeca9 tools/objtool/Makefile: don't assume sync-check.sh is executable
> d89e426499cf objtool: Fix seg fault caused by missing parameter
>
> They are needed to avoid problems when building v4.14.y with clang.
> It might be useful to apply the same patches to older kernels
> if/when retpoline related changes are applied to those kernels.
>From what I can tell, these only are needed for 4.14, the 4.9 and 4.4
backports of repoline didn't backport the huge objtool changes to ORC.
So hopefully it's all good there, otherwise I'm sure someone from the
Android team will complain I broke building with CLANG :)
thanks,
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: objtool patches needed in v4.14.y (and possibly older kernels)
2018-01-18 13:59 ` Greg Kroah-Hartman
@ 2018-01-18 19:52 ` Guenter Roeck
2018-01-19 7:49 ` Greg Kroah-Hartman
0 siblings, 1 reply; 5+ messages in thread
From: Guenter Roeck @ 2018-01-18 19:52 UTC (permalink / raw)
To: Greg Kroah-Hartman; +Cc: stable
On Thu, Jan 18, 2018 at 02:59:50PM +0100, Greg Kroah-Hartman wrote:
> On Wed, Jan 17, 2018 at 01:49:07PM -0800, Guenter Roeck wrote:
> > Hi Greg,
> >
> > please add the following patches to v4.14.y.
> >
> > ce90aaf5cde4 objtool: Fix seg fault with clang-compiled objects
> > e7e83dd3ff1d objtool: Fix Clang enum conversion warning
> > 0f908ccbeca9 tools/objtool/Makefile: don't assume sync-check.sh is executable
> > d89e426499cf objtool: Fix seg fault caused by missing parameter
> >
> > They are needed to avoid problems when building v4.14.y with clang.
> > It might be useful to apply the same patches to older kernels
> > if/when retpoline related changes are applied to those kernels.
>
> From what I can tell, these only are needed for 4.14, the 4.9 and 4.4
> backports of repoline didn't backport the huge objtool changes to ORC.
> So hopefully it's all good there, otherwise I'm sure someone from the
> Android team will complain I broke building with CLANG :)
>
Unfortunately, the problem is much worse: The Google toolchain with retpoline
support causes a crash with the latest version of objtool. No idea if that is
an objtool problem or a compiler problem; it was introduced with 'objtool:
Allow alternatives to be ignored'.
You might also want to add
2a0098d70640 objtool: Fix seg fault with gold linker
but that has a Fixes: tag and might be in your queue already.
Thanks,
Guenter
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: objtool patches needed in v4.14.y (and possibly older kernels)
2018-01-18 19:52 ` Guenter Roeck
@ 2018-01-19 7:49 ` Greg Kroah-Hartman
2018-01-19 9:15 ` Greg Kroah-Hartman
0 siblings, 1 reply; 5+ messages in thread
From: Greg Kroah-Hartman @ 2018-01-19 7:49 UTC (permalink / raw)
To: Guenter Roeck; +Cc: stable
On Thu, Jan 18, 2018 at 11:52:13AM -0800, Guenter Roeck wrote:
> On Thu, Jan 18, 2018 at 02:59:50PM +0100, Greg Kroah-Hartman wrote:
> > On Wed, Jan 17, 2018 at 01:49:07PM -0800, Guenter Roeck wrote:
> > > Hi Greg,
> > >
> > > please add the following patches to v4.14.y.
> > >
> > > ce90aaf5cde4 objtool: Fix seg fault with clang-compiled objects
> > > e7e83dd3ff1d objtool: Fix Clang enum conversion warning
> > > 0f908ccbeca9 tools/objtool/Makefile: don't assume sync-check.sh is executable
> > > d89e426499cf objtool: Fix seg fault caused by missing parameter
> > >
> > > They are needed to avoid problems when building v4.14.y with clang.
> > > It might be useful to apply the same patches to older kernels
> > > if/when retpoline related changes are applied to those kernels.
> >
> > From what I can tell, these only are needed for 4.14, the 4.9 and 4.4
> > backports of repoline didn't backport the huge objtool changes to ORC.
> > So hopefully it's all good there, otherwise I'm sure someone from the
> > Android team will complain I broke building with CLANG :)
> >
>
> Unfortunately, the problem is much worse: The Google toolchain with retpoline
> support causes a crash with the latest version of objtool. No idea if that is
> an objtool problem or a compiler problem; it was introduced with 'objtool:
> Allow alternatives to be ignored'.
>
> You might also want to add
>
> 2a0098d70640 objtool: Fix seg fault with gold linker
>
> but that has a Fixes: tag and might be in your queue already.
Nope, didn't catch that one, thanks for pointing it out.
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: objtool patches needed in v4.14.y (and possibly older kernels)
2018-01-19 7:49 ` Greg Kroah-Hartman
@ 2018-01-19 9:15 ` Greg Kroah-Hartman
0 siblings, 0 replies; 5+ messages in thread
From: Greg Kroah-Hartman @ 2018-01-19 9:15 UTC (permalink / raw)
To: Guenter Roeck; +Cc: stable
On Fri, Jan 19, 2018 at 08:49:25AM +0100, Greg Kroah-Hartman wrote:
> On Thu, Jan 18, 2018 at 11:52:13AM -0800, Guenter Roeck wrote:
> > On Thu, Jan 18, 2018 at 02:59:50PM +0100, Greg Kroah-Hartman wrote:
> > > On Wed, Jan 17, 2018 at 01:49:07PM -0800, Guenter Roeck wrote:
> > > > Hi Greg,
> > > >
> > > > please add the following patches to v4.14.y.
> > > >
> > > > ce90aaf5cde4 objtool: Fix seg fault with clang-compiled objects
> > > > e7e83dd3ff1d objtool: Fix Clang enum conversion warning
> > > > 0f908ccbeca9 tools/objtool/Makefile: don't assume sync-check.sh is executable
> > > > d89e426499cf objtool: Fix seg fault caused by missing parameter
> > > >
> > > > They are needed to avoid problems when building v4.14.y with clang.
> > > > It might be useful to apply the same patches to older kernels
> > > > if/when retpoline related changes are applied to those kernels.
> > >
> > > From what I can tell, these only are needed for 4.14, the 4.9 and 4.4
> > > backports of repoline didn't backport the huge objtool changes to ORC.
> > > So hopefully it's all good there, otherwise I'm sure someone from the
> > > Android team will complain I broke building with CLANG :)
> > >
> >
> > Unfortunately, the problem is much worse: The Google toolchain with retpoline
> > support causes a crash with the latest version of objtool. No idea if that is
> > an objtool problem or a compiler problem; it was introduced with 'objtool:
> > Allow alternatives to be ignored'.
> >
> > You might also want to add
> >
> > 2a0098d70640 objtool: Fix seg fault with gold linker
> >
> > but that has a Fixes: tag and might be in your queue already.
>
> Nope, didn't catch that one, thanks for pointing it out.
Oops, yes, it is on my list, I just hadn't caught up with my list of
patches yet...
Ugh, what a mess.
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-01-19 9:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-17 21:49 objtool patches needed in v4.14.y (and possibly older kernels) Guenter Roeck
2018-01-18 13:59 ` Greg Kroah-Hartman
2018-01-18 19:52 ` Guenter Roeck
2018-01-19 7:49 ` Greg Kroah-Hartman
2018-01-19 9:15 ` Greg Kroah-Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).