Re: [PATCH 2/2] objtool: use host flags to detect if libelf is missing

2018-02-23 Thread Josh Poimboeuf
On Fri, Feb 23, 2018 at 05:22:55PM +0100, Robin Jarry wrote: > 2018-02-23, Josh Poimboeuf: > > Hi Robin, > > > > Did you test this? I see some issues: > > > > a) I don't see where the host_cflags variable comes from (and btw, it's > >misspelled...) > > Hi Josh, > > Shame on me... Last

Re: [PATCH 2/2] objtool: use host flags to detect if libelf is missing

2018-02-23 Thread Josh Poimboeuf
On Fri, Feb 23, 2018 at 05:22:55PM +0100, Robin Jarry wrote: > 2018-02-23, Josh Poimboeuf: > > Hi Robin, > > > > Did you test this? I see some issues: > > > > a) I don't see where the host_cflags variable comes from (and btw, it's > >misspelled...) > > Hi Josh, > > Shame on me... Last

Re: [PATCH 2/2] objtool: use host flags to detect if libelf is missing

2018-02-23 Thread Robin Jarry
2018-02-23, Josh Poimboeuf: > Hi Robin, > > Did you test this? I see some issues: > > a) I don't see where the host_cflags variable comes from (and btw, it's >misspelled...) Hi Josh, Shame on me... Last minute fix. I had tested this first by forcing HOSTCC="gcc " but I found it rather

Re: [PATCH 2/2] objtool: use host flags to detect if libelf is missing

2018-02-23 Thread Robin Jarry
2018-02-23, Josh Poimboeuf: > Hi Robin, > > Did you test this? I see some issues: > > a) I don't see where the host_cflags variable comes from (and btw, it's >misspelled...) Hi Josh, Shame on me... Last minute fix. I had tested this first by forcing HOSTCC="gcc " but I found it rather

Re: [PATCH 2/2] objtool: use host flags to detect if libelf is missing

2018-02-23 Thread Josh Poimboeuf
On Fri, Feb 23, 2018 at 03:22:15PM +0100, Robin Jarry wrote: > When libelf headers and libs are not found and CONFIG_UNWINDER_ORC is > selected, there is a make error introduced by > commit 3dd40cb320fe ("objtool: Upgrade libelf-devel warning to error for > CONFIG_ORC_UNWINDER"). > > Host headers

Re: [PATCH 2/2] objtool: use host flags to detect if libelf is missing

2018-02-23 Thread Josh Poimboeuf
On Fri, Feb 23, 2018 at 03:22:15PM +0100, Robin Jarry wrote: > When libelf headers and libs are not found and CONFIG_UNWINDER_ORC is > selected, there is a make error introduced by > commit 3dd40cb320fe ("objtool: Upgrade libelf-devel warning to error for > CONFIG_ORC_UNWINDER"). > > Host headers

[PATCH 2/2] objtool: use host flags to detect if libelf is missing

2018-02-23 Thread Robin Jarry
When libelf headers and libs are not found and CONFIG_UNWINDER_ORC is selected, there is a make error introduced by commit 3dd40cb320fe ("objtool: Upgrade libelf-devel warning to error for CONFIG_ORC_UNWINDER"). Host headers and libs may be in a non-standard location and the check is performed

[PATCH 2/2] objtool: use host flags to detect if libelf is missing

2018-02-23 Thread Robin Jarry
When libelf headers and libs are not found and CONFIG_UNWINDER_ORC is selected, there is a make error introduced by commit 3dd40cb320fe ("objtool: Upgrade libelf-devel warning to error for CONFIG_ORC_UNWINDER"). Host headers and libs may be in a non-standard location and the check is performed