<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>1926</bug_id>
          
          <creation_ts>2003-01-13 20:04:33 +0300</creation_ts>
          <short_desc>consider GNU linker optimization</short_desc>
          <delta_ts>2006-06-07 03:12:34 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>binutils</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="at@altlinux.org">at</reporter>
          <assigned_to name="Gleb F-Malinovskiy">glebfm</assigned_to>
          <cc>glebfm</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1754</commentid>
    <comment_count>0</comment_count>
    <who name="at@altlinux.org">at</who>
    <bug_when>2003-01-13 20:04:33 +0300</bug_when>
    <thetext>According to Ulrich Drepper paper, it is worth to pass -O1 command line option to GNU linker to perform final binary optimizations. Currently this relates at least symbol table optimization for shared libraries. The author also states that new linker version will be developed which will use advanced optimizations techniques.

%optflags_linker -Wl,-O1
%optflags_default ... %optflags_linker
?
---

---

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4835</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2003-01-16 12:26:05 +0300</bug_when>
    <thetext>Lets test it first.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8200</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2003-01-16 12:26:05 +0300</bug_when>
    <thetext>Lets test it first.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30038</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2005-09-05 00:35:22 +0400</bug_when>
    <thetext>Do you suggest to set default LDFLAGS?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34583</commentid>
    <comment_count>4</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2006-01-10 02:07:18 +0300</bug_when>
    <thetext>Or maybe just enable it in ld by default?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34602</commentid>
    <comment_count>5</comment_count>
    <who name="Denis Smirnov">mithraen</who>
    <bug_when>2006-01-10 13:50:24 +0300</bug_when>
    <thetext>Если это работает корректно -- лучше установить по-умолчанию в ld.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38587</commentid>
    <comment_count>6</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2006-06-07 03:12:34 +0400</bug_when>
    <thetext>Enabled by default in binutils-2.16.91.0.5-alt2 on Mon Jan 09 2006,
nobody complained yet.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>