Hi Adrian,
I think I hit a different error on the Autobuilder with your series:
2026-01-12 21:40:10,012 - oe-selftest - INFO - FAIL:
devtool.DevtoolIdeSdkTests.test_devtool_ide_sdk_code_cmake
(subunit.RemotedTestCase)
2026-01-12 21:40:10,012 - oe-selftest - INFO -
----------------------------------------------------------------------
2026-01-12 21:40:10,012 - oe-selftest - INFO -
testtools.testresult.real._StringException: Traceback (most recent call last):
File
"/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/devtool.py",
line 3238, in test_devtool_ide_sdk_code_cmake
self._verify_launch_json_debugging(tempdir, qemu, recipe_name, example_exe)
File
"/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/devtool.py",
line 3107, in _verify_launch_json_debugging
self._verify_launch_config(tempdir, config, tasks, qemu, example_exe,
File
"/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/devtool.py",
line 3204, in _verify_launch_config
r = runCmd(gdb_batch_cmd, output_log=self._cmd_logger)
File
"/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/layers/openembedded-core/meta/lib/oeqa/utils/commands.py",
line 214, in runCmd
raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" %
(command, result.status, exc_output))
AssertionError: Command
'/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-241514/tmp/work/aarch64-linux/gdb-cross-aarch64/16.3/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gdb
--batch -ex 'set sysroot
/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-241514/tmp/work/cortexa57-poky-linux/cmake-example/1.0/image'
-ex 'python import sys;sys.path.insert(0,
'"'"'/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-241514/tmp/work/cortexa57-poky-linux/cmake-example/1.0/recipe-sysroot/usr/share/gcc-15.2.0/python'"'"');from
libstdcxx.v6.printers import
register_libstdcxx_printers;register_libstdcxx_printers(None)' -ex 'set
substitute-path /usr/include
/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-241514/tmp/work/cortexa57-poky-linux/cmake-example/1.0/recipe-sysroot/usr/include'
-ex 'set substitute-path /usr/src/debug/cmake-example/1.0
/tmp/devtoolqa5x_myf_r' -ex 'set substitute-path /usr/src/debug
/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-241514/tmp/work/qemuarm64-poky-linux/oe-selftest-image/1.0/rootfs-dbg/usr/src/debug'
-ex 'set solib-search-path
/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-241514/tmp/work/qemuarm64-poky-linux/oe-selftest-image/1.0/rootfs-dbg/lib/.debug:/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-241514/tmp/work/qemuarm64-poky-linux/oe-selftest-image/1.0/rootfs-dbg/usr/lib/.debug:/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-241514/tmp/work/qemuarm64-poky-linux/oe-selftest-image/1.0/rootfs-dbg/usr/lib/debug:/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-241514/tmp/work/qemuarm64-poky-linux/oe-selftest-image/1.0/rootfs-dbg/lib:/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-241514/tmp/work/qemuarm64-poky-linux/oe-selftest-image/1.0/rootfs-dbg/usr/lib:/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-241514/tmp/work/qemuarm64-poky-linux/oe-selftest-image/1.0/rootfs/lib:/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-241514/tmp/work/qemuarm64-poky-linux/oe-selftest-image/1.0/rootfs/usr/lib'
-ex 'file
/srv/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-241514/tmp/work/cortexa57-poky-linux/cmake-example/1.0/image/usr/bin/cmake-example'
-ex 'target remote 192.168.7.2:1234' -ex 'break main' -ex 'continue' -ex
'break CppExample::print_json()' -ex 'continue' -ex 'print
CppExample::test_string.compare("cpp-example-lib Magic: 123456789")' -ex 'print
CppExample::test_string.compare("cpp-example-lib Magic: 123456789aaa")' -ex
'list cpp-example-lib.hpp:14,14' -ex 'list cpp-example.cpp:55,55' -ex 'break
cpp-example.cpp:55' -ex 'continue' -ex 'print numbers' -ex 'continue'' returned
non-zero exit status 1:
_start () at ../sysdeps/aarch64/dl-start.S:23
23 ENTRY (_start)
Breakpoint 1 at 0xaaaaaaaa1400: file
/usr/src/debug/cmake-example/1.0/cpp-example.cpp, line 15.
Breakpoint 1, main (argc=1, argv=0xfffffffffd08) at
/usr/src/debug/cmake-example/1.0/cpp-example.cpp:15
15 {
Breakpoint 2 at 0xfffff7f91d70: file
/usr/src/debug/cmake-example/1.0/cpp-example-lib.cpp, line 28.
Breakpoint 2, CppExample::print_json (this=0xfffffffffac8) at
/usr/src/debug/cmake-example/1.0/cpp-example-lib.cpp:28
28 jobj = json_object_new_object();
$1 = 0
$2 = -3
14 inline static const std::string test_string = "cpp-example-lib
Magic: 123456789";
55 std::vector<int> numbers = {1, 2, 3};
No compiled code for line 55 in file "cpp-example.cpp".
Make breakpoint pending on future shared library load? (y or [n]) [answered N;
input not from terminal]
[Inferior 1 (process 333) exited normally]
A syntax error in expression, near the end of `numbers'.
The program is not being run.
It's also on an Arm host as Mathieu also noticed previously.
Can you have a look?
https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/3145
https://autobuilder.yoctoproject.org/valkyrie/api/v2/logs/4913998/raw_inline
Thanks,
Antonin
--
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#229231):
https://lists.openembedded.org/g/openembedded-core/message/229231
Mute This Topic: https://lists.openembedded.org/mt/117010483/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-