Re: sys/exentfd.h (QNXNTO)

Stephen Paul Weber <[email protected]> Mon, 7 Jan 2013 11:06:04 -0500
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <20130107160604.GD1846@singpolyma-svelti>
--===============8036674702789113171==
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature"; boundary="UPT3ojh+0CqEDtpF"
Content-Disposition: inline


--UPT3ojh+0CqEDtpF
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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/i=
486-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: $? =3D 0
configure:11062: result: yes

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

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

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

--UPT3ojh+0CqEDtpF
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJQ6vJrAAoJENEcKRHOUZzeJl4P/2if30rnwVfhjg6R3hqsZfHi
Hp0EPH5bjmP6Cmz0giuvEJ+/HX3cnVJQpL+Xj7aNlNfNvyeAs45VRsM8tqfXBKlE
WmfSPoHDIyImk5fWQU9osBcD7mbVDMDaiwkRcEOd6qVqbFUpr/QUi2q3gxJrkUag
TQMRK3qoatDhxIhmmg3z0jrIDoptdoiijNnEI2WEjgAEJrjjXm/sdSeC1hVnGWs+
LFxgll4Q1XRCwzf8rYFqmJT6JvYbsoC9VP3CTHEZh0LAFgQThQ3RtvayhbLOxsdx
DDXV+pqOSALLKkREUKBfeILxbrCorADrRB/MJ1b+Zi7L8t5JdoJMJHyHLAUHbwIT
WyvlFVBDfjRbOEKqHx2YyzRTBUfP4Z1twAiEnJzESATO//Z8itQxom9gbjvadKGf
wXuGz+/+IxxynfxYP3SRY9cn44r/Hm2d3v4lkaroRwsBTMk9dsaATn9y9M15lquX
HMpokGXtgisIu82dAUPYdsCoMaWK9zuhzxVT6KRYN154RJP1MVjkMW0zzg002g+C
gMKm4E12c1S7uCLHLiz4jNJIVkHHNnwdOaYecXl23KhUSWVAZmk5ykHzmihvyiOr
dEK6SgAzCrZosnwDmk1a8OUOgRLnm37xZzRzsiOL1eG/NlXRcaG9cUkhqEjeZnyH
sxeTesuNMQcF7N3kuDVu
=K6fS
-----END PGP SIGNATURE-----

--UPT3ojh+0CqEDtpF--


--===============8036674702789113171==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

--===============8036674702789113171==--