Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 427160 - app-emulation/qemu-kvm-1.1.1 - User requested feature linux AIO /// configure was not able to find it
Summary: app-emulation/qemu-kvm-1.1.1 - User requested feature linux AIO /// configure...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo QEMU Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-18 23:41 UTC by Alexi
Modified: 2012-09-10 02:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (env,8.86 KB, text/plain)
2012-07-18 23:41 UTC, Alexi
Details
build.log (build.log,2.96 KB, text/plain)
2012-07-18 23:44 UTC, Alexi
Details

Note You need to log in before you can comment on or make changes to this bug.
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.