Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: Florian Fainelli <f.fainelli@gmail.com>, buildroot@buildroot.org
Cc: mmayer@broadcom.com, yann.morin.1998@free.fr,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: Re: [Buildroot] [PATCH] package/cpulimit: Disable build on OpenRISC with musl-libc
Date: Sat, 14 May 2022 11:46:07 +0200	[thread overview]
Message-ID: <f8e0cd1d-eb45-e749-9ea2-45f23322e75a@mind.be> (raw)
In-Reply-To: <20220511001947.2112747-1-f.fainelli@gmail.com>



On 11/05/2022 02:19, Florian Fainelli wrote:
> As reported in the following autobuild report:
> 
> http://autobuild.buildroot.net/results/2a9cf20949beac46d1c689df2c5b7ab0d59c08b5/
> 
> cpulimit does not build due to a lack of definition for elf_gregset_t
> which is not currently provided in the or1k musl-libc port. While this
> is being worked on, disable the build for or1k and musl-libc.
> 
> Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> Fixes: 9e8e80d1e335 ("package: Add cpulimit")
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   package/cpulimit/Config.in | 5 +++++
>   1 file changed, 5 insertions(+)
> 
> diff --git a/package/cpulimit/Config.in b/package/cpulimit/Config.in
> index 7cab152fc0ea..cca74afc9955 100644
> --- a/package/cpulimit/Config.in
> +++ b/package/cpulimit/Config.in
> @@ -1,7 +1,12 @@
> +comment "cpulimit needs a toolchain w/ threads, does not build open openrisc with musl"
> +	depends on BR2_USE_MMU
> +	depends on !BR2_TOOLCHAIN_HAS_THREADS || (BR2_or1k && BR2_TOOLCHAIN_USES_MUSL)
> +
>   config BR2_PACKAGE_CPULIMIT
>   	bool "cpulimit"
>   	depends on BR2_USE_MMU # fork()
>   	depends on BR2_TOOLCHAIN_HAS_THREADS
> +	depends on !(BR2_or1k && BR2_TOOLCHAIN_USES_MUSL)
>   	help
>   	  Cpulimit is a tool which limits the CPU usage of a process
>   	  (expressed in percentage, not in CPU time)
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2022-05-14  9:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-11  0:19 [Buildroot] [PATCH] package/cpulimit: Disable build on OpenRISC with musl-libc Florian Fainelli
2022-05-14  9:46 ` Arnout Vandecappelle [this message]
2022-05-15  2:09 ` Stafford Horne
2022-05-15  2:14   ` Florian Fainelli
2022-05-15  3:25     ` Stafford Horne
2022-05-15  3:42       ` Florian Fainelli

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=f8e0cd1d-eb45-e749-9ea2-45f23322e75a@mind.be \
    --to=arnout@mind.be \
    --cc=buildroot@buildroot.org \
    --cc=f.fainelli@gmail.com \
    --cc=mmayer@broadcom.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=yann.morin.1998@free.fr \
    /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