[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:       Ramon de Carvalho Valle <rcvalle () linux ! vnet ! ibm ! com>
Date:       2008-10-24 12:20:58
Message-ID: 1224850858.8628.17.camel () nebuchadnezzar
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Hi Mike,

I never experienced any problems building the original testcases on my
distros (RHEL and SLES). Maybe we should ask Sudhir what distro he was
using and try to help him.

Sudhir,

What distro you was using when experienced the problems building the
testcases?

Best regards,


On Fri, 2008-10-24 at 01:05 -0400, Mike Frysinger wrote:
> 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
-- 
Ramon de Carvalho Valle
Software Engineer
IBM Linux Technology Center
E-Mail: rcvalle@linux.vnet.ibm.com


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