[Clfs-commits] [CLFS Trac] #133: glibc-2.7-branch_update-1.patch breaks build on powerpc.
CLFS Trac
trac at cross-lfs.org
Mon Dec 24 14:32:23 PST 2007
#133: glibc-2.7-branch_update-1.patch breaks build on powerpc.
--------------------+-------------------------------------------------------
Reporter: ken | Owner: clfs-commits at lists.cross-lfs.org.
Type: task | Status: new
Priority: major | Milestone: CLFS Standard 1.1.0
Component: BOOK | Version:
Resolution: | Keywords:
--------------------+-------------------------------------------------------
Comment (by ken):
And lo, /me didst get around to trying to build for ppc! and guess what ?
{{{
/csu/abi-tag.h.new /mnt/lfs/building/glibc-build/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 \
| powerpc-unknown-linux-gnu-gcc -S -o /mnt/lfs/building/glibc-
build/tcb-offsets.hT3 -std=gnu99 -fgnu89-inline -O2 -Wall -Winline
-Wwrite-strings -fmerge-all-constants -g -mnew-mnemonics -Wstrict-
prototypes -mlong-double-128 -I../include -I/mnt/lfs/building/glibc-
build/csu -I/mnt/lfs/building/glibc-build
-I../sysdeps/powerpc/powerpc32/elf -I../sysdeps/powerpc/elf
-I../sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu
-I../sysdeps/powerpc/powerpc32/fpu
-I../nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32
-I../sysdeps/unix/sysv/linux/powerpc/powerpc32
-I../nptl/sysdeps/unix/sysv/linux/powerpc
-I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/ieee754/ldbl-128ibm
-I../sysdeps/ieee754/ldbl-opt -I../nptl/sysdeps/unix/sysv/linux
-I../nptl/sysdeps/pthread -I../sysdeps/pthread
-I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common
-I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv
-I../sysdeps/unix/sysv -I../sysdeps/unix/powerpc -I../nptl/sysdeps/unix
-I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/powerpc/powerpc32
-I../sysdeps/wordsize-32 -I../sysdeps/powerpc/fpu
-I../nptl/sysdeps/powerpc -I../sysdeps/powerpc -I../sysdeps/ieee754/dbl-64
-I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf
-I../sysdeps/generic -I../nptl -I.. -I../libio -I. -nostdinc -isystem
/mnt/lfs/cross-tools/bin/../lib/gcc/powerpc-unknown-linux-
gnu/4.2.2/include -isystem /tools/include -D_LIBC_REENTRANT -include
../include/libc-symbols.h -DHAVE_INITFINI -x c - \
-MD -MP -MF /mnt/lfs/building/glibc-build/tcb-offsets.h.dT
-MT '/mnt/lfs/building/glibc-build/tcb-offsets.h.d /mnt/lfs/building
/glibc-build/tcb-offsets.h'
<stdin>: In function 'dummy':
<stdin>:14: error: 'tcbhead_t' has no member named 'private_futex'
make[2]: *** [/mnt/lfs/building/glibc-build/tcb-offsets.h] Error 1
make[2]: Leaving directory `/mnt/lfs/building/glibc-2.7/csu'
}}}
Yes, everybody can laugh (if they wish) at my conservatism in still
building under /mnt/lfs, but the fact is this piece of code (the last part
of the patch, for nptl/sysdeps/powerpc/tcb-offsets.sym) doesn't build on
either ppc or ppc64. Earlier today, I had a look at the 20071217
glibc-2.7 snapshot: it doesn't have this code.
--
Ticket URL: <http://trac.cross-lfs.org/ticket/133#comment:3>
CLFS Trac <http://trac.cross-lfs.org>
The Cross Linux From Scratch Project.
More information about the Clfs-commits
mailing list