Re: resolve_btfids breaks kernel cross-compilation

2020-09-18 Thread Andrii Nakryiko
On Fri, Sep 18, 2020 at 3:07 AM Jiri Olsa wrote: > > On Thu, Sep 17, 2020 at 07:54:50AM -0500, Seth Forshee wrote: > > On Thu, Sep 17, 2020 at 11:14:06AM +0200, Jiri Olsa wrote: > > > On Thu, Sep 17, 2020 at 10:38:12AM +0200, Jiri Olsa wrote: > > > > On Thu, Sep 17, 2020 at 10:04:55AM +0200, Jiri

Re: resolve_btfids breaks kernel cross-compilation

2020-09-18 Thread Jiri Olsa
On Thu, Sep 17, 2020 at 07:54:50AM -0500, Seth Forshee wrote: > On Thu, Sep 17, 2020 at 11:14:06AM +0200, Jiri Olsa wrote: > > On Thu, Sep 17, 2020 at 10:38:12AM +0200, Jiri Olsa wrote: > > > On Thu, Sep 17, 2020 at 10:04:55AM +0200, Jiri Olsa wrote: > > > > On Wed, Sep 16, 2020 at 02:47:33PM -0500

Re: resolve_btfids breaks kernel cross-compilation

2020-09-17 Thread Seth Forshee
On Thu, Sep 17, 2020 at 11:14:06AM +0200, Jiri Olsa wrote: > On Thu, Sep 17, 2020 at 10:38:12AM +0200, Jiri Olsa wrote: > > On Thu, Sep 17, 2020 at 10:04:55AM +0200, Jiri Olsa wrote: > > > On Wed, Sep 16, 2020 at 02:47:33PM -0500, Seth Forshee wrote: > > > > The requirement to build resolve_btfids

Re: resolve_btfids breaks kernel cross-compilation

2020-09-17 Thread Jiri Olsa
On Thu, Sep 17, 2020 at 11:14:08AM +0200, Jiri Olsa wrote: > On Thu, Sep 17, 2020 at 10:38:12AM +0200, Jiri Olsa wrote: > > On Thu, Sep 17, 2020 at 10:04:55AM +0200, Jiri Olsa wrote: > > > On Wed, Sep 16, 2020 at 02:47:33PM -0500, Seth Forshee wrote: > > > > The requirement to build resolve_btfids

Re: resolve_btfids breaks kernel cross-compilation

2020-09-17 Thread Jiri Olsa
On Thu, Sep 17, 2020 at 10:38:12AM +0200, Jiri Olsa wrote: > On Thu, Sep 17, 2020 at 10:04:55AM +0200, Jiri Olsa wrote: > > On Wed, Sep 16, 2020 at 02:47:33PM -0500, Seth Forshee wrote: > > > The requirement to build resolve_btfids whenever CONFIG_DEBUG_INFO_BTF > > > is enabled breaks some cross b

Re: resolve_btfids breaks kernel cross-compilation

2020-09-17 Thread Jiri Olsa
On Thu, Sep 17, 2020 at 10:04:55AM +0200, Jiri Olsa wrote: > On Wed, Sep 16, 2020 at 02:47:33PM -0500, Seth Forshee wrote: > > The requirement to build resolve_btfids whenever CONFIG_DEBUG_INFO_BTF > > is enabled breaks some cross builds. For example, when building a 64-bit > > powerpc kernel on am

Re: resolve_btfids breaks kernel cross-compilation

2020-09-17 Thread Jiri Olsa
On Wed, Sep 16, 2020 at 02:47:33PM -0500, Seth Forshee wrote: > The requirement to build resolve_btfids whenever CONFIG_DEBUG_INFO_BTF > is enabled breaks some cross builds. For example, when building a 64-bit > powerpc kernel on amd64 I get: > > Auto-detecting system features: > ...

resolve_btfids breaks kernel cross-compilation

2020-09-16 Thread Seth Forshee
The requirement to build resolve_btfids whenever CONFIG_DEBUG_INFO_BTF is enabled breaks some cross builds. For example, when building a 64-bit powerpc kernel on amd64 I get: Auto-detecting system features: ...libelf: [ [32mon[m ] ... zlib: [ [3