On Monday 27 April 2009 23:21:47 Seiichi Ikarashi wrote: > Mike Frysinger wrote: > > On Monday 27 April 2009 22:21:59 Seiichi Ikarashi wrote: > >> I report a build failure and a patch for it. > >> > >> If your kernel is version 2.6.16 or prior, > >> build fails because of missing splice() syscall. > > > > no, the kernel doesnt matter. if your glibc version is old and doesnt > > support the splice() function, the build will fail. > > I see. > > >> This patch adds a workaround from splice01.c to splice02.c. > > > > your change doesnt cover all cases. like when the kernel headers dont > > define __NR_splice. better to add an autoconf function test. > > -mike > > The testcases/kernel/include/linux_syscall_numbers.h covers such a case, > doen't it?
yes, that is one possibility, but we should probably phase that out in favor of autoconf tests -mike
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
