Re: Implement lbr-as-callgraph v10

From: Andi Kleen
Date: Wed Nov 19 2014 - 10:32:10 EST


> > > I'm getting compile error for DEBUG=1
>
> > looks like the BUILD_BUG_ON_MSG does not work correctly with -O6 we use
>
> Yeah, I'll probably just take the brute force approach Andi originally
> used and switch to BUILD_BUG_ON_MSG once we get it working in the tools/
> environment, i.e. using -O6, etc.

For new enough gcc you could use _Static_assert()

-Andi
--
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/