Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/strace: xtensa needs headers >= 5.0
Date: Sat, 29 May 2021 22:05:49 +0200	[thread overview]
Message-ID: <20210529200549.GC3858765@scaer> (raw)
In-Reply-To: <20210529174846.2844268-1-fontaine.fabrice@gmail.com>

Fabrice, All,

On 2021-05-29 19:48 +0200, Fabrice Fontaine spake thusly:
> xtensa support needs user_pt_regs since version 5.6 and
> https://github.com/strace/strace/commit/2429c69961e2598902bded9c02dd601b362b66b4
> 
> However user_pt_regs is only available since kernel 5.0 and
> https://github.com/torvalds/linux/commit/06fbac8e8971f2fa526e189304dd95ee62f39dbe
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/c6c4fb3b9098c5fc5dbe4415e2a9757fc775b746
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/strace/Config.in | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/package/strace/Config.in b/package/strace/Config.in
> index 5b33dad392..c394d4c398 100644
> --- a/package/strace/Config.in
> +++ b/package/strace/Config.in
> @@ -2,6 +2,8 @@ config BR2_PACKAGE_STRACE
>  	bool "strace"
>  	# needs at least kernel headers 4.0 on nios2
>  	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0 || !BR2_nios2
> +	# needs at least kernel headers 5.0 on xtensa
> +	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 || !BR2_xtensa
>  	depends on !BR2_nds32 && !BR2_RISCV_32
>  	help
>  	  A useful diagnostic, instructional, and debugging tool.
> @@ -16,3 +18,7 @@ config BR2_PACKAGE_STRACE
>  comment "strace needs a toolchain w/ headers >= 4.0 on nios2"
>  	depends on BR2_nios2
>  	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
> +
> +comment "strace needs a toolchain w/ headers >= 5.0 on xtensa"
> +	depends on BR2_xtensa
> +	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
> -- 
> 2.30.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

      reply	other threads:[~2021-05-29 20:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-29 17:48 [Buildroot] [PATCH 1/1] package/strace: xtensa needs headers >= 5.0 Fabrice Fontaine
2021-05-29 20:05 ` Yann E. MORIN [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=20210529200549.GC3858765@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /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