diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2019-11-26 07:30:39 +0100 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2019-11-26 10:22:33 +0100 |
commit | b5ac1fe0c624428e8269e257d5bed9f97fd759e5 (patch) | |
tree | 5673f03b72e9fc64e4dfabd7a06fc01832371ed1 | |
parent | d4092579d24f640eba3d73686b01ca124a81de57 (diff) | |
download | DistroKit-b5ac1fe0c624428e8269e257d5bed9f97fd759e5.tar.gz DistroKit-b5ac1fe0c624428e8269e257d5bed9f97fd759e5.tar.xz |
reason: disable OPTIMIZE_INLINING for now
Since Linux 5.4, OPTIMIZE_INLINING is force-on and cannot be configured
any more. Change the test to silence the warning, while investigating.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
-rw-r--r-- | configs/bsp.ref | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/configs/bsp.ref b/configs/bsp.ref index e8e551c..d763863 100644 --- a/configs/bsp.ref +++ b/configs/bsp.ref @@ -1,2 +1,21 @@ includes: - file: ptxdist.ref + +kernel_optimize_inlining: + history: + kernel_config_arm.ref: + description: | + Kernel 5.2+ has an option which allows the compiler to ignore the inline + keyword and only use the compiler heuristics to decide which functions to + inline. This may yield smaller and faster kernel binaries, but at least + with kernel 5.2 and OSELAS.Toolchain 2018.12.0 it also leads to non-working + kernel binaries in some cases. Disable this option until the failure is + understood and fixed. + See + https://lkml.kernel.org/r/20190830034304.24259-1-yamada.masahiro@socionext.com + for a discussion of this issue. + Since 5.4 the option cannot be configured any more, disable for + now. + analyzer: kconfig.KernelConfig()['OPTIMIZE_INLINING'] + value: True + value: False |