<?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>15083</bug_id>
          
          <creation_ts>2023-03-28 14:10:30 +0000</creation_ts>
          <short_desc>libgcc_s.so wrong file format</short_desc>
          <delta_ts>2023-03-30 15:10:20 +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>devtools / tool chain</component>
          <version>3.1.24</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>3.1.25</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="virendra">virendrak</reporter>
          <assigned_to name="virendra">virendrak</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</cc>
    
    <cc>steve</cc>
    
    <cc>sundeep.kokkonda</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>95202</commentid>
    <comment_count>0</comment_count>
    <who name="virendra">virendrak</who>
    <bug_when>2023-03-28 14:10:30 +0000</bug_when>
    <thetext>It was detected a change on mainline builds when the switch to gcc 9.5 was made from 9.3 after recent upgrade in poky dunfell upgrade gcc to 9.5.

Previously libgcc_s.so was a symbolic link to libgcc_s.so.1, after the update to gcc 9.5 it stopped being a link and it is just a library file with no format.
 
libgcc1 -&gt; Has the libgcc_s.so.1 file on both.
libgcc1-dev -&gt; Has the symbolic link in gcc 9.3, but on gcc 9.5 it has a broken library.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95228</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-03-30 14:41:47 +0000</bug_when>
    <thetext>Virendra,

Thanks for reporting the bug.
Please confirm that his is the dunfell branch. 
Can you explain when the update from 9.2 to 9.5 gcc was?

Can more provide more information about how to reproduce the bug?

Steve Sakoman may also take a look at this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95234</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2023-03-30 14:57:29 +0000</bug_when>
    <thetext>99% sure that this is the .so file changing from a symlink to a linker script, which is absolutely fine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95235</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2023-03-30 15:10:20 +0000</bug_when>
    <thetext>$ cat /yocto/ross/build-dunfell/tmp/work/core2-64-poky-linux/libgcc/9.5.0-r0/packages-split/libgcc-dev/lib/libgcc_s.so
/* GNU ld script
   Use the shared library, but some functions are only in
   the static library.  */
GROUP ( libgcc_s.so.1 -lgcc )

That&apos;s not broken, that&apos;s a linker script. This is perfectly valid.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>