From: Julien Olivain <ju.o@free.fr>
To: Florian Larysch <fl@n621.de>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/cpio: fix build with GCC 15
Date: Wed, 07 May 2025 19:38:37 +0200 [thread overview]
Message-ID: <086ee14ef3323844cfdc78cd5ef01b6c@free.fr> (raw)
In-Reply-To: <20250507170752.24643-1-fl@n621.de>
Hi Florian,
On 07/05/2025 19:07, Florian Larysch wrote:
> On systems running GCC 15, host-cpio will fail to build with errors
> like
>
> copyout.c:646:12: error: too many arguments to function 'xstat';
> expected 0, have 2
>
> and
>
> main.c:407:13: error: assignment to 'int (*)(void)' from incompatible
> pointer type 'int (*)(const char * restrict, struct stat * restrict)'
> [-Wincompatible-pointer-types]
>
> This was reported[1] and fixed upstream, but there is no new release
> yet. Import the upstream patch for now.
>
> [1] https://lists.gnu.org/archive/html/bug-cpio/2025-05/msg00000.html
>
> Signed-off-by: Florian Larysch <fl@n621.de>
I applied this patch to master, thanks.
I also made few minor changes. See:
https://gitlab.com/buildroot.org/buildroot/-/commit/e3cae9e1ca4765da825c9ee94760e12f5c6c142a
Best regards,
Julien.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2025-05-07 17:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-07 17:07 [Buildroot] [PATCH 1/1] package/cpio: fix build with GCC 15 Florian Larysch
2025-05-07 17:38 ` Julien Olivain [this message]
2025-05-16 11:05 ` Arnout Vandecappelle via buildroot
2025-05-16 11:05 ` Arnout Vandecappelle via buildroot
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=086ee14ef3323844cfdc78cd5ef01b6c@free.fr \
--to=ju.o@free.fr \
--cc=buildroot@buildroot.org \
--cc=fl@n621.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