[protobuf] Fast on windows, Slow on Ubuntu

2017-11-20 Thread Mohammad Roohitavaf
Hi, I have created a very simple .proto file: syntax = "proto2"; package Metadata; option java_package = "metadata"; option java_outer_classname = "Metadata"; option optimize_for=SPEED; message PutMessage { optional string key =1; optional int64 dt = 2; } I have a create a

Re: [protobuf] Error when cross compiling protobuf/protoc to RISCV.

2017-11-20 Thread Jerry Zhao
>From my understanding, the host and target flags together specify that we are cross compiling. From, https://gcc.gnu.org/onlinedocs/gccint/Configure-Terms.html, I found If build, host, and target are all the same, this is called a *native*. If build and host are the same but target is

Re: [protobuf] Error when cross compiling protobuf/protoc to RISCV.

2017-11-20 Thread 'Adam Cozzette' via Protocol Buffers
The --host riscv64-unknown-linux-gnu flag looks to me like it might be a problem--since you're cross-compiling your build machine must not be RISC-V, right? Does it work if you remove that one flag? On Sun, Nov 19, 2017 at 3:56 PM, Jerry Zhao wrote: > I need a RISCV

[protobuf] Making Java JsonFormat and TextFormat extensible

2017-11-20 Thread Paul Gross
I was wondering if there has been any talk or plan to make TextFormat and JsonFormat extensible. For example, we are writing code to log input and output protos for gRPC services. In our case, we need to filter certain sensitive fields (which we currently mark via custom options in the proto