<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/133096>133096</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[libc][linux] provide `sys/` headers
</td>
</tr>
<tr>
<th>Labels</th>
<td>
libc
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
RossComputerGuy
</td>
</tr>
</table>
<pre>
The `sys/` headers are required for LLVM libc but in a full build environment with no existing libc, the build fails due to the `sys/` headers not being present. These are not provided in the Linux headers package.
Headers:
- [ ] sys/auxv.h
- [ ] sys/ioctl.h
- [ ] sys/mman.h
- [ ] sys/prctl.h
- [ ] sys/random.h
- [ ] sys/resource.h
- [ ] sys/select.h
- [ ] sys/sendfile.h
- [ ] sys/socket.h
- [ ] sys/stat.h
- [ ] sys/syscall.h
- [ ] sys/types.h
- [ ] sys/utsname.h
- [ ] sys/wait.h
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx0k82OmzAUhZ_GbK4GGfMXFixmJkq7SDfVqHsbX8AdY1P_ZJK3r0yidkNWgD-fcw_Sudx7NRnEntRvpD5mPIbZuv6n9f7dLmsM6L7FWyasvPUfMwJpqL95wk6koTAjl-g8cIfg8E9UDiWM1sH5_OsHaCUGEDGAMsBhjFqDiEpLQHNRzpoFTYAvFWYwFvCqfFBm2lSEvUOY8XF95Ep7kBEh2O14N4OxAQQmh9WhRxNy-JjR4xYuwdXZi5IoU5zkclYmXv_JVz588glzQl8Jff1-PyVl-ngBUr8BqY9wn8rj9ZLPO0DZIehdsizc7ILVPZM4bqRd9hF6G92Au9CjxiE8QUaOSj_R2eETn-gCfwJufuB6P3-4reh3SQze8GU_xRdXIZ8z2ZeyKzueYV-0Feu6rmNdNvdC8GFo2xbbA6e0rGkrGn44FGWB1TjWXaZ6RllNS9YUVXmo2rwTtZCHgjasLDtKOakoLlzpXOvLkls3Zcr7iH1RlrRrMs0Far8tA2P3KrK0Fq5P919EnDypqFY--P8OQQW9LdAmqI_bm4nX9FuP1u12NotO93MI61Y0diLsNKkwR5EPdiHslAY8Hi-rs79xCKllKW9yekS-9OxvAAAA__9u7yh-">