For tbb-2018.2-3.fc28, the injection of the build flags from redhat-rpm-config into the build was only partially successful. This appears to be part of libirm, but does not use the official CFLAGS: g++ -c -MMD -DDO_ITT_NOTIFY=0 -g -O2 -DUSE_PTHREAD -m64 -mrtm -Wall -Wno-parentheses -Wno-non-virtual-dtor -DTBB_USE_THREADING_TOOLS=0 -D__TBB_RML_STATIC=1 -D__TBB_NO_IMPLICIT_LINKAGE=1 -fPIC -flifetime-dse=1 -I../../src -I../../src/rml/include -I../../include -I../../src/rml/include -I. ipc_utils.cpp And for the final link, LDFLAGS injection is missing: g++ -fPIC -o libirml.so.1 ipc_server.o ipc_utils.o cache_aligned_allocator_rml.o dynamic_link_rml.o tbb_misc_rml.o tbb_misc_ex_rml.o -ldl -lpthread -lrt -ldl -shared -Wl,-soname=libirml.so.1 -m64 Other parts of the tbb build process do not have this problem.
Thanks for the bug report, Florian. The addition of libirml was a kind of last-minute thing, when I discovered that the python interface had been linked with it, but the library itself was not installed by upstream's Makefile. I obviously did not scrutinize it carefully enough. A fixed build is heading for Rawhide shortly.
Fixed in Rawhide.