public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: David Marlin <dmarlin@redhat.com>
To: Garrett Cooper <yanegomi@gmail.com>
Cc: LTP list <ltp-list@lists.sourceforge.net>
Subject: Re: [LTP] problems building lchown02.c for uClinux
Date: Tue, 17 Aug 2010 15:01:21 -0500	[thread overview]
Message-ID: <4C6AEA91.6080004@redhat.com> (raw)
In-Reply-To: <AANLkTimTbSmbAf+sVJz6KsMxcYsg0Em6+1jrgcNLuDcF@mail.gmail.com>


Garrett Cooper wrote:
> On Tue, Aug 17, 2010 at 11:34 AM, David Marlin <dmarlin@redhat.com> wrote:
>> 'lchown02.c' does not build properly due to calls to mmap and
>> get_high_address (which references sbrk) when UCLINUX=1 is defined.
>>
>> Attached is a patch to skip those sections of the test when building for
>> uClinux.
> 
>     I understand the mmap(2) part, but couldn't the get_high_address
> portion be done in the LTP headers and library files? 

Possibly.  I was just copying the way it was handled in some other LTP 
tests, i.e.,

   testcases/kernel/syscalls/link/link04.c
   testcases/kernel/syscalls/lstat/lstat02.c

but I'm open to suggestions.

> It would help if
> there was a breakdown of what functionality is and isn't available in
> uclinux that's gating builds / testing (I honestly don't know right
> offhand what those pieces are).

Me either.  I'm just using trial and error at the moment (see what 
works).  Many (most) syscalls tests have code to skip unsupported 
functions based on UCLINUX=1, but a few seem to be missing that test.

I'm working my way through the list, so suggestions are welcome.


Thank you,

d.marlin
==========

> Thanks!
> -Garrett

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

  reply	other threads:[~2010-08-17 20:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-17 18:34 [LTP] problems building lchown02.c for uClinux David Marlin
2010-08-17 19:50 ` Garrett Cooper
2010-08-17 20:01   ` David Marlin [this message]
2010-08-17 20:13     ` Mike Frysinger
2010-08-17 20:21   ` Mike Frysinger
2010-08-17 22:18     ` Mike Frysinger
2010-08-17 20:39 ` Mike Frysinger
2010-08-17 21:42   ` David Marlin
2010-08-17 22:26     ` Mike Frysinger
2010-08-18  0:13       ` David Marlin
2010-08-18  0:51         ` Garrett Cooper
2010-08-18  0:54         ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C6AEA91.6080004@redhat.com \
    --to=dmarlin@redhat.com \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=yanegomi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox