<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>228825</bug_id>
          
          <creation_ts>2008-06-22 00:58 0000</creation_ts>
          <short_desc>sys-devel/autoconf-2.62: AC_C_BIGENDIAN misdetects ppc system as universal</short_desc>
          <delta_ts>2008-09-21 06:21:08 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Core system</component>
          <version>2007.0</version>
          <rep_platform>PPC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://www.mail-archive.com/bug-autoconf@gnu.org/msg01680.html</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>217647</blocked>
    
    <blocked>224581</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>robbat2@gentoo.org</reporter>
          <assigned_to>base-system@gentoo.org</assigned_to>
          <cc>aballier@gentoo.org</cc>
    
    <cc>ppc64@gentoo.org</cc>
    
    <cc>ppc@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2008-06-22 00:58:35 0000</bug_when>
            <thetext>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 :-(.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2008-06-29 23:11:57 0000</bug_when>
            <thetext>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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aballier@gentoo.org</who>
            <bug_when>2008-07-20 10:12:50 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2008-09-21 06:20:27 0000</bug_when>
            <thetext>should be fixed with autoconf-2.63 in the tree</thetext>
          </long_desc>
      
    </bug>

</bugzilla>