]> code.ossystems Code Review - openembedded-core.git/commit
lttng-modules: work around GCC 7 changes
authorNathan Lynch <nathan_lynch@mentor.com>
Tue, 25 Apr 2017 22:33:55 +0000 (17:33 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 10 May 2017 11:21:33 +0000 (12:21 +0100)
commit22af48a50d40d6872adaa4f6b0bf144ef5781c1c
tree6d265ec1a70671fb0aa2569ce598c4baa8860723
parent7e646dd052c7013416d99d4c0201b4694fc1bbb6
lttng-modules: work around GCC 7 changes

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 <nathan_lynch@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-kernel/lttng/lttng-modules/BUILD_RUNTIME_BUG_ON-vs-gcc7.patch [new file with mode: 0644]
meta/recipes-kernel/lttng/lttng-modules_2.9.1.bb