<p dir="ltr">The cpio command was dropped, but the format is still documented. The pax command has to support it.</p>
<div class="gmail_quote">On May 3, 2016 1:49 PM, "Ed Maste" <<a href="mailto:emaste@freebsd.org">emaste@freebsd.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">emaste added a subscriber: emaste.<br>
<br>
================<br>
Comment at: test/ELF/reproduce-linkerscript.s:9<br>
@@ -8,2 +8,3 @@<br>
 # RUN: ld.lld build/foo.script -o bar --reproduce repro<br>
+# RUN: cpio -id < repro.cpio<br>
 # RUN: diff build/foo.script repro/%:t.dir/build/foo.script<br>
----------------<br>
I believe cpio was specified by POSIX at one point but was dropped later on due to limitations in the format and for most normal archiving cases tar is a better choice.<br>
<br>
Anyhow, I suspect cpio will be widely, but not universally available and likely does need a `REQUIRES: cpio`<br>
<br>
FWIW, with BSD cpio (libarchive) tests pass with the changes here.<br>
<br>
<br>
<a href="http://reviews.llvm.org/D19872" rel="noreferrer" target="_blank">http://reviews.llvm.org/D19872</a><br>
<br>
<br>
<br>
</blockquote></div>