On Thursday 23 October 2008, Ramon de Carvalho Valle wrote: > If there are anything broken on the code, it was the futex.h header file > on Linux 2.6.18.2, not in the testcases. > > Take a look into the errors experienced by Sudhir that you will clearly > see that the problem is because the "__user" macro is not defined at > that point. That is because that version of futex.h includes sched.h, > which expects "__KERNEL__" to be defined to include compiler.h, which > defines the "__user" macro. > Later on Linux 2.6.25, futex.h was fixed to include compiler.h directly, > as types.h. > > If you follow the changes, you will see that the futex.h header have had > problems since robust futexes was introduced.
the sanitized kernel headers have never installed compiler.h nor included __user in the output. if some distro does, it's broken, and ltp shouldnt be dealing with it. > I agree with you on both points, but there are anything better that will > solve the problem not in a long term at this point that you would like > to suggest? fix your distro -mike
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
