Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 427160

Summary: app-emulation/qemu-kvm-1.1.1 - User requested feature linux AIO /// configure was not able to find it
Product: Gentoo Linux Reporter: Alexi <alexi.nones>
Component: Current packagesAssignee: Gentoo QEMU Project <qemu+disabled>
Status: RESOLVED INVALID    
Severity: normal CC: alexi.nones, gokturk
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log

Description Alexi 2012-07-18 23:41:47 UTC
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.
Comment 1 Alexi 2012-07-18 23:44:23 UTC
Created attachment 318590 [details]
build.log
Comment 2 Göktürk Yüksek archtester gentoo-dev 2012-07-19 18:21:37 UTC
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.
Comment 3 Alexi 2012-07-19 19:37:58 UTC
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.
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2012-09-10 02:21:25 UTC
Result of experimental CFLAGS.