Created attachment 318588 [details] emerge --info app-emulation/qemu-kvm-1.1.1 fails to emerge when USE flags include "aio" (Linux Asynchronous Input/Output). Compiler output shows the following, ERROR ERROR: User requested feature linux AIO ERROR: configure was not able to find it ERROR I have dev-libs/libaio-0.3.109-r3 already compiled and installed.
Created attachment 318590 [details] build.log
Can you attach your kernel's .config file or try something like 'gunzip -c < /proc/config.gz | grep CONFIG_AIO' to see if you have AIO support built into the kernel.
CONFIG_AIO=y is set in my kernel. If dev-libs/libaio-0.3.109-r3 is compiled with CFLAGS include "-flto", then when qmeu-kvm is emerged (without CFLAGS including "-flto", as it does not compile with this), it fails with the error as described. So solution is to *NOT* use experimental CFLAGS "-flto" for dev-libs/libaio or app-emulation/qemu-kvm.
Result of experimental CFLAGS.