Re: [OE-core] [PATCH] lttng-modules: work around GCC 7 changes

2017-04-25 Thread Khem Raj
On 4/25/17 3:33 PM, Nathan Lynch wrote: > Avoid using LTTng's BUILD_RUNTIME_BUG_ON macro, as it appears to run > into a similar problem as Linux experienced with __builtin_constant_p > and dead code elimination. > Thanks for contributing. this patch looks ok to me. > Signed-off-by: Nathan

[OE-core] [PATCH] lttng-modules: work around GCC 7 changes

2017-04-25 Thread Nathan Lynch
Avoid using LTTng's BUILD_RUNTIME_BUG_ON macro, as it appears to run into a similar problem as Linux experienced with __builtin_constant_p and dead code elimination. Signed-off-by: Nathan Lynch --- .../BUILD_RUNTIME_BUG_ON-vs-gcc7.patch | 43