<?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>15595</bug_id>
          
          <creation_ts>2024-09-12 10:35:20 +0000</creation_ts>
          <short_desc>Respect .note.dlopen ELF metadata</short_desc>
          <delta_ts>2025-01-17 15:47:46 +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>core</component>
          <version>5.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>5.2 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>99655</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-09-12 10:35:20 +0000</bug_when>
    <thetext>There is now a specification to embed details about which libraries an ELF will potentially dlopen() at some point, with the intention being that package management tools will use this data to generate package recommends:

https://systemd.io/ELF_DLOPEN_METADATA/

Notably systemd uses this as the core libsystem-shared.so library doesn&apos;t directly link to anything, but will dlopen() as needed.

We should read this metadata at packaging time and generate RRECOMMENDS as needed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100203</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-11-19 12:59:31 +0000</bug_when>
    <thetext>Patch on the list, for the first stage where the code is in systemd itself. So far it appears there&apos;s no other projects outside of systemd that use this annotation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100685</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2025-01-17 15:47:46 +0000</bug_when>
    <thetext>Merged for systemd in 905da779bcfe98f105adac708e0045ce8ffe5636.  If other recipes start supporting the same we can generalise the code further.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>