[llvm-bugs] [Bug 37436] New: Support for llvm-ar P modifier

via llvm-bugs llvm-bugs at lists.llvm.org
Sun May 13 00:59:35 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=37436

            Bug ID: 37436
           Summary: Support for llvm-ar P modifier
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-ar
          Assignee: unassignedbugs at nondot.org
          Reporter: dima at golovin.in
                CC: llvm-bugs at lists.llvm.org

In order to be compatible with GNU ar llvm-ar should support P modifier.
GNU ar description of this modifier from man page:

> Use the full path name when matching names in the archive.  GNU ar
> can not create an archive with a full path name (such archives are
> not POSIX complaint), but other archive creators can.  This option
> will cause GNU ar to match file names using a complete path name,
> which can be convenient when extracting a single file from an
> archive created by another tool.

Linux kernel uses this feature in scripts/Makefile.build and
scripts/link-vmlinux.sh like "ar rcSTPD <files>" and "ar rcsTPD <files>" (all
the modifiers except for P are currently supported).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180513/fbaf61be/attachment.html>


More information about the llvm-bugs mailing list