This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/21870] New: Build fails with unknown endianess
- From: "aaronw at net dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jun 2005 00:17:59 -0000
- Subject: [Bug bootstrap/21870] New: Build fails with unknown endianess
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
loading cache ../config.cache
checking for a BSD compatible install... (cached) /opt/gcc3.3/bin/ginstall -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... makeinfo: Cannot find ELF
../../../../libffi/configure: line 2163: 26778 Killed
( makeinfo --version ) </dev/null >/dev/null 2>&1
missing
checking for executable suffix... (cached) no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) /var/tmp/gcc3/gcc-3.3.6/sparc-solaris-2.8/gcc/xgcc
-B/var/tmp/gcc3/gcc-3.3.6/sparc-solaris-2.8/gcc/
-B/opt/gcc3.3/sparc-sun-solaris2.8/bin/ -B/opt/gcc3.3/sparc-sun-solaris2.8/lib/
-isystem /opt/gcc3.3/sparc-sun-solaris2.8/include -m64
checking whether the C compiler
(/var/tmp/gcc3/gcc-3.3.6/sparc-solaris-2.8/gcc/xgcc
-B/var/tmp/gcc3/gcc-3.3.6/sparc-solaris-2.8/gcc/
-B/opt/gcc3.3/sparc-sun-solaris2.8/bin/ -B/opt/gcc3.3/sparc-sun-solaris2.8/lib/
-isystem /opt/gcc3.3/sparc-sun-solaris2.8/include -m64 -O2 -g -O2 ) works...
yes
checking whether the C compiler
(/var/tmp/gcc3/gcc-3.3.6/sparc-solaris-2.8/gcc/xgcc
-B/var/tmp/gcc3/gcc-3.3.6/sparc-solaris-2.8/gcc/
-B/opt/gcc3.3/sparc-sun-solaris2.8/bin/ -B/opt/gcc3.3/sparc-sun-solaris2.8/lib/
-isystem /opt/gcc3.3/sparc-sun-solaris2.8/include -m64 -O2 -g -O2 ) is a
cross-compiler... yes
checking whether we are using GNU C... (cached) yes
checking whether /var/tmp/gcc3/gcc-3.3.6/sparc-solaris-2.8/gcc/xgcc
-B/var/tmp/gcc3/gcc-3.3.6/sparc-solaris-2.8/gcc/
-B/opt/gcc3.3/sparc-sun-solaris2.8/bin/ -B/opt/gcc3.3/sparc-sun-solaris2.8/lib/
-isystem /opt/gcc3.3/sparc-sun-solaris2.8/include -m64 accepts -g... (cached)
yes
checking how to run the C preprocessor...
(cached) /var/tmp/gcc3/gcc-3.3.6/sparc-solaris-2.8/gcc/xgcc
-B/var/tmp/gcc3/gcc-3.3.6/sparc-solaris-2.8/gcc/
-B/opt/gcc3.3/sparc-sun-solaris2.8/bin/ -B/opt/gcc3.3/sparc-sun-solaris2.8/lib/
-isystem /opt/gcc3.3/sparc-sun-solaris2.8/include -m64 -E
checking for ANSI C header files... (cached) no
checking for memcpy... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... yes
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of float... 4
checking size of double... 8
checking size of long double... 16
checking size of void *... 8
checking whether byte ordering is bigendian... cross-compiling... unknown
checking to probe for byte ordering... guessing bigendian ... unknown
configure: error: unknown endianess - sorry
make: *** [configure-target-libffi] Error 1
Compiled with:
bzip2 -dc gcc-3.3.6.tar.bz2 | tar xf -
cd gcc-3.3.6
mkdir sparc-solaris-2.8
cd sparc-solaris-2.8
/bin/bash ../configure --host=sparc-sun-solaris2.8 --prefix=/opt/gcc3.3
--enable-shared --with-gnu-ld --with-ld=/opt/gcc3.3/bin/ld --with-gnu-as
--with-as=/opt/gcc3.3/bin/as --with-cpu=ultrasparc
make
The source compiler is gcc 3.3.6 with a different prefix... I can get things to
compile if I hack things up a bit but this is from a clean compile.
binutils is version 2.16
--
Summary: Build fails with unknown endianess
Product: gcc
Version: 3.3.6
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: aaronw at net dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: sparc-sun-solaris2.8
GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21870