From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Thomas Bonnefille <thomas.bonnefille@bootlin.com>
Cc: buildroot@buildroot.org, "Miquèl Raynal" <miquel.raynal@bootlin.com>
Subject: Re: [Buildroot] [PATCH v2] package/libsha1: Fix gcc14 compilation in libsha1
Date: Mon, 16 Dec 2024 21:36:05 +0100 [thread overview]
Message-ID: <20241216213605.17b86ffb@windsurf> (raw)
In-Reply-To: <20241216-fix_gcc14_libsha1-v2-1-ceb3588e6866@bootlin.com>
Hello Thomas,
On Mon, 16 Dec 2024 18:48:29 +0100
Thomas Bonnefille <thomas.bonnefille@bootlin.com> wrote:
> GCC14 removed the implicit int support.
> This commit adds a patch to libsha1 to fix an implicit int declaration
> as recommended.
>
> Link: https://gcc.gnu.org/gcc-14/porting_to.html
>
> Fixes:
> http://autobuild.buildroot.net/results/87dc9ba9690cbb6a82875734ce9cb8dbaf878e46/
>
> Signed-off-by: Thomas Bonnefille <thomas.bonnefille@bootlin.com>
Thanks for the new iteration! It fixes the issues I pointed out, but I
have more questions/comments.
> +Fixes:
> +
> + test.c:14:8: error: type defaults to ‘int’ in declaration of ‘num_test’ [-Wimplicit-int]
> + 14 | static num_test;
> + | ^~~~~~~~
> +
> +Upstream: https://github.com/pseiderer/libsha1/commit/d449f26f782be91b3847f88ed2bd937582a575b6
This should ideally...
> +
> +Signed-off-by: Peter Seiderer <ps.report@gmx.net>
... go here, i.e right after Peter's SoB, but before yours, as it's an
information added by you.
But more importantly: https://github.com/pseiderer/libsha1/ isn't
"upstream". Upstream for this package is
https://github.com/dottedmag/libsha1. So we're interested in seeing
the change having been submitted or accepted by the real upstream, not
just a commit in some "random" Github repository (even though Peter
Seiderer is a well known Buildroot contributor!)
Thanks!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2024-12-16 20:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-16 17:48 [Buildroot] [PATCH v2] package/libsha1: Fix gcc14 compilation in libsha1 Thomas Bonnefille
2024-12-16 20:36 ` Thomas Petazzoni via buildroot [this message]
2024-12-16 20:56 ` Thomas Bonnefille via buildroot
2024-12-16 22:10 ` Thomas Petazzoni
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=20241216213605.17b86ffb@windsurf \
--to=buildroot@buildroot.org \
--cc=miquel.raynal@bootlin.com \
--cc=thomas.bonnefille@bootlin.com \
--cc=thomas.petazzoni@bootlin.com \
/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