summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2019-11-26 07:30:39 +0100
committerRobert Schwebel <r.schwebel@pengutronix.de>2019-11-26 10:22:33 +0100
commitb5ac1fe0c624428e8269e257d5bed9f97fd759e5 (patch)
tree5673f03b72e9fc64e4dfabd7a06fc01832371ed1
parentd4092579d24f640eba3d73686b01ca124a81de57 (diff)
downloadDistroKit-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.ref19
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