https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-util/wachy-0.1.0_alpha6 fails to compile (lto). Discovered on: amd64 (internal ref: lto_tinderbox) NOTE: This machine uses lto with CFLAGS=-flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
Created attachment 791852 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: wachy.3932dff7-cgu.2:(.text._ZN5wachy10controller10Controller14setup_function17hd3365a5b8a07b646E+0xc8f): undefined reference to `ZydisRegisterGetString' /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: wachy.3932dff7-cgu.2:(.text._ZN5wachy10controller10Controller14setup_function17hd3365a5b8a07b646E+0xd2a): undefined reference to `ZydisRegisterGetString' /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: wachy.3932dff7-cgu.2:(.text._ZN5wachy10controller10Controller14setup_function17hd3365a5b8a07b646E+0xe25): undefined reference to `ZydisCalcAbsoluteAddress' /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: wachy.3932dff7-cgu.2:(.text._ZN5wachy7program7Program3new17h6ea90dd80a734c7dE+0x1a80): undefined reference to `ZydisCalcAbsoluteAddress' /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: wachy.3932dff7-cgu.2:(.text._ZN87_$LT$wachy..program..CallIterator$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17hac9a1f804fff6b5eE+0x21e): undefined reference to `ZydisFormatterInit' /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: wachy.3932dff7-cgu.2:(.text._ZN87_$LT$wachy..program..CallIterator$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17hac9a1f804fff6b5eE+0x2f8): undefined reference to `ZydisFormatterFormatInstructionEx' wachy.3932dff7-cgu.2:(.text._ZN14cplus_demangle8demangle17h5113360a8a5a20fdE+0x76): undefined reference to `cplus_demangle_wrapper' wachy.3932dff7-cgu.2:(.text._ZN5wachy10controller10Controller14setup_function17hd3365a5b8a07b646E+0xaa4): undefined reference to `ZydisDecoderInit' wachy.3932dff7-cgu.2:(.text._ZN5wachy7program7Program3new17h6ea90dd80a734c7dE+0x1711): undefined reference to `ZydisDecoderInit' wachy.3932dff7-cgu.2:(.text._ZN87_$LT$wachy..program..CallIterator$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17hac9a1f804fff6b5eE+0x55): undefined reference to `ZydisDecoderDecodeBuffer' error: linking with `x86_64-pc-linux-gnu-gcc` failed: exit status: 1