<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [META] Make llvm-ar a drop-in replacement for BSD ar"
   href="https://llvm.org/bugs/show_bug.cgi?id=25525">25525</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[META] Make llvm-ar a drop-in replacement for BSD ar
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>tools
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>llvm-ar
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>davide@freebsd.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Let me write this down here so I don't forget.
There are two major blockers:
1) Missing options, -c , -r, -D (description attached)

 -c      Suppress the informational message printed when a new archive is
         created using the -r and -q options.
(I think this one can be probably ignored).

  -r      Replace (add) the files specified by arguments file ... in the
             archive specified by argument archive, creating the archive if
             necessary.  Replacing existing members will not change the order
             of members within the archive.  If a file named in arguments
             file ... does not exist, existing members in the archive that
             match that name are not changed.  New files are added to the end
             of the archive unless one of the positioning options -a, -b or -i
             is specified.  The archive symbol table, if it exists, is updated
             to reflect the new state of the archive.

     -D      When used in combination with the -r or -q option, insert 0's
             instead of the real mtime, uid and gid values and 0644 instead of
             file mode from the members named by arguments file ....  This
             ensures that checksums on the resulting archives are reproducible
             when member contents are identical.  This option is enabled by
             default.  If multiple -D and -U options are specified on the com-
             mand line, the final one takes precedence.

2) Size. llvm-ar is currently 15MB (without debug) while BSD ar is currently
1MB. The size might be a concern if FreeBSD wants to ship with ar on embedded
(e.g. ARM), so we should see if we can improve on this side.</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>