<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:i@maskray.me" title="Fangrui Song <i@maskray.me>"> <span class="fn">Fangrui Song</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - .symver foo, foo@v1 is mishandled"
   href="https://bugs.llvm.org/show_bug.cgi?id=48820">bug 48820</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>INVALID
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - .symver foo, foo@v1 is mishandled"
   href="https://bugs.llvm.org/show_bug.cgi?id=48820#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - .symver foo, foo@v1 is mishandled"
   href="https://bugs.llvm.org/show_bug.cgi?id=48820">bug 48820</a>
              from <span class="vcard"><a class="email" href="mailto:i@maskray.me" title="Fangrui Song <i@maskray.me>"> <span class="fn">Fangrui Song</span></a>
</span></b>
        <pre>Update: I implemented <a href="https://reviews.llvm.org/D107235">https://reviews.llvm.org/D107235</a> ("[ELF] Combine foo@v1
and foo with the same versionId if both are defined").

<span class="quote">> **dropping the special rule from GNU ld will be safe.**</span >

OK. There is one exception: glibc.
Filed <a href="https://sourceware.org/bugzilla/show_bug.cgi?id=28197">https://sourceware.org/bugzilla/show_bug.cgi?id=28197</a> compat_symbol
should migrate to .symver *, *, remove


The glibc usage also confused gold:
<a href="https://sourceware.org/bugzilla/show_bug.cgi?id=28196">https://sourceware.org/bugzilla/show_bug.cgi?id=28196</a>


<a href="https://maskray.me/blog/2020-11-26-all-about-symbol-versioning">https://maskray.me/blog/2020-11-26-all-about-symbol-versioning</a> "Why is .symver
xxx, foo@v1 bad with a defined symbol?" has more discussions.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>