Re: base not detecting Double/Float machine sizes (QNXNTO)

Stephen Paul Weber <[email protected]> Mon, 7 Jan 2013 11:56:45 -0500
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <20130107165645.GG1846@singpolyma-svelti>
--===============8761909099961686845==
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature"; boundary="GV0iVqYguTV4Q9ER"
Content-Disposition: inline


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

Somebody signing messages as Stephen Paul Weber wrote:
>Somebody claiming to be Ian Lynagh wrote:
>>On Thu, Dec 20, 2012 at 01:20:46PM -0500, Stephen Paul Weber wrote:
>>>Somebody claiming to be Stephen Paul Weber wrote:
>>>>libraries/base/Foreign/C/Types.hs:162:25:
>>Do you know why the test is failing?
>
>I'm still not sure what the test is testing.  More useful log output=20
>at <http://pastie.org/5643258>.  It seems to casting a number about=20
>and then checking... something, which is failing.

So, it may be the way that the internal autoconf check works for=20
cross-compiling violates an assumption about how that macro works.

The check is if this value is integral (which it clearly is not), but if th=
e=20
test completely fails to compile it treats that as "the compiler does not=
=20
support this type", which in this case is false.

Really, the "is this integral" check is probably optional on these types,=
=20
but if we want it to run it needs some changes for cross-compiling.

I'm trying to dig into the nature of the failure itself now.

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

--GV0iVqYguTV4Q9ER
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

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

iQIcBAEBCAAGBQJQ6v5MAAoJENEcKRHOUZzeAlsP/RXn0If+6oxgtdGMORGvtrG7
tNSg8pZWp/7iCoyG6fn9cc31rz7k8z81FZ5BREqy6gNoDIo6SsQWKa0CqPfWSVqv
ApO7AQusi0Sif8e+HfXOzqX7byL5swpkbppF53XTl09byilPvT26Nv0SSvrCivuR
12EQNQ297p2xmQLWFv0gxcgohiFQlpM8GEevlW7iufxJT//Etm28Mk6spOBMrWpK
5taq7h1br64vQNJ2VA5oGh+6rXUqCWwhtid8gbdUa/x6y79morVWmyuX8KOTuVwU
d1vtFS+49MXic5Sr8bImDloKW8Q9/OKZ2FUyK68BBeCSyz1oCj2D6PKi7o3HdfYd
40YAWflixsis07CBNNuSRPixBQgDDMuydWAiBcieqx0rVfd3cGAzAH9eRXtnouiF
IzSa50ZBOD21P/m21wpLGxa2J6QnScNMImPqGJc6g+2dbegVkwPvqUAkNRqEJ9Ua
Rq2F6ksKHv48tkno0vKQHsSO6frhZ9iUFqm8Kp0o+7NcCx6PPKcNZ5tlCoDxFq9k
Pgq5kWDzuiNKDeWZ0wXlgY9s+Nmz01gWNJ4OCenFSfHSwm2ixWrChC2f5Z18QoKQ
ZotbPKpMN3fRiix4OUQo4S5LAyniP4lVMuOh8CYdD+Sp4cRvBFwng0/89QsvbXJi
bPSQ8Ti2D+9kuuexbAR2
=UtAa
-----END PGP SIGNATURE-----

--GV0iVqYguTV4Q9ER--


--===============8761909099961686845==
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

--===============8761909099961686845==--