Created attachment 223257 [details] patch rpm4 is pulling whole gcc build just to not really use openmp. It builds fine with base clang, and working fine too. To avoid gcc dependency remove compiler:openmp from USES. Tested on FreeBSD 13, used this rpm4 to build whole linux-c7 pack. No errors encountered.
(In reply to kowalczt.fbsd from comment #0) > Tested on FreeBSD 13 Work on 12.2 amd64 too. Check this: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252379
Done in commit 07fb2d5e9d001934f1670d01aec1f536f14ebde2 [1] [1] https://cgit.freebsd.org/ports/commit/?id=07fb2d5e9d001934f1670d01aec1f536f14ebde2