problems compiling glibc with nptl 0.45
Mario Fetka <[email protected]>
| Newsgroups | gmane.comp.lib.phil |
|---|---|
| Message-ID | <[email protected]> |
at the moment i am compiling a compleat Linux from scratch (LFS)
but stuck at glibc (cvs 20030611) with nptl
but same glibc with linuxthreads compiles with no problems
buld env gcc 3.3.1 (cvs 20030602)
Error log
rpcgen: ../nptl/sysdeps/unix/sysv/linux/fork.c:132: __libc_fork: Assertion `({
__typeof (self->tid) __value; if (sizeof (__value) == 1) asm volatile ("movb
%%gs:%P2,%b0" : "=q" (__value) : "0" (0), "i" (((size_t) &((struct pthread
*)0)->tid))); else if (sizeof (__value) == 4) asm volatile ("movl
%%gs:%P1,%0" : "=r" (__value) : "i" (((size_t) &((struct pthread
*)0)->tid))); else { if (sizeof (__value) != 8) abort (); asm volatile ("movl
%%gs:%P1,%%eax\n\t" "movl %%gs:%P2,%%edx" : "=A" (__value) : "i" (((size_t)
&((struct pthread *)0)->tid)), "i" (((size_t) &((struct pthread *)0)->tid) +
4)); } __value; }) != ppid' failed.
/usr/src/lvr/build/glibc-build/sunrpc/rpcgen: C preprocessor failed with
signal 6
make[2]: *** [/usr/src/lvr/build/glibc-build/sunrpc/xbootparam_prot.stmp]
Error 1
make[2]: Leaving directory `/usr/src/lvr/build/glibc-2.3.3/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/usr/src/lvr/build/glibc-2.3.3'
make: *** [all] Error 2
root:/usr/src/lvr/build/glibc-build#
thx in av
Mario Fetka