FYI:

It looks like ltp-full-20081130.tgz added some signalfd testcases which 
break compilation on RHEL5.3 for s390x arch.

make[4]: Entering directory 
`/root/ltp-full-20081130/testcases/kernel/syscalls/signalfd'
cc -Wall  -I../../include -g -Wall -I../../../../include -Wall 
signalfd01.c  -L../../../../lib -lltp -o signalfd01
signalfd01.c:58:26: error: sys/signalfd.h: No such file or directory
make[4]: *** [signalfd01] Error 1
make[4]: Leaving directory 
`/root/ltp-full-20081130/testcases/kernel/syscalls/signalfd'
make[3]: *** [all] Error 2
make[3]: Leaving directory 
`/root/ltp-full-20081130/testcases/kernel/syscalls'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/ltp-full-20081130/testcases/kernel'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/ltp-full-20081130/testcases'
make: *** [all] Error 2

As far as I can tell,  signalfd would require kernel 2.6.22 or higher and 
likely a glibc-devel package that provides the correct headers.

Also was wondering ... what is the general feeling on how these type of 
new testcases should be treated?

- Fix compilation to build target only on the supported platforms?
- Don't test on platforms were the feature is not supported (i.e. just 
revert back to older versions of LTP when testing distributions that don't 
use the latest and greatest)?
- Have users manually modify the LTP makefiles?
- Somehow rewrite the testcase so that it would at least compile no matter 
what the platform, but not neccessarily run or do anything?


Thanks,
- Mark Ver

office:  Building 710 / Room 2-RF-10
phone: (845) 435-7794  [tie 8 295-7794]
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to