Summary: | app-emulation/qemu-2.1.2-r1 - src_configure(): ERROR: User requested feature linux AIO // configure was not able to find it. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | dE <de.techno> |
Component: | Current packages | Assignee: | Doug Goldstein (RETIRED) <cardoe> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | qemu+disabled |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
dE
2014-11-26 04:36:37 UTC
I tried the test that configure was doing. gcc -laio aio.c /lib64/libaio.so.1: undefined reference to `io_getevents' collect2: error: ld returned 1 exit status source -- #include <libaio.h> #include <sys/eventfd.h> #include <stddef.h> int main(void) { io_setup(0, NULL); io_set_eventfd(NULL, 0); eventfd(0, 0); return 0; } I cannot reproduce. (In reply to dE from comment #1) > I tried the test that configure was doing. > > gcc -laio aio.c > /lib64/libaio.so.1: undefined reference to `io_getevents' > collect2: error: ld returned 1 exit status > > source -- > > #include <libaio.h> > #include <sys/eventfd.h> > #include <stddef.h> > int main(void) { io_setup(0, NULL); io_set_eventfd(NULL, 0); eventfd(0, 0); > return 0; } This is a good hint as above snippet of code links fine on my machine. A quick search reveals bug #459716. So, please remove -flto from your CFLAGS for dev-libs/libaio (either in general in make.conf, or with the package.env/env facility). For future problems of this kind, I'd suggest to keep a close eye on -flto as this is known to cause some issues. *** This bug has been marked as a duplicate of bug 459716 *** |