[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: autoconf 2.6.2 AC_C_BIGENDIAN misdetects ppc/linux system as univers
From: |
Eric Blake |
Subject: |
Re: autoconf 2.6.2 AC_C_BIGENDIAN misdetects ppc/linux system as universal |
Date: |
Tue, 17 Jun 2008 20:14:05 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080421 Thunderbird/2.0.0.14 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Karsten Hopp on 6/11/2008 5:28 AM:
| Arkadiusz Miskiewicz schrieb:
Hello, Arkadiusz, Karsten, and adding Paul as the author of this
particular change,
|> I'm having problem where my linux ppc is misdetected as universal
|> instead of big endian.
|>
|
| I have a similar bugreport for Fedora at
| https://bugzilla.redhat.com/show_bug.cgi?id=449944
Stepan's comments on the Fedora bug may be most telling:
| I agree with you that this is a bug.
|
| The idea was that config.h contains
| #ifdef __BIG_ENDIAN__
| # define WORDS_BIGENDIAN 1
| #endif
| so we do not need more compilations. This is a nice optimization for
the case
| when AC_C_BIGENDIAN was called without parameters.
|
| But, obviously, it breaks your test case:
| AC_C_BIGENDIAN([AC_DEFINE(BIG, 1, [big])], [AC_DEFINE(LITTLE, 1, [little])])
I haven't had time to look into this further, but am at least responding
so you know it hasn't fallen into a black hole.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkhYb20ACgkQ84KuGfSFAYDlLACcCdL9vol4Bz1R4x7gXsA5jcZ6
4FgAoMWroj0RefRiv6MUDavAv2oBKZv2
=bqmr
-----END PGP SIGNATURE-----