Yocto Project Discussions
 help / color / mirror / Atom feed
From: "Joshua Watt" <JPEWhacker@gmail.com>
To: Sinan Kaya <okaya@kernel.org>, yocto@lists.yoctoproject.org
Subject: Re: [meta-mingw] [PATCH v3 1/5] protobuf: static link tools when generating sdk
Date: Tue, 17 Aug 2021 11:01:02 -0500	[thread overview]
Message-ID: <7c2cf6b1-cbe1-35f6-2fae-39d5beed930c@gmail.com> (raw)
In-Reply-To: <20210817150957.18246-1-okaya@kernel.org>

I had to clean these up a little bit and pushed them to master-next. 
Please verify that they still work for you and if not used them as a 
starting point and send a V4 patchset.

On 8/17/21 10:09 AM, Sinan Kaya wrote:
> Dynamically linked protoc.exe is failing as follows:
>
> [libprotobuf ERROR google/protobuf/descriptor_database.cc:641]
> File already exists in database: google/protobuf/descriptor.proto
> [libprotobuf FATAL google/protobuf/descriptor.cc:1371] CHECK failed:
> GeneratedDatabase()->Add(encoded_file_descriptor, size):
>
> Switch to static linkage per upstream recommendation.
>
> Signed-off-by: Sinan Kaya <okaya@kernel.org>
> ---
>   recipes-devtools/protobuf/protobuf_%.bbappend | 1 +
>   1 file changed, 1 insertion(+)
>   create mode 100644 recipes-devtools/protobuf/protobuf_%.bbappend
>
> diff --git a/recipes-devtools/protobuf/protobuf_%.bbappend b/recipes-devtools/protobuf/protobuf_%.bbappend
> new file mode 100644
> index 0000000..b53b22d
> --- /dev/null
> +++ b/recipes-devtools/protobuf/protobuf_%.bbappend
> @@ -0,0 +1 @@
> +EXTRA_OECONF:append:sdkmingw32 = " --disable-shared"

  parent reply	other threads:[~2021-08-17 16:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-17 15:09 [meta-mingw] [PATCH v3 1/5] protobuf: static link tools when generating sdk Sinan Kaya
2021-08-17 15:09 ` [meta-mingw] [PATCH v3 2/5] protobuf-c: static link " Sinan Kaya
2021-08-17 15:09 ` [meta-mingw] [PATCH v3 3/5] grpc: static link tools when generating SDK Sinan Kaya
2021-08-17 15:09 ` [meta-mingw] [PATCH v3 4/5] abseil-cpp: disable shared build as it is broken Sinan Kaya
2021-08-17 15:09 ` [meta-mingw] [PATCH v3 5/5] conf/layer.conf: use BBFILES_DYNAMIC for dynamic layers Sinan Kaya
2021-08-17 16:01 ` Joshua Watt [this message]
2021-08-17 16:29   ` [meta-mingw] [PATCH v3 1/5] protobuf: static link tools when generating sdk Sinan Kaya
2021-08-17 18:10     ` Joshua Watt
2021-08-17 18:15       ` Sinan Kaya
2021-08-17 18:19         ` Joshua Watt
2021-08-17 18:38           ` Sinan Kaya

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=7c2cf6b1-cbe1-35f6-2fae-39d5beed930c@gmail.com \
    --to=jpewhacker@gmail.com \
    --cc=okaya@kernel.org \
    --cc=yocto@lists.yoctoproject.org \
    /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