[Compile CDK] Cannot compile gcc 3.4.3

Kreuzuebersetzer, Diskussion über Änderungen im Tuxbox-CDK und Tuxbox-CVS
AlexXF
Beiträge: 2
Registriert: Dienstag 19. April 2005, 06:15

[Compile CDK] Cannot compile gcc 3.4.3

Beitrag von AlexXF »

Please help! Can't compile CDK from branch dreambox.

http://cvs.tuxbox-cvs.sourceforge.net/c ... g=dreambox

When i compile gcc 3.4.3 i've got this error:

Code: Alles auswählen

cd build && \
        CC=powerpc-tuxbox-linux-gnu-gcc \
        AR=powerpc-tuxbox-linux-gnu-ar \
        RANLIB=powerpc-tuxbox-linux-gnu-ranlib \
        CFLAGS="-mcpu=405 -msoft-float -mmultiple -mstring -meabi -pipe -Os -ggdb3 -DHAVE_DREAMBOX_HARDWARE" \
        LDFLAGS="" \
        ../glibc-2.3.2/configure \
                --build=i686-pc-linux-gnu \
                --host=powerpc-tuxbox-linux-gnu \
                --prefix= \
                --with-headers=/home/alexxf/tuxbox-cvs/cdk/linux/include \
                --enable-kernel=2.6.5 \
                --disable-profile \
                --enable-shared \
                --enable-add-ons=nptl \
                --with-__thread \
                --without-fp \
                --with-tls && \
        make all && \
        make install install_root=/home/alexxf/tuxbox-cvs/root/cdkroot && /usr/bin/install -c -m644 libc_pic.a math/libm_pic.a resolv/libresolv_pic.a dlfcn/libdl_pic.a /home/alexxf/tuxbox-cvs/root/cdkroot/lib && /usr/bin/install -c -d /home/alexxf/tuxbox-cvs/root/cdkroot/lib/libc_pic && /usr/bin/install -c -m644 elf/soinit.os /home/alexxf/tuxbox-cvs/root/cdkroot/lib/libc_pic/soinit.o && /usr/bin/install -c -m644 elf/sofini.os /home/alexxf/tuxbox-cvs/root/cdkroot/lib/libc_pic/sofini.o && /usr/bin/install -c -m644 libc.map /home/alexxf/tuxbox-cvs/root/cdkroot/lib/libc_pic.map && /usr/bin/install -c -m644 libm.map /home/alexxf/tuxbox-cvs/root/cdkroot/lib/libm_pic.map && /usr/bin/install -c -m644 libdl.map /home/alexxf/tuxbox-cvs/root/cdkroot/lib/libdl_pic.map
