This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem in compiling glibc headers for ppc


Dear all,
I am trying to create a cross compiler for ppc using crosstools. My target
is: powerpc-405-linux-gnu.

When it goes to the " install glibc headers needed to build bootstrap
compiler .." part, I get this error during configuration:
" configure: error: this configuration requires -mlong-double-128 IBM
extended format support".

As I thought this phase may not be necessary for gcc 4.2.2 I just tried to
omit it. But in further phases I got some stupid errors regarding some
header files like unistd.h or hthread.h. Anyway, It would be grateful if you
can help me on this.

Regards,
Mojtaba

My build system is ubuntu 2 2.6.22 i686 GNU/Linux The glibc version is 2.7


This is the complete log:


crosstool: binutils built ok
+ echo Install glibc headers needed to build bootstrap compiler -- but
only if gcc-3.x
Install glibc headers needed to build bootstrap compiler -- but only if
gcc-3.x
+ grep -q gcc-[34]
/home/mojtaba/ppc/cross-ppc-linux-gnu/crosstools/crosstool-0.43/build/powe
rpc-405-linux-gnu/gcc-4.2.2-glibc-2.7/gcc-4.2.2/ChangeLog
+ test ! -f 
+ /usr/local/crosstools/powerpc-405-linux-gnu/include/features.h
+ mkdir -p build-glibc-headers
+ cd build-glibc-headers
+ test ! -f Makefile
+ libc_cv_ppc_machine=yes CC=gcc
/home/mojtaba/ppc/cross-ppc-linux-gnu/crosstools/crosstool-0.43/build/powerp
c-405-linux-gnu/gcc-4.2.2-glibc-2.7/glibc-2.7/configure --prefix=/usr
--build=i686-pc-linux-gnu --host=powerpc-405-linux-gnu --without-cvs
--disable-sanity-checks
--with-headers=/usr/local/crosstools/powerpc-405-linux-gnu/include
--enable-hacker-mode --without-long-double-128 
checking build system type... i686-pc-linux-gnu 
checking host system type... powerpc-405-linux-gnu
configure: running configure fragment for add-on linuxthreads linuxthreads
disabled because nptl add-on is also in use
configure: running configure fragment for add-on nptl 
checking sysdep dirs... sysdeps/powerpc/powerpc32/elf sysdeps/powerpc/elf
sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu
sysdeps/powerpc/powerpc32/fpu
nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32
sysdeps/unix/sysv/linux/powerpc/powerpc32
nptl/sysdeps/unix/sysv/linux/powerpc sysdeps/unix/sysv/linux/powerpc
sysdeps/ieee754/ldbl-128ibm sysdeps/ieee754/ldbl-opt
nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread
sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman
sysdeps/unix/inet nptl/sysdeps/unix/sysv sysdeps/unix/sysv
sysdeps/unix/powerpc nptl/sysdeps/unix sysdeps/unix sysdeps/posix
sysdeps/powerpc/powerpc32 sysdeps/wordsize-32 sysdeps/powerpc/fpu
nptl/sysdeps/powerpc sysdeps/powerpc sysdeps/ieee754/dbl-64
sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic 
checking for a BSD-compatible install... /usr/bin/install -c 
checking whether ln -s works... yes 
checking for powerpc-405-linux-gnu-gcc... gcc 
checking for suffix of object files... o 
checking whether we are using the GNU C compiler... yes 
checking whether gcc accepts -g... yes 
checking for gcc option to accept ISO C89... none needed 
checking for gcc... gcc 
checking how to run the C preprocessor... gcc -E 
checking for powerpc-405-linux-gnu-g++... powerpc-405-linux-gnu-g++ 
checking whether we are using the GNU C++ compiler... yes 
checking whether powerpc-405-linux-gnu-g++ accepts -g... yes 
checking for powerpc-405-linux-gnu-ranlib... powerpc-405-linux-gnu-ranlib 
checking whether as is GNU as... yes 
checking whether ld is GNU ld... yes 
checking for as... as checking version of as... 2.18, ok 
checking for ld... ld 
checking version of ld... 2.18, ok 
checking for pwd... /bin/pwd 
checking for powerpc-405-linux-gnu-gcc... (cached) gcc 
checking version of gcc... 4.1.3, ok 
checking for gnumake... no 
checking for gmake... no checking for make... make 
checking version of make... 3.81, ok 
checking for gnumsgfmt... no 
checking for gmsgfmt... no 
checking for msgfmt... msgfmt 
checking version of msgfmt... 0.16.1, ok 
checking for makeinfo... makeinfo 
checking version of makeinfo... 4.8, ok 
checking for sed... sed 
checking version of sed... 4.1.5, ok 
checking for autoconf... no 
checking whether ranlib is necessary... no 
checking LD_LIBRARY_PATH variable... ok 
checking whether GCC supports -static-libgcc... -static-libgcc 
checking for bash... /bin/bash 
checking for gawk... gawk 
checking for perl... /usr/bin/perl 
checking for install-info... /usr/sbin/install-info 
checking for bison... /usr/bin/bison 
checking for signed size_t type... no 
checking for libc-friendly stddef.h... yes 
checking whether we need to use -P to assemble .S files... no 
checking whether .text pseudo-op must be used... yes 
checking for assembler global-symbol directive... .globl 
checking for .set assembler directive... yes 
checking for assembler .type directive prefix... @ 
checking for .symver assembler directive... yes 
checking for ld --version-script... yes 
checking for .previous assembler directive... yes 
checking for .protected and .hidden assembler directive... yes 
checking whether __attribute__((visibility())) is supported... yes 
checking for broken __attribute__((visibility()))... no 
checking for broken __attribute__((alias()))... no 
checking whether to put _rtld_local into .sdata section... no 
checking for .preinit_array/.init_array/.fini_array support... yes 
checking for libunwind-support in compiler... no 
checking for -z nodelete option... yes 
checking for -z nodlopen option... yes 
checking for -z initfirst option... yes 
checking for -z relro option... yes 
checking for -Bgroup option... yes 
checking for libgcc_s suffix...
checking for --as-needed option... yes
checking whether --noexecstack is desirable for .S files... yes 
checking for -z combreloc... yes 
checking for -z execstack... yes 
checking for -fpie... yes 
checking for --hash-style option... yes 
checking for -fno-toplevel-reorder... no 
checking for -fstack-protector... yes 
checking for -fgnu89-inline... yes 
checking whether cc puts quotes around section names... no 
checking for assembler .weak directive... yes 
checking whether CFI directives are supported... yes 
checking for ld --no-whole-archive... yes 
checking for gcc -fexceptions... yes 
checking whether clobbering cr0 causes problems... no 
checking for __builtin_expect... yes 
checking for __builtin_memset... no 
checking for redirection of built-in functions... yes 
checking for __thread... yes 
checking for tls_model attribute... yes 
checking for libgd... no 
checking for is_selinux_enabled in -lselinux... no
 checking for grep that handles long lines and -e... /bin/grep 
checking for egrep... /bin/grep -E 
checking for ANSI C header files... yes 
checking for sys/types.h... yes 
checking for sys/stat.h... yes 
checking for stdlib.h... yes 
checking for string.h... yes 
checking for memory.h... yes 
checking for strings.h... yes 
checking for inttypes.h... yes
 checking for stdint.h... yes 
checking for unistd.h... yes
 checking for long double... yes 
checking size of long double... 12 
running configure fragment for sysdeps/powerpc/powerpc32/elf 
checking for powerpc32 TLS support... no 
running configure fragment for sysdeps/unix/sysv/linux/powerpc 
checking whether gcc -g -O2 -mlong-double-128 uses IBM extended format...no
checking whether gcc -g -O2 supports -mabi=ibmlongdouble... no
configure: error: this configuration requires -mlong-double-128 IBM extended
format support



--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]