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

Bug#377892: glibc: FTBFS on powerpc



Package: glibc
Severity: serious
Justification: Fails to build from source

The current glibc (2.3.6-15) fails to build from source on powerpc.
I tested in an up-to-date unstable chroot with sbuild.
It looks like a problem with the kernel includes.

The complete build log is at
  http://people.debian.org/~rleigh/glibc_2.3.6-15_20060711-2039.bz2

The failing part is as follows:

sed -e 's/#.*$//' -e '/^[	]*$/d' ../abi-tags | \
	while read conf tagos tagver; do \
	  test `expr 'powerpc64-unknown-linux-gnu' \
		     : "$conf"` != 0 || continue; \
	  ( echo "$tagos" | \
	    sed -e 's/[^0-9xXa-fA-F 	]//' \
		-e 's/^/#define __ABI_TAG_OS /'; \
	    echo "#ifndef __ABI_TAG_VERSION"; \
	    echo "$tagver" | \
	    sed -e 's/[^0-9xXa-fA-F]/ /g' -e 's/ *$//' \
	      -e 's/ /,/g' -e 's/^/# define __ABI_TAG_VERSION /'; \
	    echo "#endif" ) > /build/rleigh/glibc-2.3.6/build-tree/powerpc-ppc64/csu/abi-tag.h.new; \
	done
if test -r /build/rleigh/glibc-2.3.6/build-tree/powerpc-ppc64/csu/abi-tag.h.new; then mv -f /build/rleigh/glibc-2.3.6/build-tree/powerpc-ppc64/csu/abi-tag.h.new /build/rleigh/glibc-2.3.6/build-tree/powerpc-ppc64/csu/abi-tag.h; \
	else echo >&2 'This configuration not matched in ../abi-tags'; exit 1; fi
gawk -f ../scripts/gen-as-const.awk ../nptl/sysdeps/powerpc/tcb-offsets.sym \
	| gcc-4.0 -m64 -S -o /build/rleigh/glibc-2.3.6/build-tree/powerpc-ppc64/tcb-offsets.hT3 -std=gnu99 -O2 -O3 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -fstrict-aliasing -g -g1 -pipe -mnew-mnemonics      -I../include -I. -I/build/rleigh/glibc-2.3.6/build-tree/powerpc-ppc64/csu -I.. -I../libio -I../nptl -I/build/rleigh/glibc-2.3.6/build-tree/powerpc-ppc64 -I../sysdeps/powerpc/powerpc64/elf -I../sysdeps/powerpc/elf -I../libidn/sysdeps/unix -I../nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64 -I../nptl/sysdeps/unix/sysv/linux/powerpc -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix -I../nptl/sysdeps/powerpc -I../sysdeps/unix/sysv/linux/powerpc/powerpc64 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/powerp
 c -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/powerpc/powerpc64/fpu -I../sysdeps/powerpc/powerpc64 -I../sysdeps/wordsize-64 -I../sysdeps/powerpc/fpu -I../sysdeps/powerpc -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc/powerpc-linux-gnu/4.0.4/include -isystem /build/rleigh/glibc-2.3.6/debian/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -DHAVE_INITFINI -x c - \
		-MD -MP -MF /build/rleigh/glibc-2.3.6/build-tree/powerpc-ppc64/tcb-offsets.h.dT -MT '/build/rleigh/glibc-2.3.6/build-tree/powerpc-ppc64/tcb-offsets.h.d /build/rleigh/glibc-2.3.6/build-tree/powerpc-ppc64/tcb-offsets.h'
In file included from ../nptl/../nptl_db/thread_db.h:29,
                 from ../nptl/descr.h:37,
                 from ../nptl/sysdeps/powerpc/tls.h:61,
                 from ../include/tls.h:6,
                 from ../include/errno.h:22,
                 from ../sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:29,
                 from <stdin>:1:
../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:41:1: warning: "ELF_NVRREG" redefined
In file included from /build/rleigh/glibc-2.3.6/debian/include/asm/sigcontext.h:13,
                 from ../sysdeps/unix/sysv/linux/bits/sigcontext.h:28,
                 from ../signal/signal.h:333,
                 from ../include/signal.h:5,
                 from ../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:27,
                 from ../nptl/../nptl_db/thread_db.h:29,
                 from ../nptl/descr.h:37,
                 from ../nptl/sysdeps/powerpc/tls.h:61,
                 from ../include/tls.h:6,
                 from ../include/errno.h:22,
                 from ../sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:29,
                 from <stdin>:1:
/build/rleigh/glibc-2.3.6/debian/include/asm/elf.h:110:1: warning: this is the location of the previous definition
In file included from ../nptl/../nptl_db/thread_db.h:29,
                 from ../nptl/descr.h:37,
                 from ../nptl/sysdeps/powerpc/tls.h:61,
                 from ../include/tls.h:6,
                 from ../include/errno.h:22,
                 from ../sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:29,
                 from <stdin>:1:
../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:52: error: conflicting types for 'elf_vrreg_t'
/build/rleigh/glibc-2.3.6/debian/include/asm/elf.h:158: error: previous declaration of 'elf_vrreg_t' was here
../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:53: error: conflicting types for 'elf_vrregset_t'
/build/rleigh/glibc-2.3.6/debian/include/asm/elf.h:159: error: previous declaration of 'elf_vrregset_t' was here
make[3]: *** [/build/rleigh/glibc-2.3.6/build-tree/powerpc-ppc64/tcb-offsets.h] Error 1
make[3]: Leaving directory `/build/rleigh/glibc-2.3.6/build-tree/glibc-2.3.6/csu'
make[2]: *** [csu/subdir_lib] Error 2
make[2]: Leaving directory `/build/rleigh/glibc-2.3.6/build-tree/glibc-2.3.6'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/rleigh/glibc-2.3.6/build-tree/powerpc-ppc64'
make: *** [/build/rleigh/glibc-2.3.6/stamp-dir/build_ppc64] Error 2
******************************************************************************
Build finished at 20060711-2144
FAILED [dpkg-buildpackage died]


Regards,
Roger

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17
Locale: LANG=en_GB.UTF8, LC_CTYPE=en_GB.UTF8 (charmap=UTF-8)



Reply to: