<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/69014>69014</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[AIX][llvm-ranlib] llvm-ar doesn't accept -X options when acting as llvm-ranlib
</td>
</tr>
<tr>
<th>Labels</th>
<td>
platform:aix
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
daltenty
</td>
</tr>
</table>
<pre>
llvm-ar will act as ranlib when invoked by that name, and llvm-ar since https://github.com/llvm/llvm-project/commit/4f2cfbe5314b064625b2c87bde6ce5c8d04004c5 supports the -X options, but doesn't seem to accept them when running as llvm-ranlib.
See for example:
```
../../bin/llvm-ranlib -X32_64 libclang_rt.builtins-powerpc.a
../../bin/llvm-ranlib: error: Invalid option: '-X32_64'
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUkk-PozgQxT-NuVhBpoztcOCQ3ihSn_fSt5b_VIJ3jY1s03--_QqS3h7NHEYjIWOgKL9fvadL8beIOBLxRMS50WudUh6dDhVj_WxMcp9jCG_zQWf67kOg2laqC806Bm_o-4SR-viW_kVHzSetk6406hkJ_EV1dPTr3-KjRTrVuhTCTwQuBC43X6fVtDbNBC5b4eN2WHL6B20lcLFpnv226a9grwYF73rDZC9BGLBHZRxKi8IeHesZ662gZV2WlGuhdUJ6eKFpqT7Fsukxa6UuYYkEVKUFcaY1UW0tLnUrn-84eY3Rx9tGuau5o7aEnQk73de_Eek1ZYofel4CbkT3r5I9rv2xbQlc9sX4-AX3mNzhhcOr7GnwxgYdb6-5tmb1ofpYDkt6x7zYVv-2D-EnijmnvG2e45sO3j2YtzcE1OMgAuonjY0buRv4oBscOzko6I5K8WYahWNCsA6EVghykEpL5TS44SjBCMEbPwID3rGOd4oPcGx7pRRXjvdaSMmZJD3DWfvQbkrblG-NL2XFUQ6s65ugDYayRw5gCbpeU54JP2n_QQC2GOZ75sx6K6RnwZdavltVX8Me2NPzCxFnIp5-nIc4_5-5b68fHn_H4e60tvVXo5s1h_GPg7rzFQKXHfG_AAAA__9nZg24">