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

Re: [patches] eglibc builds and tests on mpc8540



Hi There!

Let me just update this thread:

Clemens Koller schrieb:
Now, when I move over to eglibc it chokes somewhere in the NPTL:

gcc init.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline [...]
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.

The FUTEX_PRIVATE_FLAG (futex.h) is missing in the latest 2.6.21.3 kernel
headers as far as I understood the code.

Introduced by:
author	Eric Dumazet <dada1@xxxxxxxxxxxxx>
	Wed, 9 May 2007 09:35:04 +0000 (02:35 -0700)
committer	Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxxxxxxxx>
	Wed, 9 May 2007 19:30:55 +0000 (12:30 -0700)
commit	34f01cc1f512fa783302982776895c73714ebbc2
tree	776b50ee9592803853b3b4c1845f8ba527b868b9	tree | snapshot
parent	d0aa7a70bf03b9de9e995ab272293be1f7937822	commit | diff
FUTEX: new PRIVATE futexes

The latest git-kernel-headers should work. I'll give them a try.

BTW: what build environment / toolchain versions do you use to test
eglibc and friends?


Best regards,
--
Clemens Koller
__________________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Straße 45/1
Linhof Werksgelände
D-81379 München
Tel.089-741518-50
Fax 089-741518-19
http://www.anagramm-technology.com