<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:rnk@google.com" title="Reid Kleckner <rnk@google.com>"> <span class="fn">Reid Kleckner</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - lld-link fails if PDB path is an Alternate Data Stream"
   href="https://bugs.llvm.org/show_bug.cgi?id=45282">bug 45282</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;">CC</td>
           <td>
                
           </td>
           <td>rnk@google.com
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>WONTFIX
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - lld-link fails if PDB path is an Alternate Data Stream"
   href="https://bugs.llvm.org/show_bug.cgi?id=45282#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - lld-link fails if PDB path is an Alternate Data Stream"
   href="https://bugs.llvm.org/show_bug.cgi?id=45282">bug 45282</a>
              from <span class="vcard"><a class="email" href="mailto:rnk@google.com" title="Reid Kleckner <rnk@google.com>"> <span class="fn">Reid Kleckner</span></a>
</span></b>
        <pre>I had heard of alternate data streams from Mac, but I hadn't realized they were
a feature of NTFS too until this issue.

Fundamentally LLD is trying to:
- write output to a temp file
- rename over the intended output file on success

The call to TempFile::keep defined here returns an error:
<a href="https://github.com/llvm/llvm-project/blob/d8981ce5b9f8caa567613b2bf5aa3095e0156130/llvm/lib/Support/Path.cpp#L1183">https://github.com/llvm/llvm-project/blob/d8981ce5b9f8caa567613b2bf5aa3095e0156130/llvm/lib/Support/Path.cpp#L1183</a>

I think fixing it would be quite involved, and probably depends on changing our
entire output file writing scheme. I don't think it's feasible.</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>