<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>16253</bug_id>
          
          <creation_ts>2026-04-17 08:30:36 +0000</creation_ts>
          <short_desc>AB-INT: llvm compilation segfault</short_desc>
          <delta_ts>2026-04-28 22:10:27 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Functional (self) Testing</product>
          <component>oe-selftest</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>6.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mathieu Dubois-Briand">mathieu.dubois-briand</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>SunilKumar.Dora</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>105125</commentid>
    <comment_count>0</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-04-17 08:30:36 +0000</bug_when>
    <thetext>2026-04-16 23:11:06,547 - oe-selftest - INFO - rust.RustSelfTestSystemEmulated.test_rust (subunit.RemotedTestCase)
2026-04-16 23:11:06,567 - oe-selftest - INFO -  ... FAIL
...
AssertionError: Command &apos;bitbake  rust -c test_compile&apos; returned non-zero exit status 1:
...
| [2503/3468] /srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-3667906/tmp/work/cortexa57-poky-linux/llvm/22.1.3/recipe-sysroot-native/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++ --sysroot=/srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-3667906/tmp/work/cortexa57-poky-linux/llvm/22.1.3/recipe-sysroot -DLLVM_EXPORTS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-3667906/tmp/work/cortexa57-poky-linux/llvm/22.1.3/build/lib/Target/X86 -I/srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-3667906/tmp/work-shared/llvm-project-source-22.1.3-r0/sources/llvm-project-22.1.3.src/llvm/lib/Target/X86 -I/srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-3667906/tmp/work/cortexa57-poky-linux/llvm/22.1.3/build/include -I/srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-3667906/tmp/work-shared/llvm-project-source-22.1.3-r0/sources/llvm-project-22.1.3.src/llvm/include -mcpu=cortex-a57+crc -mbranch-protection=standard -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=/srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-3667906/tmp/work/cortexa57-poky-linux/llvm/22.1.3/recipe-sysroot  -O2 -g1 -fcanon-prefix-map  -ffile-prefix-map=/srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-3667906/tmp/work-shared/llvm-project-source-22.1.3-r0/sources/llvm-project-22.1.3.src=/usr/src/debug/llvm/22.1.3  -ffile-prefix-map=/srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-3667906/tmp/work/cortexa57-poky-linux/llvm/22.1.3/build=/usr/src/debug/llvm/22.1.3  -ffile-prefix-map=/srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-3667906/tmp/work/cortexa57-poky-linux/llvm/22.1.3/recipe-sysroot=  -ffile-prefix-map=/srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-3667906/tmp/work/cortexa57-poky-linux/llvm/22.1.3/recipe-sysroot-native=  -pipe -fvisibility-inlines-hidden -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Os -DNDEBUG -std=c++17 -fvisibility=hidden -MD -MT lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/X86ExpandPseudo.cpp.o -MF lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/X86ExpandPseudo.cpp.o.d -o lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/X86ExpandPseudo.cpp.o -c /srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-3667906/tmp/work-shared/llvm-project-source-22.1.3-r0/sources/llvm-project-22.1.3.src/llvm/lib/Target/X86/X86ExpandPseudo.cpp
| FAILED: [code=1] lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/X86ExpandPseudo.cpp.o
...
| In file included from /srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-3667906/tmp/work-shared/llvm-project-source-22.1.3-r0/sources/llvm-project-22.1.3.src/llvm/include/llvm/CodeGen/TargetInstrInfo.h:30,
|                  from /srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-3667906/tmp/work-shared/llvm-project-source-22.1.3-r0/sources/llvm-project-22.1.3.src/llvm/lib/Target/X86/X86InstrInfo.h:20,
|                  from /srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-3667906/tmp/work-shared/llvm-project-source-22.1.3-r0/sources/llvm-project-22.1.3.src/llvm/lib/Target/X86/X86ExpandPseudo.cpp:17:
| /srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-3667906/tmp/work-shared/llvm-project-source-22.1.3-r0/sources/llvm-project-22.1.3.src/llvm/include/llvm/CodeGen/VirtRegMap.h: In member function &apos;virtual void llvm::VirtRegMapWrapperLegacy::print(llvm::raw_ostream&amp;, const llvm::Module*) const&apos;:
| /srv/pokybuild/yocto-worker/qemuarm64-tc/build/build-st-3667906/tmp/work-shared/llvm-project-source-22.1.3-r0/sources/llvm-project-22.1.3.src/llvm/include/llvm/CodeGen/VirtRegMap.h:204:3: internal compiler error: Segmentation fault
|   204 |   }
|       |   ^
| 0x20dba85 diagnostic_context::diagnostic_impl(rich_location*, diagnostic_metadata const*, diagnostic_option_id, char const*, __va_list_tag (*) [1], diagnostic_t)
|       ???:0
| 0x20ebd7f internal_error(char const*, ...)
|       ???:0
| 0x82fdb0 cp_fold_function(tree_node*)
|       ???:0
| 0x867328 finish_function(bool)
|       ???:0
| 0x96c961 c_parse_file()
|       ???:0
| 0xa79e31 c_common_parse_file()
|       ???:0
| Please submit a full bug report, with preprocessed source (by using -freport-bug).
| Please include the complete backtrace with any bug report.
| See &lt;https://gcc.gnu.org/bugs/&gt; for instructions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105130</commentid>
    <comment_count>1</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-04-17 08:38:13 +0000</bug_when>
    <thetext>qemuarm64-tc fedora43-vk-1 master&amp;master-next completed at 2026-04-16 23:56:34+00:00
https://valkyrie.yocto.io/pub/non-release/20260416-119/testresults/qemuarm64-tc/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/5/builds/3565/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105137</commentid>
    <comment_count>2</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-04-17 13:14:40 +0000</bug_when>
    <thetext>Renaming the bug entry. The first one occurred during rust.RustSelfTestSystemEmulated.test_rust, but I&apos;m going to add more that happened in other contexts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105138</commentid>
    <comment_count>3</comment_count>
    <who name="Mathieu Dubois-Briand">mathieu.dubois-briand</who>
    <bug_when>2026-04-17 13:15:59 +0000</bug_when>
    <thetext>Anoterh onw, in a different context:
genericx86-alt fedora43-vk-1 mathieu/master-next completed at 2026-04-17 09:10:25+00:00
https://autobuilder.yoctoproject.org/valkyrie/#/builders/65/builds/3594/steps/12/logs/stdio

And yet another one:
qemuarm-tc fedora43-vk-1 mathieu/master-next completed at 2026-04-17 09:19:46+00:00
https://valkyrie.yocto.io/pub/non-release/20260417-41/testresults/qemuarm-tc/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/42/builds/3567/steps/13/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105211</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2026-04-23 13:45:24 +0000</bug_when>
    <thetext>Always fedora43-vk-1? Also odd that a build run that continued this build worked out ok. A true ICE would fail again, this didn&apos;t.

That suggests OOM or a hardware issue :/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105214</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-04-23 14:36:49 +0000</bug_when>
    <thetext>Let&apos;s see if this happens again in the coming months.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105283</commentid>
    <comment_count>6</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2026-04-28 22:10:27 +0000</bug_when>
    <thetext>We suspect the f43 worker needed the cpu mircocode updating. That has been done and we can close this, reopening if it happens again.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>