Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 228825 - sys-devel/autoconf-2.62: AC_C_BIGENDIAN misdetects ppc system as universal
Summary: sys-devel/autoconf-2.62: AC_C_BIGENDIAN misdetects ppc system as universal
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC Linux
: High critical
Assignee: Gentoo's Team for Core System packages
URL: http://www.mail-archive.com/bug-autoc...
Whiteboard:
Keywords:
Depends on:
Blocks: autoconf-2.62 224581
  Show dependency tree
 
Reported: 2008-06-22 00:58 UTC by Robin Johnson
Modified: 2008-09-21 06:21 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-06-22 00:58:35 UTC
This is mainly a heads up for PPC folk.

autoconf-2.62 has a badly broken AC_C_BIGENDIAN macro. Specifically, it detects the endianess as universal instead of big.

As one of the side-effects of this, Xorg does not get the correct endianess during compile at all: http://bugs.freedesktop.org/show_bug.cgi?id=16171

Anything compiled with the broken autoconf, that has branches for compiling different endian code (like _LOTS_ of X uses X_BYTE_ORDER), will need to be recompiled :-(.
Comment 1 SpanKY gentoo-dev 2008-06-29 23:11:57 UTC
ive reverted the big endian macro in 2.62-r1 to the version in 2.61 ... this will workaround the issue until we get a real fix from upstream
Comment 2 Alexis Ballier gentoo-dev 2008-07-20 10:12:50 UTC
Since I had bug #231670, that means this does not always fail at build time. I was wondering if it would be possible to have a QA check that would print warnings, if configure has been generated with autoconf 2.62 and AC_C_BIGENDIAN is used. (considering upstream tarballs may have autofoo stuff generated by the broken autoconf). That would at least point people to the culpit if something is screwed up.
Comment 3 SpanKY gentoo-dev 2008-09-21 06:20:27 UTC
should be fixed with autoconf-2.63 in the tree