Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Petr Vorel <petr.vorel@gmail.com>
To: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v2 1/1] package/ltp-testsuite: bump version to 20220121
Date: Wed, 2 Feb 2022 19:25:13 +0100	[thread overview]
Message-ID: <YfrMibbfBeN85noC@pevik> (raw)
In-Reply-To: <20220126235652.25712-1-petr.vorel@gmail.com>

Hi,

gentle ping for a review.

Kind regards,
Petr

> LTP now builds metadata directory as host target.
> It's mandatory, therefore adding HOST_CFLAGS and HOST_LDFLAGS to make
> (adding to configure does not work) to avoid adding -mlongcalls
> -mauto-litpools for some targets (e.g. bootlin-xtensa-uclibc).

> Drop patches from this release.

> Refresh 0001-lapi-Add-sysinfo.h-to-fix-build-with-MUSL-libc.patch
> (still safe to carry it).

> Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
> ---
> Changes v1->v2:
> * Add missin g HOST_LDFLAGS to fix br-arm-full-static (cannot find -lc
> when compiling host target)

> Kind regards,
> Petr

>  ...ysinfo.h-to-fix-build-with-MUSL-libc.patch | 45 ++++++--------
>  .../0002-lib-fix-MemAvailable-parsing.patch   | 36 -----------
>  ...-lapi-rtnetlink.h-Fix-include-guards.patch | 37 ------------
>  ...f_addr.h-and-reuse-it-in-rtnetlink.h.patch | 58 ------------------
>  ...0005-lapi-if_addr.h-Define-IFA_FLAGS.patch | 60 -------------------
>  package/ltp-testsuite/ltp-testsuite.hash      |  6 +-
>  package/ltp-testsuite/ltp-testsuite.mk        |  6 +-
>  7 files changed, 25 insertions(+), 223 deletions(-)
>  delete mode 100644 package/ltp-testsuite/0002-lib-fix-MemAvailable-parsing.patch
>  delete mode 100644 package/ltp-testsuite/0003-lapi-rtnetlink.h-Fix-include-guards.patch
>  delete mode 100644 package/ltp-testsuite/0004-lapi-Create-if_addr.h-and-reuse-it-in-rtnetlink.h.patch
>  delete mode 100644 package/ltp-testsuite/0005-lapi-if_addr.h-Define-IFA_FLAGS.patch

> diff --git a/package/ltp-testsuite/0001-lapi-Add-sysinfo.h-to-fix-build-with-MUSL-libc.patch b/package/ltp-testsuite/0001-lapi-Add-sysinfo.h-to-fix-build-with-MUSL-libc.patch
> index a167d938e1..2ceba64ed5 100644
> --- a/package/ltp-testsuite/0001-lapi-Add-sysinfo.h-to-fix-build-with-MUSL-libc.patch
> +++ b/package/ltp-testsuite/0001-lapi-Add-sysinfo.h-to-fix-build-with-MUSL-libc.patch
> @@ -1,4 +1,4 @@
> -From bee452dfa2a34ba7df7db677e5673cbdcd23f61e Mon Sep 17 00:00:00 2001
> +From f34c6ca3d543968e900d6327d8b5900db63f08ad Mon Sep 17 00:00:00 2001
>  From: Petr Vorel <petr.vorel@gmail.com>
>  Date: Thu, 1 Oct 2020 23:28:39 +0200
>  Subject: [PATCH] lapi: Add sysinfo.h to fix build with MUSL libc
> @@ -56,7 +56,7 @@ Signed-off-by: Petr Vorel <petr.vorel@gmail.com>

>  diff --git a/include/lapi/sysinfo.h b/include/lapi/sysinfo.h
>  new file mode 100644
> -index 000000000..d0e0e93d7
> +index 0000000000..d0e0e93d7f
>  --- /dev/null
>  +++ b/include/lapi/sysinfo.h
>  @@ -0,0 +1,22 @@
> @@ -83,7 +83,7 @@ index 000000000..d0e0e93d7
>  +
>  +#endif /* SYSINFO_H__ */
>  diff --git a/include/tst_safe_macros.h b/include/tst_safe_macros.h
> -index d99441c86..0d26e9d45 100644
> +index d99441c86f..0d26e9d455 100644
>  --- a/include/tst_safe_macros.h
>  +++ b/include/tst_safe_macros.h
>  @@ -12,7 +12,7 @@
> @@ -96,44 +96,33 @@ index d99441c86..0d26e9d45 100644
>   #include <libgen.h>
>   #include <signal.h>
>  diff --git a/lib/safe_macros.c b/lib/safe_macros.c
> -index a5b6bc504..20d01d304 100644
> +index a5b6bc5047..87d922a928 100644
>  --- a/lib/safe_macros.c
>  +++ b/lib/safe_macros.c
> -@@ -11,7 +11,6 @@
> +@@ -11,7 +11,7 @@
>   #include <sys/wait.h>
>   #include <sys/mount.h>
>   #include <sys/xattr.h>
>  -#include <sys/sysinfo.h>
> ++#include "lapi/sysinfo.h"
>   #include <errno.h>
>   #include <fcntl.h>
>   #include <libgen.h>
> -@@ -23,6 +22,7 @@
> - #include <malloc.h>
> - #include "test.h"
> - #include "safe_macros.h"
> -+#include "lapi/sysinfo.h"
> - 
> - char *safe_basename(const char *file, const int lineno,
> - 		    void (*cleanup_fn) (void), char *path)
>  diff --git a/lib/tst_memutils.c b/lib/tst_memutils.c
> -index 69077861f..ae1cad29b 100644
> +index 4a49747613..000688f5a3 100644
>  --- a/lib/tst_memutils.c
>  +++ b/lib/tst_memutils.c
> -@@ -5,11 +5,11 @@
> - 
> +@@ -6,7 +6,7 @@
> + #include <stdio.h>
>   #include <unistd.h>
>   #include <limits.h>
>  -#include <sys/sysinfo.h>
> ++#include "lapi/sysinfo.h"
>   #include <stdlib.h>

