[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ltp-list
Subject:    Re: [LTP] ltp-full-20080930 build error on s390
From:       Mike Frysinger <vapier () gentoo ! org>
Date:       2008-10-24 5:05:27
Message-ID: 200810240105.28953.vapier () gentoo ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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" (application/pgp-signature)]

-------------------------------------------------------------------------
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic