From: Michael Nosthoff via buildroot <buildroot@buildroot.org>
To: "Thomas Petazzoni" <thomas.petazzoni@bootlin.com>
Cc: Marcus Folkesson <marcus.folkesson@gmail.com>,
Asaf Kahlon <asafka7@gmail.com>,
Michael Nosthoff via buildroot <buildroot@buildroot.org>
Subject: Re: [Buildroot] [PATCH] package/protobuf-c: bump to version 1.5.0
Date: Mon, 08 Jan 2024 15:27:55 +0100 [thread overview]
Message-ID: <49076-659c0680-3-4917d600@23968680> (raw)
In-Reply-To: <20240105092816.4ea102f3@windsurf>
Hi Thomas,
On Friday, January 05, 2024 09:28 CET, Thomas Petazzoni <thomas.petazzoni@bootlin.com> wrote:
> Hello Michael,
>
> Sorry for the delay in looking at your patch, and thanks for your
> patch. A few questions below.
>
> On Tue, 28 Nov 2023 12:36:34 +0100
> Michael Nosthoff via buildroot <buildroot@buildroot.org> wrote:
>
> > - drops support for proto2
> > - fixes compatibility with protobuf >= 22.0
>
> Is this fixing some build issues? We currently don't have protobuf >=
> 22.0 as far as I can see.
nope, we currently don't have build issues because we didn't bump protobuf for quite a while now.
Main reason is
- raised dependencies of all the google projects (see [0]).
- some API breakages, so projects have to catch up first
this can also be seen at vckpg [1] where they are also still at protobuf (v3.)21.12 (current is (3.)25.1)
so this bump is just one puzzle piece to be able to bump protobuf and grpc in the future.
(you might remember I tried to bump grpc early in 2023 and I stopped because it got complicated)
>
> > - to be compatible with new protobuf versions c++17 is now required
> > when building with protoc (which we do for host) [0]
> > - require host gcc >= 7 for c++17 support, propagate to depending packets
>
> Why does this requirement of gcc >= 7 only applies to the host variant
> of protobuf-c, not the target variant ?
i tried to express this in the line above. We only need c++17 when we build with the usage of protoc,
which is always a host tool and supplied by host-protobuf since we don't support compiling protobuf
files on the target.
nevertheless it's still a bit weird, that protobuf-c relies on c++17 while latest protobuf versions
only require c++14.
(this is where protobuf-c enforces c++17 support when protoc is enabled: [2])
>
> I was going to fix these myself, but then I wondered about the
> target/host question above, and I preferred to get back to you on this.
> Could you clarify this point, and submit a v2 that fixes the Config.in
> comments?
i would fix the Config.in remarks and respin. Should I add more clarification somewhere
in the Patch with the info supplied above?
>
> Thanks a lot!
>
> Thomas
> --
> Thomas Petazzoni, co-owner and CEO, Bootlin
> Embedded Linux and Kernel engineering and training
> https://bootlin.com
Regards,
Michael
[0] https://github.com/google/oss-policies-info/blob/main/foundational-cxx-support-matrix.md
[1] https://github.com/microsoft/vcpkg/issues/34995
[2] https://github.com/protobuf-c/protobuf-c/blob/master/build-cmake/CMakeLists.txt#L145
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2024-01-08 14:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-28 11:36 [Buildroot] [PATCH] package/protobuf-c: bump to version 1.5.0 Michael Nosthoff via buildroot
2024-01-05 8:28 ` Thomas Petazzoni via buildroot
2024-01-08 14:27 ` Michael Nosthoff via buildroot [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=49076-659c0680-3-4917d600@23968680 \
--to=buildroot@buildroot.org \
--cc=asafka7@gmail.com \
--cc=buildroot@heine.tech \
--cc=marcus.folkesson@gmail.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