Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Cc: Stephan Hoffmann <sho@relinux.de>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/cache-calibrator: fix build failure for implicit declaration
Date: Tue, 3 Sep 2024 22:51:53 +0200	[thread overview]
Message-ID: <Ztd26aIl5GWiW1Vo@landeda> (raw)
In-Reply-To: <20240903155622.922284-1-dario.binacchi@amarulasolutions.com>

Dario, All,

On 2024-09-03 17:56 +0200, Dario Binacchi spake thusly:
> Fixes:
>  - http://autobuild.buildroot.org/results/db996c894c810ff5c7f4263975d1def0edef6d55
> 
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  ...e-due-to-getpagesize-implicit-declar.patch | 33 +++++++++++++++++++
>  1 file changed, 33 insertions(+)
>  create mode 100644 package/cache-calibrator/0002-Fix-build-failure-due-to-getpagesize-implicit-declar.patch
> 
> diff --git a/package/cache-calibrator/0002-Fix-build-failure-due-to-getpagesize-implicit-declar.patch b/package/cache-calibrator/0002-Fix-build-failure-due-to-getpagesize-implicit-declar.patch
> new file mode 100644
> index 000000000000..fcad6694816e
> --- /dev/null
> +++ b/package/cache-calibrator/0002-Fix-build-failure-due-to-getpagesize-implicit-declar.patch
> @@ -0,0 +1,33 @@
> +From 29c4e0038b212e953cc59ac8b31d4541db758a3d Mon Sep 17 00:00:00 2001
> +From: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> +Date: Tue, 3 Sep 2024 17:43:44 +0200
> +Subject: [PATCH] Fix build failure due to getpagesize implicit declaration
> +
> +The patch fixes the following build error:
> +
> +calibrator.c: In function 'runCache':
> +calibrator.c:267:24: error: implicit declaration of function 'getpagesize' [-Wimplicit-function-declaration]
> +
> +Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> +Upstream: sent to Stefan Manegold Stefan.Manegold@cwi.nl
> +---
> + calibrator.c | 2 --
> + 1 file changed, 2 deletions(-)
> +
> +diff --git a/calibrator.c b/calibrator.c
> +index e045dfdcb96b..fd2fadb26020 100644
> +--- a/calibrator.c
> ++++ b/calibrator.c
> +@@ -37,9 +37,7 @@
> +  * THE POSSIBILITY OF SUCH DAMAGE.
> +  */
> + 
> +-/*
> + #include        <unistd.h>
> +-*/
> + #include        <stdlib.h>
> + #include	<stdio.h>
> + #include	<math.h>
> +-- 
> +2.43.0
> +
> -- 
> 2.43.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/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.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2024-09-03 20:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-03 15:56 [Buildroot] [PATCH 1/1] package/cache-calibrator: fix build failure for implicit declaration Dario Binacchi
2024-09-03 20:51 ` Yann E. MORIN [this message]
2024-09-03 21:10 ` Thomas Petazzoni via buildroot
2024-09-18 20:30 ` Peter Korsgaard

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=Ztd26aIl5GWiW1Vo@landeda \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@buildroot.org \
    --cc=dario.binacchi@amarulasolutions.com \
    --cc=sho@relinux.de \
    /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