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

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

    <bug>
          <bug_id>27507</bug_id>
          
          <creation_ts>2012-06-27 21:00:10 +0400</creation_ts>
          <short_desc>wrong default value in documentation</short_desc>
          <delta_ts>2012-06-27 21:38:19 +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>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://git.altlinux.org/people/mike/packages/?p=binutils.git;a=commitdiff;h=fe5631b8b483bbf18da14e1c44e7f764234b535b</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Shigorin">mike</reporter>
          <assigned_to name="Gleb F-Malinovskiy">glebfm</assigned_to>
          <cc>glebfm</cc>
    
    <cc>led</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>132092</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2012-06-27 21:00:10 +0400</bug_when>
    <thetext>В man-странице ld(1) про --hash-style говорится следующее:
[...] The default is &quot;sysv&quot;.

На самом же деле текущее значение по умолчанию в сизифе -- gnu:
$ readelf --all /bin/ls | grep HASH
  [ 4] .gnu.hash         GNU_HASH        080481ac 0001ac 0000b0 04   A  5   0  4
 0x6ffffef5 (GNU_HASH)                   0x80481ac

Просьба поправить документацию.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>132095</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2012-06-27 21:25:39 +0400</bug_when>
    <thetext>В GNU ld это умолчание вполне соответствует документации.
Однако в результате
* Sun Oct 01 2006 Dmitry V. Levin &lt;ldv@altlinux&gt; 4.1.1-alt8
- Updated to FC gcc-4.1.1-28.
- Added --hash-style=gnu to default link options.
получается, что
$ gcc -dumpspecs | grep -Fce --hash-style=gnu
1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>132096</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2012-06-27 21:38:19 +0400</bug_when>
    <thetext>Второй вечный вопрос остаётся в силе. :)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>