Re: [patch] perf: Fix build failure on OpenSuse userspace

From: Greg KH
Date: Fri May 04 2012 - 10:52:46 EST


On Fri, May 04, 2012 at 09:09:28AM +0200, Ingo Molnar wrote:
> Does the (untested) patch below help?

No :(

> If not then please paste me the build failure output (it will
> most likely change due to the patch), and until we fix this
> build regression on OpenSuse userspace you can work it around
> via:

Here's the error, it looks identical to what I previously had:

CC perf.o
CC util/parse-events-flex.o
<stdout>: In function âyy_get_next_bufferâ:
<stdout>:1510:3: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
util/parse-events.l: In function âparse_events_lexâ:
util/parse-events.l:122:1: error: ignoring return value of âfwriteâ, declared with attribute warn_unused_result [-Werror=unused-result]
cc1: all warnings being treated as errors

> make WERROR=0

Thanks, that works for me for now, but obviously, not a real solution :)

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/