[oe] [PATCH] Upgrade glibc from 2.6.1 to 2.10.1, the 2.6.1 glibc cause ltrace compilation failed

Holger Hans Peter Freyther holger+oe at freyther.de
Fri Dec 25 04:46:52 UTC 2009


On Friday 25 December 2009 04:42:53 Guo Hongruan wrote:
> the include/sys/ptrace.h of glibc 2.6.1 does not include the PTRACE_EVENT*
>  macroes, which is needed by ltrace. the one of glibc 2.10.1 does include
>  them and on it the compilation of ltrace succeed ---

That is quite a bad reason to upgrade the default. The problem is you would 
have to convince us that glibc 2.10.1 is working just fine for arm, armeb, 
mips, mipsel, powerpc, avr, sparc, i486, i586... Or at least your commit 
message should include the information that you have tested builds with it.


Then again. It is pretty common that older versions of a library do not have 
newere definitions of syscalls and syscall parameters (e.g. most notable this 
happened with the addition of inotify and early adaption of it). The fix is the 
one you proposed. Check if the system has the definition, if not define it 
locally.


regards
	holger






More information about the Openembedded-devel mailing list