Bug 16343 - Investigate GCC Wstringop-overflow failures
Summary: Investigate GCC Wstringop-overflow failures
Status: ACCEPTED
Alias: None
Product: Functional (self) Testing
Classification: QA/Testing
Component: oe-selftest (show other bugs)
Version: 6.1
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 6.2 M1
Assignee: Harish Sadineni
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2026-07-01 13:35 UTC by Ross Burton
Modified: 2026-11-17 09:49 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ross Burton 2026-07-01 13:35:05 UTC
The gcc test suite when run under qemuarm has a large number of failures in the following tests:

testseries | result_id : qemuarm-tc | oeselftest_debian-12_qemuarm_20260610100141

    ptestresult.gcc-g++-user.c-c++-common/Wstringop-overflow-2.c  -std=gnu++98  (test for warnings, line 55)
    ptestresult.gcc-g++-user.g++.dg/warn/Wstringop-overflow-3.C  -std=gnu++20  (test for warnings, line 105)

There's probably a single root cause which should be investigated to remove 140 failures from the test report.
Comment 1 Ross Burton 2026-07-01 13:38:05 UTC
Also:

    ptestresult.gcc-user.c-c++-common/Wstringop-overflow-2.c  -Wc++-compat   (test for warnings, line 103)

The full report at https://valkyrie.yocto.io/pub/releases/yocto-6.1_M1.rc1/testreport.txt lists each of the failures and the corresponding lines.
Comment 2 Harish Sadineni 2026-09-17 17:33:54 UTC
These are known GCC upstream testsuite failures, tracked in GCC bugzila https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124619. 

These failures are not specific to Yocto or qemuarm.
Comment 3 Harish Sadineni 2026-11-17 09:49:04 UTC
Work is ongoing in gcc upstream. Patches were under review in gcc patches mailing list.
https://inbox.sourceware.org/gcc-patches/bmm.hnksol2j0g.gcc.gcc.rearnsha.215.612.REVIEW@forge-stage.sourceware.org/