Issue 238982
Summary build error: missing openmp headers
Labels new issue
Assignees
Reporter peppergrayxyz
    building on Gentoo musl/llvm fails with error:

```C
llvm-project/openmp/runtime/src/ompt-general.cpp:625:38: error: use of undeclared identifier 'ompt_target_event_macro'; did you mean 'ompt_target_exit_data'?
  625 | FOREACH_MAPPED_OMPT_TARGET_EVENT(ompt_target_event_macro);
      | ^~~~~~~~~~~~~~~~~~~~~~~
      | ompt_target_exit_data
/usr/include/omp-tools.h:397:3: note: 'ompt_target_exit_data' declared here
  397 |   ompt_target_exit_data = 3,
      | ^
llvm-project/openmp/runtime/src/ompt-general.cpp:625:5: error: use of undeclared identifier 'FOREACH_MAPPED_OMPT_TARGET_EVENT'
  625 | FOREACH_MAPPED_OMPT_TARGET_EVENT(ompt_target_event_macro);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
```

due to use of system headers instead of generated ones.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to