在 Fri, 25 Dec 2009 12:46:52 +0800,Holger Hans Peter Freyther
<[email protected]> 写道:
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.
The include/sys/ptrace.h of glibc 2.6.1 lacks of the above macroes, this
is a bug of it, which was fixed by the later glibc There is a newer
version of glibc recipes, so I have no reason to not test with it.
Yes, I have not validated on some much architecture. It is only verified
on qemux86 and minimal.conf.
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
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
Guo Hongruan, Embedded Linux Consultant
Skype: camelguo
Twitter: camelguo
http://www.gulessoft.com
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel