Bug 16228

Summary: AB-INT: test_cross_gcc: missing .cfi_endproc directive
Product: [QA/Testing] Functional (self) Testing Reporter: Mathieu Dubois-Briand <mathieu.dubois-briand>
Component: oe-selftestAssignee: Hemanth Kumar M D <Hemanth.KumarMD>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium+ CC: raj.khem, randy.macleod, sundeep.kokkonda
Version: unspecified   
Target Milestone: 6.1 M3   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Mathieu Dubois-Briand 2026-04-02 08:08:41 UTC
ERROR: clang-native-22.1.2-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/qemux86-tc/build/build-st-15498/tmp/work/x86_64-linux/clang-native/22.1.2/temp/run.do_compile.5266' failed with exit code 1
ERROR: Logfile of failure stored in: /srv/pokybuild/yocto-worker/qemux86-tc/build/build-st-15498/tmp/work/x86_64-linux/clang-native/22.1.2/temp/log.do_compile.5266
...
| {standard input}: Assembler messages:
| {standard input}:60553: Warning: end of file not at end of a line; newline inserted
| {standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
| g++: fatal error: Killed signal terminated program cc1plus
| compilation terminated.
Comment 1 Mathieu Dubois-Briand 2026-04-02 08:11:16 UTC
qemux86-tc opensuse155-vk-1 mathieu/master-next completed at 2026-03-30 12:27:09+00:00
https://valkyrie.yocto.io/pub/non-release/20260330-52/testresults/qemux86-tc/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/28/builds/3452/steps/14/logs/stdio
Comment 2 Randy MacLeod 2026-04-02 14:49:03 UTC
If we see this again, we might make this a high bug so best to get someone working on it soon.
Comment 3 Hemanth Kumar M D 2026-07-22 11:20:44 UTC
This failure occurred only once, about 4 months ago. I checked other AB test failures and found no recurrence pattern.

Since clang-native is built multiple times daily across ongoing AB test runs and this hasn't happened again, it doesn't appear to be a consistent/reproducible issue. It looks like a one-time OOM (or similar resource issue) on the AB rather than an actual defect in clang.

We can revisit this if it recurs..
Comment 4 Hemanth Kumar M D 2026-09-03 06:42:42 UTC
Hi Randy, this bug is not reproducible locally as well as on AB, and hasn't recurred since.
Can we close this bug?
Comment 5 Khem Raj 2026-09-03 06:50:56 UTC
(In reply to Mathieu Dubois-Briand from comment #0)
> ERROR: clang-native-22.1.2-r0 do_compile: Execution of
> '/srv/pokybuild/yocto-worker/qemux86-tc/build/build-st-15498/tmp/work/x86_64-
> linux/clang-native/22.1.2/temp/run.do_compile.5266' failed with exit code 1
> ERROR: Logfile of failure stored in:
> /srv/pokybuild/yocto-worker/qemux86-tc/build/build-st-15498/tmp/work/x86_64-
> linux/clang-native/22.1.2/temp/log.do_compile.5266
> ...
> | {standard input}: Assembler messages:
> | {standard input}:60553: Warning: end of file not at end of a line; newline
> inserted
> | {standard input}: Error: open CFI at the end of file; missing .cfi_endproc
> directive
> | g++: fatal error: Killed signal terminated program cc1plus
> | compilation terminated.

Usually this error happens when compiler runs out of memory.
Comment 6 Hemanth Kumar M D 2026-09-05 06:40:44 UTC
This bug was likely just a one-time OOM. It's been 5 months of frequent clang-native builds with no repeat, so closing this as WORKSFORME. Happy to reopen if it shows up again.