<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/56421>56421</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[compiler-rt] error: multiple definition of 'enum fsconfig_command'
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
andreas-schwab
</td>
</tr>
</table>
<pre>
libsanitizer fails to build with the very latest glibc:
In file included from /usr/include/linux/fs.h:19,
from ../../../../libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:76:
/usr/include/linux/mount.h:95:6: error: multiple definition of 'enum fsconfig_command'
95 | enum fsconfig_command {
| ^~~~~~~~~~~~~~~~
In file included from ../../../../libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:63:
/usr/include/sys/mount.h:189:6: note: previous definition here
189 | enum fsconfig_command
| ^~~~~~~~~~~~~~~~
/usr/include/linux/mount.h:129:8: error: redefinition of 'struct mount_attr'
129 | struct mount_attr {
| ^~~~~~~~~~
/usr/include/sys/mount.h:161:8: note: previous definition of 'struct mount_attr'
161 | struct mount_attr
| ^~~~~~~~~~
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy1VF1zoyAU_TX6wsRRjBoefNi225n9FRkUUHYQHD6SZn_9XmzTJm2TzU53lblc4XI553ClM-zQKtk5qqWXv7hFgkrlkDeoC1IxtJd-RH7kaMftASnqufNogBV9Un5L8ockf7E_NBJScSR1rwLjDAlrJpTgx-As2Jdh8JTU4Ql64bIRchQkwffPKdD7Z0mRZRD8zpwihs9Xf9ubaTL6bGgG0MLYaavkJL3bzsbJp6yfZ9i8qd9YXEY6maD9ApZUYOIaxK01NjpTUF7OQJxxIeOeRiMjgHjDdZiQcL3RQg4LMqoZjL-SJRVKmnv0aRzM3J2qEgOfnep70vxNu3I6_1PaurwmrTu4M2GLDTkqq43nsZ8t30kT3KmwI7f8qAosuSzfP5TupsIocMS_OasMyz-UhPM29B4t67bUe3tSDpBigfoh5mIp_JHRzerXxRH9NfVv4FAXn3P4Av6UtSUjJaGpl17xNqnu4JBnqGa7sj6pHr7yL6bBqnb0fnaxWvEjtAFuvNBlEBNPWu2O3Wq25ifvfVTSucCjhFW9xkU6tqRmVBTrSjDaVFVflWuKa0E4JjzvNlikinZcuYg9wVjzPVpSgA_4U9niHOO8gRd4rkkmelwQzErGNhVhrEvWOZ_gXs4ijszYIbXtAqkLg4NJJZ13b5PUOTlovkgV89PgR2NbYGw5dSvXj3vapQuCdmHwG_Kf0-8">