[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patches] eglibc builds and tests on mpc8540
- To: Clemens Koller <clemens.koller@xxxxxxxxxxx>
- Subject: Re: [patches] eglibc builds and tests on mpc8540
- From: Clemens Koller <clemens.koller@xxxxxxxxxxx>
- Date: Fri, 01 Jun 2007 02:01:45 +0200
Okay,
there is some progress:
I got a gcc-4.2.0 with long-double-128 support and --with-float=soft which is
hopefully what I need to compile eglibc. :-)
$ gcc -v
Using built-in specs.
Target: powerpc-unknown-linux-gnu
Configured with: ../gcc-4.2.0/configure --prefix=/usr --libexecdir=/usr/lib --enable-languages=c,c++ --enable-threads=posix
--enable-__cxa_atexit --enable-clocale=gnu --enable-shared --disable-nls --with-x=no --with-cpu=8540 --with-tune=8540
--with-float=soft --with-long-double-128
Thread model: posix
gcc version 4.2.0 (ckcore)
Now, when I move over to eglibc it chokes somewhere in the NPTL:
ln -f /usr/ports/ckcore/eglibc-svn/work/src/build/nptl/crtn.o /usr/ports/ckcore/eglibc-svn/work/src/build/nptl/nof/crtn.o
gcc init.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -pipe -msoft-float -mnew -mnemonics -Wstrict-prototypes -mlong-double-128 -fexceptions -fasynchronous-unwind-tables -I../include -I/usr/ports/c kcore/eglibc-svn/work/src/build/nptl -I/usr/ports/ckcore/eglibc-svn/work/src/build -I../sysdeps/powerpc/powerpc32/elf -I. ./sysdeps/powerpc/elf -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../sysd eps/ieee754/ldbl-opt -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/s ysv/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../sy sdeps/powerpc/powerpc32 -I../sysdeps/wordsize-32 -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../li bio -I. -nostdinc -isystem /usr/lib/gcc/powerpc-unknown-linux-gnu/4.2.0/include -isystem /usr/lib/gcc/powerpc-unknown-lin ux-gnu/4.2.0/include-fixed -isystem /usr/ports/ckcore/eglibc-svn/work/pkg/usr/include -D_LIBC_REENTRANT -include ../inclu de/libc-symbols.h -DNOT_IN_libc=1 -DIS_IN_libpthread=1 -o /usr/ports/ckcore/eglibc-svn/work/src/build/nptl/init.o -M D -MP -MF /usr/ports/ckcore/eglibc-svn/work/src/build/nptl/init.o.dt -MT /usr/ports/ckcore/eglibc-svn/work/src/build/nptl /init.o
init.c: In function '__pthread_initialize_minimal_internal':
init.c:284: error: 'res' undeclared (first use in this function)
init.c:284: error: (Each undeclared identifier is reported only once
init.c:284: error: for each function it appears in.)
init.c:284: error: 'FUTEX_PRIVATE_FLAG' undeclared (first use in this function)
init.c:286: warning: left-hand operand of comma expression has no effect
init.c:287: error: 'struct <anonymous>' has no member named 'private_futex'
make[2]: *** [/usr/ports/ckcore/eglibc-svn/work/src/build/nptl/init.o] Error 1
make[2]: Leaving directory `/usr/ports/ckcore/eglibc-svn/work/src/eglibc/nptl'
make[1]: *** [nptl/subdir_lib] Error 2
make[1]: Leaving directory `/usr/ports/ckcore/eglibc-svn/work/src/eglibc'
make: *** [all] Error 2
I guess that the problems are related to the latest changes you pulled
from glibc.
Well... Any ideas?
Best regards,
--
Clemens Koller
_______________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Str. 45/1
81379 Muenchen
Germany
http://www.anagramm-technology.com
Phone: +49-89-741518-50
Fax: +49-89-741518-19