[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

glibc 2.6, powerpc: compiler must support C cleanup handling



Hi,

I would like to build the newest libc6 package for powerpc, but I get this:

% CC=gcc-4.2 nice dpkg-buildpackage -rfakeroot -uc -nc
dpkg-buildpackage: source package is glibc
dpkg-buildpackage: source version is 2.6-0exp2
dpkg-buildpackage: source changed by Aurelien Jarno <aurel32@debian.org>
dpkg-buildpackage: host architecture powerpc
dpkg-buildpackage: source version without epoch 2.6-0exp2
 debian/rules build
mkdir -p build-tree
cd build-tree && tar -xjf /tmp/glibc-2.6/glibc-2.6ds1.tar.bz2
touch /tmp/glibc-2.6/stamp-dir/glibc-2.6ds1.tar.bz2
cd build-tree/glibc-2.6 && tar -xjf /tmp/glibc-2.6/glibc-libidn-2.6.tar.bz2
a=`echo glibc-libidn-2.6.tar.bz2 | sed -e 's/^glibc-//' -e 's/-[^-]*$//'`; \
        d=`echo glibc-libidn-2.6.tar.bz2 | sed -e 's/\.tar\.bz2$//'`; \
        if test -d build-tree/glibc-2.6/$d; then \
          cd build-tree/glibc-2.6 && mv $d $a; \
        fi
touch /tmp/glibc-2.6/stamp-dir/glibc-libidn-2.6.tar.bz2
cd build-tree/glibc-2.6 && tar -xjf /tmp/glibc-2.6/glibc-linuxthreads-2.6-200705
18.tar.bz2
a=`echo glibc-linuxthreads-2.6-20070518.tar.bz2 | sed -e 's/^glibc-//' -e 's/-[^
-]*$//'`; \
        d=`echo glibc-linuxthreads-2.6-20070518.tar.bz2 | sed -e 's/\.tar\.bz2$/
/'`; \
        if test -d build-tree/glibc-2.6/$d; then \
          cd build-tree/glibc-2.6 && mv $d $a; \
        fi
touch /tmp/glibc-2.6/stamp-dir/glibc-linuxthreads-2.6-20070518.tar.bz2
cd build-tree/glibc-2.6 && tar -xjf /tmp/glibc-2.6/glibc-ports-2.6.tar.bz2
a=`echo glibc-ports-2.6.tar.bz2 | sed -e 's/^glibc-//' -e 's/-[^-]*$//'`; \
        d=`echo glibc-ports-2.6.tar.bz2 | sed -e 's/\.tar\.bz2$//'`; \
        if test -d build-tree/glibc-2.6/$d; then \
          cd build-tree/glibc-2.6 && mv $d $a; \
        fi
touch /tmp/glibc-2.6/stamp-dir/glibc-ports-2.6.tar.bz2
touch /tmp/glibc-2.6/stamp-dir/unpack
Applying patches...successful.
rm -rf debian/include
mkdir debian/include
ln -s /usr/include/linux debian/include
# Link all asm directories.  We can't just link asm and asm-generic
# because of explicit references to <asm-sparc/*> and
# <asm-sparc64/*>.
find /usr/include -maxdepth 1 -xtype d -name asm\* \
          -exec ln -s '{}' debian/include ';'
# To make configure happy if libc6-dev is not installed.
touch debian/include/assert.h
touch /tmp/glibc-2.6/stamp-dir/mkincludedir
Making builddir for libc
test -d build-tree/powerpc-libc || mkdir build-tree/powerpc-libc
touch /tmp/glibc-2.6/stamp-dir/mkbuilddir_libc
Configuring libc
rm -f build-tree/powerpc-libc/configparms
echo "CC = gcc-4.1"             >> build-tree/powerpc-libc/configparms
echo "BUILD_CC = gcc-4.1"               >> build-tree/powerpc-libc/configparms
echo "CFLAGS = -pipe -O2 -fstrict-aliasing -g "         >> build-tree/powerpc-li
bc/configparms
echo "BUILD_CFLAGS = -O2 -g"    >> build-tree/powerpc-libc/configparms
echo "BASH := /bin/bash"                >> build-tree/powerpc-libc/configparms
echo "KSH := /bin/bash"                 >> build-tree/powerpc-libc/configparms
echo "LIBGD = no"                       >> build-tree/powerpc-libc/configparms
echo "bindir = /usr/bin"                >> build-tree/powerpc-libc/configparms
echo "datadir = /usr/share"             >> build-tree/powerpc-libc/configparms
echo "localedir = /usr/lib/locale"      >> build-tree/powerpc-libc/configparms
echo "sysconfdir = /etc"        >> build-tree/powerpc-libc/configparms
echo "libexecdir = /usr/lib"    >> build-tree/powerpc-libc/configparms
echo "rootsbindir = /sbin"      >> build-tree/powerpc-libc/configparms
echo "includedir = /usr/include" >> build-tree/powerpc-libc/configparms
echo "docdir = /usr/share/doc"          >> build-tree/powerpc-libc/configparms
echo "mandir = /usr/share/man"          >> build-tree/powerpc-libc/configparms
echo "sbindir = /usr/sbin"              >> build-tree/powerpc-libc/configparms
libdir="" ; if test -n "$libdir" ; then \
                echo "libdir = $libdir" >> build-tree/powerpc-libc/configparms ;
 \
        fi
slibdir="" ; if test -n "$slibdir" ; then \
                echo "slibdir = $slibdir" >> build-tree/powerpc-libc/configparms
 ; \
        fi
rtlddir="" ; if test -n "$rtlddir" ; then \
                echo "rtlddir = $rtlddir" >> build-tree/powerpc-libc/configparms
 ; \
        fi
# Prevent autoconf from running unexpectedly by setting it to false.
# Also explicitly pass CC down - this is needed to get -m64 on
# Sparc, et cetera.
configure_build=powerpc-linux-gnu; \
        if [ powerpc-linux-gnu = $configure_build ]; then \
          echo "Checking that we're running at least kernel version: 2.6.1"; \
          if ! (minimum=$((`echo 2.6.1 | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*
\).*/\1 \* 65536 + \2 \* 256 + \3/'`)); current=$((`echo 2.6.22-rc2 | sed 's/\([
0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1 \* 65536 + \2 \* 256 + \3/'`)); if [ $curre
nt -lt $minimum ]; then false; fi); then \
            configure_build=`echo $configure_build | sed 's/^\([^-]*\)-\([^-]*\)
$/\1-dummy-\2/'`; \
            echo "No.  Forcing cross-compile by setting build to $configure_buil
d."; \
          fi; \
        fi; \
        (exec 3>&1; exit `( ( (  echo -n "Build started: " ; date --rfc-2822 ; e
cho "---------------" ) 2>&1 3>&-; echo $? >&4) | tee  -a /tmp/glibc-2.6/log-bui
ld-powerpc-linux-gnu-libc >&3) 4>&1`) ; \
        (exec 3>&1; exit `( ( (  cd build-tree/powerpc-libc && CC="gcc-4.1" AUTO
CONF=false MAKEINFO=: /tmp/glibc-2.6/build-tree/glibc-2.6/configure --host=power
pc-linux-gnu --build=$configure_build --prefix=/usr --without-cvs --enable-add-o
ns=libidn,"nptl " --enable-profile --without-selinux --with-headers=/tmp/glibc-2
.6/debian/include --enable-kernel=2.6.1  ) 2>&1 3>&-; echo $? >&4) | tee  -a /tm
p/glibc-2.6/log-build-powerpc-linux-gnu-libc >&3) 4>&1`)
Checking that we're running at least kernel version: 2.6.1
Build started: Thu, 14 Jun 2007 12:33:32 +0200
---------------
checking build system type... powerpc-unknown-linux-gnu
checking host system type... powerpc-unknown-linux-gnu
configure: running configure fragment for add-on libidn
configure: running configure fragment for add-on nptl
checking sysdep dirs... sysdeps/powerpc/powerpc32/elf sysdeps/powerpc/elf sysdep
s/unix/sysv/linux/powerpc/powerpc32/fpu sysdeps/powerpc/powerpc32/fpu nptl/sysde
ps/unix/sysv/linux/powerpc/powerpc32 sysdeps/unix/sysv/linux/powerpc/powerpc32 n
ptl/sysdeps/unix/sysv/linux/powerpc sysdeps/unix/sysv/linux/powerpc sysdeps/ieee
754/ldbl-128ibm sysdeps/ieee754/ldbl-opt nptl/sysdeps/unix/sysv/linux nptl/sysde
ps/pthread sysdeps/pthread sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/comm
on sysdeps/unix/mman sysdeps/unix/inet nptl/sysdeps/unix/sysv sysdeps/unix/sysv 
sysdeps/unix/powerpc nptl/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/powerp
c/powerpc32 sysdeps/wordsize-32 sysdeps/powerpc/fpu nptl/sysdeps/powerpc sysdeps
/powerpc sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/g
eneric/elf sysdeps/generic
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for powerpc-linux-gnu-gcc... gcc-4.1
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc-4.1 accepts -g... yes
checking for gcc-4.1 option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc-4.1 -E
checking for powerpc-linux-gnu-g++... powerpc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether powerpc-linux-gnu-g++ accepts -g... yes
checking for powerpc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking whether as is GNU as... yes
checking whether ld is GNU ld... yes
checking for as... as
checking version of as... 2.17.50.20070406, ok
checking for ld... ld
checking version of ld... 2.17.50.20070406, ok
checking for pwd... /bin/pwd
checking for powerpc-linux-gnu-gcc... (cached) gcc-4.1
checking version of gcc-4.1... 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... :
checking version of :... v. ?.??, bad
checking for sed... sed
checking version of sed... 4.1.5, ok
checking for autoconf... false
checking whether false works... no
configure: WARNING:
*** These auxiliary programs are missing or incompatible versions: makeinfo
*** some features will be disabled.
*** Check the INSTALL file for required versions.
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... yes
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 egrep... 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... 16
running configure fragment for sysdeps/powerpc/powerpc32/elf
checking for powerpc32 TLS support... yes
running configure fragment for sysdeps/unix/sysv/linux/powerpc
checking whether gcc-4.1 -O2 -Wall -Wformat=2 -Wunused -Wundef -Wextra -Wswitch-
enum -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwri
te-strings -Wnested-externs -Wconversion -mlong-double-128 uses IBM extended for
mat... yes
running configure fragment for sysdeps/ieee754/ldbl-opt
checking whether gcc-4.1 -O2 -Wall -Wformat=2 -Wunused -Wundef -Wextra -Wswitch-
enum -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwri
te-strings -Wnested-externs -Wconversion supports -mlong-double-128... yes
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: *** [/tmp/glibc-2.6/stamp-dir/configure_libc] Fehler 1

What's this? What can I do?

Thanks for your help.

Jörg.
-- 
Die NASA brauchte 12 Jahre um einen Kugelschreiber zu entwickeln, der
kopfüber, in der Schwerelosigkeit und unter Wasser schreiben kann.
Die Russen benutzten einfach einen Bleistift …



Reply to: