<?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>15476</bug_id>
          
          <creation_ts>2024-05-01 13:32:54 +0000</creation_ts>
          <short_desc>linux-yocto-dev build error: modpost: vmlinux: local symbol &apos;security_path_rmdir&apos; was exported</short_desc>
          <delta_ts>2026-10-27 22:16:36 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>kernel</component>
          <version>5.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.0.21</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Bruce Ashfield">bruce.ashfield</assigned_to>
          <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>yoann.congal</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>98951</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-05-01 13:32:54 +0000</bug_when>
    <thetext>Right now the reproducer is poky scarthgap, meta-arm master (or scarthgap if it exists when you read this), MACHINE=sbsa-ref, linux-yocto-dev:

|   MODPOST vmlinux.symvers
| ERROR: modpost: vmlinux: local symbol &apos;security_path_rmdir&apos; was exported
| make[2]: *** [/work/ross/build/tmp/work-shared/sbsa-ref/kernel-source/scripts/Makefile.modpost:145: vmlinux.symvers] Error 1
| make[1]: *** [/work/ross/build/tmp/work-shared/sbsa-ref/kernel-source/Makefile:1871: modpost] Error 2
| make: *** [/work/ross/build/tmp/work-shared/sbsa-ref/kernel-source/Makefile:240: __sub-make] Error 2
| ERROR: oe_runmake failed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98952</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-05-01 15:24:42 +0000</bug_when>
    <thetext>Interestingly sbsa-ref is a qemu-based machine using the defconfig kernel, but if I add this then it doesn&apos;t fail:

KBUILD_DEFCONFIG:qemuarm46 = &quot;defconfig&quot;
KCONFIG_MODE:qemuarm46 = &quot;--alldefconfig&quot;


Why that is remains a mystery.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99932</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-10-17 19:04:14 +0000</bug_when>
    <thetext>Bulk move of medium importance bugs from 5.1 to 5.2 on behalf of Bruce.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104535</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2026-03-05 16:17:18 +0000</bug_when>
    <thetext>I can still replicate this with scarthgap and linux-yocto-dev.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106308</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2026-07-23 15:12:33 +0000</bug_when>
    <thetext>What is qemuarm46?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106309</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-07-23 15:13:09 +0000</bug_when>
    <thetext>Ross to retest with a 64 bit system, rather than the mystery 46 bit system.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106320</commentid>
    <comment_count>6</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2026-07-23 16:06:27 +0000</bug_when>
    <thetext>Our CI still replicates this with sbsa-ref/alldefconfig/linux-yocto-dev on scarthgap, but not wrynose or master.

Testing qemuarm64 now...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107209</commentid>
    <comment_count>7</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2026-10-27 22:16:36 +0000</bug_when>
    <thetext>This only reproduces with linux-yocto-dev on scarthgap; Ross confirmed it does not reproduce on wrynose or master. linux-yocto-dev tracks master and isn&apos;t a supported combination on the scarthgap release branch, so I&apos;m closing this out. If it shows up with linux-yocto-dev on master, please reopen.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>