<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 --- - llvm-ar xo fails when setting file modification timestamp when running on a FAT32 filesystem"
href="https://llvm.org/bugs/show_bug.cgi?id=31389">31389</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>llvm-ar xo fails when setting file modification timestamp when running on a FAT32 filesystem
</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>jujjyl@gmail.com
</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>Created <span class=""><a href="attachment.cgi?id=17758" name="attach_17758" title="test case">attachment 17758</a> <a href="attachment.cgi?id=17758&action=edit" title="test case">[details]</a></span>
test case
Testing on a Windows 10 system:
STR:
1. Download and copy the attached libz.a to a directory on a FAT32 filesystem.
2. Run 'llvm-ar xo libz.a adler32.c.o' on the file.
Observed:
The tool fails with the error message:
llvm-ar: The parameter is incorrect.
but curiously, file adler32.c.o does appear in the directory, just its file
modification timestamp was not set.
However, if one copies the file over to a NTFS partition and reissues the
command, it succeeds and the file adler32.c.o does get the original timestamp.
Also, if one issues the command 'llvm-ar x libz.a adler32.c.o' instead (i.e.
'x' instead of 'xo'), the error is avoided (but timestamp is not set)</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>