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

    <tr>
        <th>Summary</th>
        <td>
            [OpenMP] libompd compilation issue
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          ye-luo
      </td>
    </tr>
</table>

<pre>
    ```
find_packages :  ['ompd']
running bdist_wheel
running build
running build_py
file loadompd.py (for module loadompd) not found
not copying ompd/__init__.py (output up-to-date)
not copying ompd/frame_filter.py (output up-to-date)
not copying ompd/ompd.py (output up-to-date)
not copying ompd/ompd_address_space.py (output up-to-date)
not copying ompd/ompd_handles.py (output up-to-date)
not copying ompd/ompd_callbacks.py (output up-to-date)
file loadompd.py (for module loadompd) not found
running build_ext
building 'ompd.ompdModule' extension
cpp -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/yeluo/opt/llvm-clang/build_mirror_offload_main/projects/openmp/runtime/src -I/home/yeluo/opt/miniconda3/include/python3.7m -c /home/yeluo/opt/llvm-clang/llvm-project/openmp/libompd/gdb-plugin/ompdModule.c -o build/temp.linux-x86_64-3.7/home/yeluo/opt/llvm-clang/llvm-project/openmp/libompd/gdb-plugin/ompdModule.o
cpp: fatal error: ā€˜-cā€™ is not a valid option to the preprocessor
compilation terminated.
error: command 'cpp' failed with exit status 1
make[2]: *** [projects/openmp/libompd/gdb-plugin/CMakeFiles/ompd_gdb_plugin.dir/build.make:82: projects/openmp/libompd/gdb-plugin/python-module/ompd/__init__.py] Error 1
```
On SLES SP3 using gcc 7.5
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy1Vdtu2zgQ_Rr5ZUBBlmLZetBD2sSLAptNgGCxjwJFUjK3FEnwksR_v0NJbrO97LYBChiyyJk5c2Z4huoNP7d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