From: chrubis@suse.cz
To: Marta Rybczynska <mrybczyn@kalray.eu>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] PATCHES: build for uCLinux
Date: Mon, 12 Aug 2013 12:14:56 +0200 [thread overview]
Message-ID: <20130812101456.GC24518@rei> (raw)
In-Reply-To: <155339095.46628.1375958549000.JavaMail.zimbra@kalray.eu>
Hi!
> testcases/kernel/syscalls/flock/flock03.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/testcases/kernel/syscalls/flock/flock03.c b/testcases/kernel/syscalls/flock/flock03.c
> index bacf4f6..d0bd214 100644
> --- a/testcases/kernel/syscalls/flock/flock03.c
> +++ b/testcases/kernel/syscalls/flock/flock03.c
> @@ -92,7 +92,7 @@ int main(int argc, char **argv)
> errno);
> if (pid == 0) {
> #ifdef UCLINUX
> - if (self_exec(argv[0], "ds", fd, FILENAME) < 0)
> + if (self_exec(argv[0], "ds", fd, FILE_NAME) < 0)
> tst_brkm(TFAIL, cleanup, "self_exec failed, "
> "errno &d", errno);
> #else
This was allready fixed in git see:
12a9e945976a6ebfa9673ad27a79be704d9414a7
> From 6bc02047452c800eee47c7f7afe34ff524199454 Mon Sep 17 00:00:00 2001
> From: Marta Rybczynska <marta.rybczynska@kalray.eu>
> Date: Tue, 6 Aug 2013 09:39:16 +0200
> Subject: [PATCH 1/2] ebizzy.h: mallopt does not exist on uClinux
>
> mallopt does not exist on uClibc, it requires MMU.
>
> Signed-off-by: Marta Rybczynska <marta.rybczynska@kalray.eu>
> ---
> utils/benchmark/ebizzy-0.3/ebizzy.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/utils/benchmark/ebizzy-0.3/ebizzy.h b/utils/benchmark/ebizzy-0.3/ebizzy.h
> index da1a78c..afc18b5 100644
> --- a/utils/benchmark/ebizzy-0.3/ebizzy.h
> +++ b/utils/benchmark/ebizzy-0.3/ebizzy.h
> @@ -18,7 +18,7 @@
> /*
> * FreeBSD compatibility stuff
> */
> -#ifdef _freebsd
> +#if defined(_freebsd) || defined(__UCLIBC__)
> #define mallopt(arg1, arg2) do { } while (0);
> #endif
This one was applied to git, thanks.
--
Cyril Hrubis
chrubis@suse.cz
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
prev parent reply other threads:[~2013-08-12 10:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <600498180.46596.1375958364140.JavaMail.zimbra@kalray.eu>
2013-08-08 10:42 ` [LTP] PATCHES: build for uCLinux Marta Rybczynska
2013-08-12 10:14 ` chrubis [this message]
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=20130812101456.GC24518@rei \
--to=chrubis@suse.cz \
--cc=ltp-list@lists.sourceforge.net \
--cc=mrybczyn@kalray.eu \
/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