Gentoo Archives: gentoo-dev

From: Kfir Lavi <lavi.kfir@×××××.com>
To: gentoo-embedded@l.g.o, gentoo-dev@l.g.o
Subject: [gentoo-dev] dev-libs/ace-5.7.2 - checking for epoll_create... configure: error: cannot run test program while cross compiling
Date: Mon, 08 Nov 2010 10:32:05
Message-Id: AANLkTi=xYe20_g4Gsc8YUkSszWO9LFeobBJ3RnikDiQH@mail.gmail.com
1 Hi,
2 I have created a cross compilation environment inside a chroot.
3 When emerging ace with:
4 i686-gentoo1-linux-gnu-emerge dev-libs/ace
5 I get this error:
6 checking for epoll_create... configure: error: cannot run test program while
7 cross compiling
8
9 The command for crossdev is:
10 crossdev -P -vt i686-gentoo1-linux-gnu
11
12 Here is part of the emerge:
13 checking for system... yes
14 checking for getmsg... yes
15 checking for gethostbyaddr... yes
16 checking for epoll_create... configure: error: cannot run test program while
17 cross compiling
18 See `config.log' for more details.
19
20 !!! Please attach the following file when seeking support:
21 !!!
22 /usr/__CHOST1__/tmp/portage/dev-libs/ace-5.7.2/work/ACE_wrappers/build/config.log
23 * ERROR: dev-libs/ace-5.7.2 failed:
24 * econf failed
25 *
26 * Call stack:
27 * ebuild.sh, line 54: Called src_compile
28 * environment, line 2336: Called econf '--enable-lib-all' '--without-X'
29 '--disable-ipv6'
30 * ebuild.sh, line 544: Called die
31 * The specific snippet of code:
32 * die "econf failed"
33 *
34 * If you need support, post the output of 'emerge --info
35 =dev-libs/ace-5.7.2',
36 * the complete build log and the output of 'emerge -pqv
37 =dev-libs/ace-5.7.2'.
38 * The complete build log is located at
39 '/usr/__CHOST1__/tmp/portage/dev-libs/ace-5.7.2/temp/build.log'.
40 * The ebuild environment file is located at
41 '/usr/__CHOST1__/tmp/portage/dev-libs/ace-5.7.2/temp/environment'.
42 * S: '/usr/__CHOST1__/tmp/portage/dev-libs/ace-5.7.2/work/ACE_wrappers'
43
44
45 Here is gcc -v:
46 (build host chroot) goofy / # i686-gentoo1-linux-gnu-gcc -v
47 Using built-in specs.
48 COLLECT_GCC=/usr/i686-pc-linux-gnu/i686-gentoo1-linux-gnu/gcc-bin/4.5.1/i686-gentoo1-linux-gnu-gcc
49 COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-gentoo1-linux-gnu/4.5.1/lto-wrapper
50 Target: i686-gentoo1-linux-gnu
51 Configured with:
52 /var/tmp/portage/cross-i686-gentoo1-linux-gnu/gcc-4.5.1/work/gcc-4.5.1/configure
53 --prefix=/usr
54 --bindir=/usr/i686-pc-linux-gnu/i686-gentoo1-linux-gnu/gcc-bin/4.5.1
55 --includedir=/usr/lib/gcc/i686-gentoo1-linux-gnu/4.5.1/include
56 --datadir=/usr/share/gcc-data/i686-gentoo1-linux-gnu/4.5.1
57 --mandir=/usr/share/gcc-data/i686-gentoo1-linux-gnu/4.5.1/man
58 --infodir=/usr/share/gcc-data/i686-gentoo1-linux-gnu/4.5.1/info
59 --with-gxx-include-dir=/usr/lib/gcc/i686-gentoo1-linux-gnu/4.5.1/include/g++-v4
60 --host=i686-pc-linux-gnu --target=i686-gentoo1-linux-gnu
61 --build=i686-pc-linux-gnu --disable-altivec --disable-fixed-point
62 --without-ppl --without-cloog --disable-lto --enable-nls
63 --without-included-gettext --with-system-zlib --disable-werror
64 --enable-secureplt --disable-multilib --disable-libmudflap --disable-libssp
65 --enable-libgomp --enable-cld
66 --with-python-dir=/share/gcc-data/i686-gentoo1-linux-gnu/4.5.1/python
67 --enable-checking=release --disable-libgcj --with-arch=i686
68 --enable-languages=c,c++,fortran --with-sysroot=/usr/i686-gentoo1-linux-gnu
69 --disable-bootstrap --enable-__cxa_atexit --enable-clocale=gnu
70 --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.5.1 p1.2,
71 pie-0.4.5'
72 Thread model: posix
73 gcc version 4.5.1 (Gentoo 4.5.1 p1.2, pie-0.4.5)
74
75 Regards,
76 Kfir

Attachments

File name MIME type
config.log text/plain
ace-5.7.2-info application/octet-stream

Replies