Re: [protobuf] Cross compiling to ARM on X64 fails, uses ARM js_embed

2017-01-03 Thread 'Feng Xiao' via Protocol Buffers
+acozzette The js_embed binary was added very recently. The cross-build support for that binary is missing at the moment. As a temporary solution, you can use this version of protobuf (which doesn't have the js_embed binary): https://github.com/google/protobuf/releases/tag/v3.1.0 On Wed, Dec 28,

Re: [protobuf] Cross compiling to ARM on X64 fails, uses ARM js_embed

2017-01-03 Thread 'Adam Cozzette' via Protocol Buffers
I updated the Autotools build so that it should now correctly build js_embed in a form that's executable on the build machine. It is not in master yet but it is on my cross-compilation branch here: https://github.com/acozzette/protobuf/tree/cross-compilation Maxx, when you have a chance you could

Re: [protobuf] Cross compiling to ARM on X64 fails, uses ARM js_embed

2017-01-03 Thread 'Adam Cozzette' via Protocol Buffers
I hadn't thought about the cross-compilation use case for this. It seems to me that there are a few different ways to solve this: 1. Just check well_known_types_embed.cc into Git and we can update it manually when necessary. This is probably the easiest solution but is a little bit messy since it