]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
stress-ng: disable DEBUG_BUILD
authorChen Qi <Qi.Chen@windriver.com>
Wed, 30 Aug 2023 04:48:00 +0000 (12:48 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 2 Sep 2023 17:17:30 +0000 (18:17 +0100)
We get do_compile error when DEBUG_BUILD is enabled:

  error: inlining failed in call to 'always_inline' '_mm512_storeu_si512': target specific option mismatch

To reproduce the issue, set the following lines in local.conf
and then `bitbake stress-ng'.

  MACHINE = "qemux86-64"
  DEBUG_BUILD = "1"

A new issue is filed for stress-ng to track it:
https://github.com/ColinIanKing/stress-ng/issues/315

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-extended/stress-ng/stress-ng_0.16.04.bb

index 6e5665cc3b981cd204e0d27dd4cbb718379ce61b..af8433975bde82393c008f9a98a04fea3ff99fb4 100644 (file)
@@ -31,3 +31,6 @@ do_install() {
     oe_runmake DESTDIR=${D} BINDIR=${bindir} install
     ln -s stress-ng ${D}${bindir}/stress
 }
+
+# upstream issue: https://github.com/ColinIanKing/stress-ng/issues/315
+DEBUG_BUILD = "0"