checking build system type... i686-pc-linux-gnu
checking host system type... powerpc-tuxbox-linux-gnu
checking sysdep dirs... sysdeps/powerpc/powerpc32/elf sysdeps/powerpc/elf nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32 nptl/sysdeps/unix/sysv/linux/powerpc nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread nptl/sysdeps/unix/sysv nptl/sysdeps/unix nptl/sysdeps/powerpc sysdeps/unix/sysv/linux/powerpc/powerpc32 sysdeps/unix/sysv/linux/powerpc sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/powerpc sysdeps/unix sysdeps/posix sysdeps/powerpc/powerpc32 sysdeps/wordsize-32 sysdeps/powerpc/soft-fp sysdeps/powerpc/nofpu sysdeps/powerpc sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 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-tuxbox-linux-gnu-gcc... powerpc-tuxbox-linux-gnu-gcc
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether powerpc-tuxbox-linux-gnu-gcc accepts -g... yes
checking for powerpc-tuxbox-linux-gnu-gcc option to accept ANSI C... none needed
checking for gcc... gcc
checking how to run the C preprocessor... /lib/cpp
checking for powerpc-tuxbox-linux-gnu-g++... no
checking for powerpc-tuxbox-linux-gnu-c++... no
checking for powerpc-tuxbox-linux-gnu-gpp... no
checking for powerpc-tuxbox-linux-gnu-aCC... no
checking for powerpc-tuxbox-linux-gnu-CC... no
checking for powerpc-tuxbox-linux-gnu-cxx... no
checking for powerpc-tuxbox-linux-gnu-cc++... no
checking for powerpc-tuxbox-linux-gnu-cl... no
checking for powerpc-tuxbox-linux-gnu-FCC... no
checking for powerpc-tuxbox-linux-gnu-KCC... no
checking for powerpc-tuxbox-linux-gnu-RCC... no
checking for powerpc-tuxbox-linux-gnu-xlC_r... no
checking for powerpc-tuxbox-linux-gnu-xlC... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether /home/alexxf/tuxbox-cvs/root/cdk/lib/gcc/powerpc-tuxbox-linux-gnu/3.4.3/../../../../powerpc-tuxbox-linux-gnu/bin/as is GNU as... yes
checking whether /home/alexxf/tuxbox-cvs/root/cdk/lib/gcc/powerpc-tuxbox-linux-gnu/3.4.3/../../../../powerpc-tuxbox-linux-gnu/bin/ld is GNU ld... yes
checking for /home/alexxf/tuxbox-cvs/root/cdk/lib/gcc/powerpc-tuxbox-linux-gnu/3.4.3/../../../../powerpc-tuxbox-linux-gnu/bin/as... /home/alexxf/tuxbox-cvs/root/cdk/lib/gcc/powerpc-tuxbox-linux-gnu/3.4.3/../../../../powerpc-tuxbox-linux-gnu/bin/as
checking version of /home/alexxf/tuxbox-cvs/root/cdk/lib/gcc/powerpc-tuxbox-linux-gnu/3.4.3/../../../../powerpc-tuxbox-linux-gnu/bin/as... 2.15.91.0.2, ok
checking for /home/alexxf/tuxbox-cvs/root/cdk/lib/gcc/powerpc-tuxbox-linux-gnu/3.4.3/../../../../powerpc-tuxbox-linux-gnu/bin/ld... /home/alexxf/tuxbox-cvs/root/cdk/lib/gcc/powerpc-tuxbox-linux-gnu/3.4.3/../../../../powerpc-tuxbox-linux-gnu/bin/ld
checking version of /home/alexxf/tuxbox-cvs/root/cdk/lib/gcc/powerpc-tuxbox-linux-gnu/3.4.3/../../../../powerpc-tuxbox-linux-gnu/bin/ld... 2.15.91.0.2, ok
checking for pwd... /bin/pwd
checking for powerpc-tuxbox-linux-gnu-gcc... (cached) powerpc-tuxbox-linux-gnu-gcc
checking version of powerpc-tuxbox-linux-gnu-gcc... 3.4.3, ok
checking for gnumake... no
checking for gmake... no
checking for make... make
checking version of make... 3.80, ok
checking for gnumsgfmt... no
checking for gmsgfmt... no
checking for msgfmt... msgfmt
checking version of msgfmt... 0.14.1, ok
checking for makeinfo... makeinfo
checking version of makeinfo... 4.6, ok
checking for sed... sed
checking version of sed... 4.0.9, ok
checking for autoconf... autoconf
checking whether autoconf works... yes
checking whether ranlib is necessary... no
checking LD_LIBRARY_PATH variable... ok
checking whether GCC supports -static-libgcc... -static-libgcc
checking for bash... /bin/sh
checking for gawk... no
checking for mawk... mawk
checking for perl... /usr/bin/perl
checking for install-info... /usr/sbin/install-info
checking for old Debian install-info... no
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... yes
checking for .preinit_array/.init_array/.fini_array support... yes
checking for -z nodelete option... yes
checking for -z nodlopen option... yes
checking for -z initfirst option... yes
checking for -Bgroup option... yes
checking whether --noexecstack is desirable for .S files... yes
checking for -z combreloc... yes
checking for -fno-unit-at-a-time... yes
checking whether cc puts quotes around section names... no
checking for assembler .weak directive... yes
checking whether CFI directives are supported... yes
checking if -g produces usable source locations for assembler-with-cpp... yes
checking for ld --no-whole-archive... yes
checking for gcc -fexceptions... yes
checking whether clobbering cr0 causes problems... no
checking for DWARF2 unwind info support... no_registry_needed
checking for __builtin_expect... yes
checking for __builtin_memset... no
checking for redirection of built-in functions... yes
checking for local label subtraction... yes
checking for __thread... yes
checking for tls_model attribute... yes
checking for libgd... no
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking for long double... no
checking size of long double... 0
running configure fragment for sysdeps/powerpc/powerpc32/elf
checking for powerpc32 TLS support... yes
running configure fragment for nptl/sysdeps/unix/sysv/linux
running configure fragment for nptl/sysdeps/pthread
checking for forced unwind support... yes
checking for C cleanup handling... no
configure: error: the compiler must support C cleanup handling
make: *** [.glibc] Error 1
Current gcc version 3.3.3

Code: Alles auswählen

alexxf@debianvpc:/$ g++ -v
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.3/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib,gtk --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.3 (Debian 20040321)
hantatta
Neugieriger
Neugieriger
Beiträge: 5
Registriert: Mittwoch 20. April 2005, 20:19

Beitrag von hantatta »

I think I had this problem a few weeks ago. The problem is that you have to install the normal gcc 3.4.3 package (without g++) first. When you compile, you see that g++ will appear on your system.

Whats the name of the package you try to compile? Does it start with gcc-g++3.4.3?