<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/54951>54951</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            LLVM 14's OpenMP failed to compile on CentOS 7.
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          xkszltl
      </td>
    </tr>
</table>

<pre>
    Environment:
- CentOS 7 + gcc-11 (devtoolset-11)
- hwloc 1.11.8 (no hwloc 2 available on CentOS 7)

We hit issues like `no member named 'kind' in 'hwloc_obj_attr_u::hwloc_group_attr_s'` when compiling LLVM 14.

This may be related:
- https://bugs.gentoo.org/824958

Sounds like LLVM 14 relies on hwloc 2's API.
The last working version was 12 (13 has other issues and we haven't tested).
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxVUsFunDAQ_Rq4jBZhAwEOHDZNK1VKlEip2uPKwADOGhvZhm369R122WQjWbbfeHjz5g21ad-r73qR1ugRtQ-SfRA_BPF-B98IPr9CDgG_h75pdozRtWhx8cYoh54CAS-v6cNJmQZYxFhUrHnabCEOYhFSiVohGP1B-_HpZf-DMEgP0rkZHSh5RAjuYiIZcazRghYjtsSbH6Vu6QCpV3QucTD120F4bw_zqj_ZX6K9NfN0iTtKJTo4DaihMeMkldQ9PD7-fgKWRrdCfg3SwSjeoUawqITH9saUwfvJrZj_oFXPvYt6asiYyNieIgVPy6y45Xs1s263jrZ6K6-kLsmNzSKS52D_8jO6akBQwnk4GXtchS5onaT0k3DA-GovS2AgYPxA5myuCd3CiXwUC2pi9ODRrfJ5GYVtlbRlUorQS6-w2pSc6z5PqJ9eoKMhkcXebAZ9mVYUzlZVX7vvpR_mOqJsAkot12M3WfOGjSd4EUaXjGxh4VBh3iRZHmPSdV2RsizveNM1ZcrrpkzygoX0n6ByVZDdB9lDKCsecx6nLI-LOE3j6C5Ji1KUqSgSZGWSBWmMIwmP1sLrDEJbnTWso6FHJZ13n4_COdlrxCu_mP1gbPX36P4pr8Kz3Oqs9T98EPcK">