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?

Regards,
Seiichi

------------------------------------------------------------------------------
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

Reply via email to