https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: media-libs/vidstab-1.1.0-r2 fails to compile. Discovered on: amd64 (internal ref: tinderbox) NOTE: This machine uses a clang/LLVM toolchain. If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004. This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Created attachment 658034 [details] build.log build log and emerge --info
Created attachment 658036 [details] 1-CMakeOutput.log 1-CMakeOutput.log
Created attachment 658038 [details] 2-CMakeOutput.log 2-CMakeOutput.log
I finally reproduced that on my machine.... bug: CC=clang CXX=clang++ FEATURES="test" USE="openmp" emerge -vt media-libs/vidstab work: CC=gcc CXX=g++ FEATURES="-test" USE="openmp" emerge -vt media-libs/vidstab CC=gcc CXX=g++ FEATURES="test" USE="openmp" emerge -vt media-libs/vidstab CC=clang CXX=clang++ FEATURES="-test" USE="openmp" emerge -vt media-libs/vidstab CC=clang CXX=clang++ CFLAGS=-fopenmp FEATURES="test" USE="openmp" emerge -vt media-libs/vidstab CC=clang CXX=clang++ CFLAGS=-fopenmp FEATURES="-test" USE="openmp" emerge -vt media-libs/vidstab Summary: when using sys-devel/clang-10.0.0 we need to add CFLAGS=-fopenmp for USE="openmp" FEATURES="test" case. Any other combination works. Tracked upstream as https://github.com/georgmartius/vid.stab/issues/65 There is a rework and a PR https://github.com/georgmartius/vid.stab/pull/94 around OpenMP, I'll rather wait for it. As a workaround in the meantime, for clang compile with FEATURE="-test" ( or with CFLAGS=-fopenmp if you insist on FEATURE="test").
Sorry, the last sentence should have read: As a workaround in the meantime, for compilation with sys-devel/clang do set FEATURES="-test" (or do add CFLAGS=-fopenmp).