The package sys-fs/lvm2-2.02.187-r2 fails to build with the use flag 'static' enabled due to a couple of undefined reference errors like these: /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: (.text.capability_quintet_enforce+ 0x4af): undefined reference to `cap_free' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9 .3.0/../../../../lib64/libsystemd.a(src_libsystemd_sd-daemon_sd-daemon.c.o): in function `sd_is_mq': (.text.sd_is_mq+0x3a): undefined reference to `mq_getattr' I am using gcc-9.3.0-r2. Reproducible: Always
Created attachment 679910 [details] emerge --info
Created attachment 679913 [details] build log