>   #define TST_NO_DEFAULT_MAIN
> - #include "tst_test.h"
> -+#include "lapi/sysinfo.h"
> - 
> - #define BLOCKSIZE (16 * 1024 * 1024)
> - 
>  diff --git a/testcases/kernel/mem/mtest01/mtest01.c b/testcases/kernel/mem/mtest01/mtest01.c
> -index 9676ea4b5..33b2ac822 100644
> +index 20cb95191d..3462dc3f82 100644
>  --- a/testcases/kernel/mem/mtest01/mtest01.c
>  +++ b/testcases/kernel/mem/mtest01/mtest01.c
>  @@ -20,7 +20,6 @@
> @@ -153,7 +142,7 @@ index 9676ea4b5..33b2ac822 100644

>   #define FIVE_HUNDRED_MB         (500ULL*1024*1024)
>  diff --git a/testcases/kernel/syscalls/madvise/madvise06.c b/testcases/kernel/syscalls/madvise/madvise06.c
> -index 263b8e78b..4fa52e6ea 100644
> +index 263b8e78bf..4fa52e6eae 100644
>  --- a/testcases/kernel/syscalls/madvise/madvise06.c
>  +++ b/testcases/kernel/syscalls/madvise/madvise06.c
>  @@ -46,7 +46,7 @@
> @@ -166,7 +155,7 @@ index 263b8e78b..4fa52e6ea 100644
>   #include "tst_cgroup.h"

>  diff --git a/testcases/kernel/syscalls/sysinfo/sysinfo01.c b/testcases/kernel/syscalls/sysinfo/sysinfo01.c
> -index 2ea44a2be..a237345ef 100644
> +index 2ea44a2beb..a237345ef7 100644
>  --- a/testcases/kernel/syscalls/sysinfo/sysinfo01.c
>  +++ b/testcases/kernel/syscalls/sysinfo/sysinfo01.c
>  @@ -69,7 +69,7 @@
> @@ -179,7 +168,7 @@ index 2ea44a2be..a237345ef 100644
>   #include "test.h"

>  diff --git a/testcases/kernel/syscalls/sysinfo/sysinfo02.c b/testcases/kernel/syscalls/sysinfo/sysinfo02.c
> -index 7ad0e8bdc..61fa1ab75 100644
> +index 7ad0e8bdcf..61fa1ab757 100644
>  --- a/testcases/kernel/syscalls/sysinfo/sysinfo02.c
>  +++ b/testcases/kernel/syscalls/sysinfo/sysinfo02.c
>  @@ -65,7 +65,7 @@
> @@ -192,7 +181,7 @@ index 7ad0e8bdc..61fa1ab75 100644

>   #include "test.h"
>  diff --git a/testcases/kernel/syscalls/sysinfo/sysinfo03.c b/testcases/kernel/syscalls/sysinfo/sysinfo03.c
> -index af7cb6421..dc5ae65e3 100644
> +index af7cb6421e..dc5ae65e35 100644
>  --- a/testcases/kernel/syscalls/sysinfo/sysinfo03.c
>  +++ b/testcases/kernel/syscalls/sysinfo/sysinfo03.c
>  @@ -13,7 +13,7 @@
> @@ -205,7 +194,7 @@ index af7cb6421..dc5ae65e3 100644
>   #include "lapi/posix_clocks.h"
>   #include "tst_test.h"
>  diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/1-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/1-2.c
> -index 22e7c3638..572701f9f 100644
> +index 22e7c36386..572701f9fd 100644
>  --- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/1-2.c
>  +++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/1-2.c
>  @@ -43,7 +43,7 @@
> @@ -218,5 +207,5 @@ index 22e7c3638..572701f9f 100644

>   #include "../testfrmw/testfrmw.h"
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  parent reply	other threads:[~2022-02-02 18:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-26 23:56 [Buildroot] [PATCH v2 1/1] package/ltp-testsuite: bump version to 20220121 Petr Vorel
2022-01-27  5:39 ` Baruch Siach via buildroot
2022-01-27 17:33   ` Petr Vorel
2022-01-28  1:46   ` Petr Vorel
2022-02-02 18:25 ` Petr Vorel [this message]
2022-02-05 22:58 ` Arnout Vandecappelle
2022-02-06 12:30   ` Petr Vorel

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=YfrMibbfBeN85noC@pevik \
    --to=petr.vorel@gmail.com \
    --cc=buildroot@buildroot.org \
    /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