Somebody claiming to be Ian Lynagh wrote:
On Sat, Dec 08, 2012 at 06:32:42PM +0000, Stephen Paul Weber wrote:
checking sys/eventfd.h usability... no
checking sys/eventfd.h presence... yes

What does this mean?  Is it a problem?

There should be more information about what failed in config.log.
The compilation error message should give some more clues about what's
going on.

So, checking config.log I see:

configure:11062: 
/home/singpolyma/bbndk/host_10_0_9_284/linux/x86/usr/bin/i486-pc-nto-qnx8.0.0-gcc
 -c -g -ansi -pedantic -Wall -Wextra -
O3 -fno-stack-protector  conftest.c >&5
conftest.c:128:25: fatal error: sys/eventfd.h: No such file or directory

Which makes sense, because eventfd is a Linux-specific thing (I think).

But then I see:

configure:11062: checking sys/eventfd.h presence
configure:11062: i686-linux-gnu-gcc -E  conftest.c
configure:11062: $? = 0
configure:11062: result: yes

So, it fails to build the test with the cross compiler, and gets the right answer (no), but then does a double-check with the host compiler and gets the wrong answer (yes)...

So, it's not a real problem, but perhaps something that could be improved in the autoconf setup.

--
Stephen Paul Weber, @singpolyma
See <http://singpolyma.net> for how I prefer to be contacted
edition right joseph

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to