Re: [PATCH] objtool: Be lenient about -Wundef

2019-06-27 Thread Olof Johansson
On Fri, Jun 28, 2019 at 8:00 AM Josh Poimboeuf wrote: > > On Wed, Jun 19, 2019 at 05:03:37AM -0700, Olof Johansson wrote: > > Some libelf versions use undefined macros, which combined with newer GCC > > makes for errors from system headers. This isn't overly useful to fail > > compiling objtool fo

Re: [PATCH] objtool: Be lenient about -Wundef

2019-06-27 Thread Josh Poimboeuf
On Wed, Jun 19, 2019 at 05:03:37AM -0700, Olof Johansson wrote: > Some libelf versions use undefined macros, which combined with newer GCC > makes for errors from system headers. This isn't overly useful to fail > compiling objtool for. > > Error as seen: > > cc1: all warnings being treated as er