commit | 3ea7b4e8022503eb603eaa58789b18d4a91300fb | [log] [tgz] |
---|---|---|
author | John Abd-El-Malek <jam@chromium.org> | Tue Dec 20 19:29:35 2016 |
committer | John Abd-El-Malek <jam@chromium.org> | Tue Dec 20 19:33:07 2016 |
tree | 0f0611940cd1b9af628d8673cf8d2d7c80588e5a | |
parent | 63c35064be7f33d1b2c40fdc07cad5c7dbefbe6b [diff] |
Revert "third_party/protobuf: Update to HEAD (83d681ee2c)" This reverts commit 4fa2d9262fd91a4e613269f230cca34b95ca4af7. Broken msan, see https://build.chromium.org/p/chromium.memory.full/builders/Chromium%20Linux%20MSan%20Builder/builds/3718 https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20Trusty%20MSAN/builds/228 Lots of WARNING: MemorySanitizer: use-of-uninitialized-value errors, i.e. FAILED: gen/chrome/browser/profile_resetter/profile_reset_report.pb.h gen/chrome/browser/profile_resetter/profile_reset_report.pb.cc pyproto/chrome/browser/profile_resetter/profile_reset_report_pb2.py python ../../tools/protoc_wrapper/protoc_wrapper.py profile_reset_report.proto --protoc ./protoc --proto-in-dir ../../chrome/browser/profile_resetter --cc-out-dir gen/chrome/browser/profile_resetter --py-out-dir pyproto/chrome/browser/profile_resetter ==13798==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x8b50eb (/mnt/data/b/c/b/Chromium_Linux_MSan_Builder/src/out/Release/protoc+0x8b50eb) #1 0x728c3a (/mnt/data/b/c/b/Chromium_Linux_MSan_Builder/src/out/Release/protoc+0x728c3a) #2 0x6007b3 (/mnt/data/b/c/b/Chromium_Linux_MSan_Builder/src/out/Release/protoc+0x6007b3) #3 0x4d56dc (/mnt/data/b/c/b/Chromium_Linux_MSan_Builder/src/out/Release/protoc+0x4d56dc) #4 0x48e2a6 (/mnt/data/b/c/b/Chromium_Linux_MSan_Builder/src/out/Release/protoc+0x48e2a6) #5 0x4a8805 (/mnt/data/b/c/b/Chromium_Linux_MSan_Builder/src/out/Release/protoc+0x4a8805) #6 0x49d4c1 (/mnt/data/b/c/b/Chromium_Linux_MSan_Builder/src/out/Release/protoc+0x49d4c1) #7 0x48de96 (/mnt/data/b/c/b/Chromium_Linux_MSan_Builder/src/out/Release/protoc+0x48de96) #8 0x7f9f29a7576c (/lib/x86_64-linux-gnu/libc.so.6+0x2176c) #9 0x420a68 (/mnt/data/b/c/b/Chromium_Linux_MSan_Builder/src/out/Release/protoc+0x420a68) Uninitialized value was created by a heap allocation #0 0x48c8d2 (/mnt/data/b/c/b/Chromium_Linux_MSan_Builder/src/out/Release/protoc+0x48c8d2) #1 0x6129be (/mnt/data/b/c/b/Chromium_Linux_MSan_Builder/src/out/Release/protoc+0x6129be) #2 0x5f7d54 (/mnt/data/b/c/b/Chromium_Linux_MSan_Builder/src/out/Release/protoc+0x5f7d54) #3 0x4d4657 (/mnt/data/b/c/b/Chromium_Linux_MSan_Builder/src/out/Release/protoc+0x4d4657) #4 0x48e2a6 (/mnt/data/b/c/b/Chromium_Linux_MSan_Builder/src/out/Release/protoc+0x48e2a6) #5 0x4a8805 (/mnt/data/b/c/b/Chromium_Linux_MSan_Builder/src/out/Release/protoc+0x4a8805) #6 0x49d4c1 (/mnt/data/b/c/b/Chromium_Linux_MSan_Builder/src/out/Release/protoc+0x49d4c1) #7 0x48de96 (/mnt/data/b/c/b/Chromium_Linux_MSan_Builder/src/out/Release/protoc+0x48de96) #8 0x7f9f29a7576c (/lib/x86_64-linux-gnu/libc.so.6+0x2176c) SUMMARY: MemorySanitizer: use-of-uninitialized-value (/mnt/data/b/c/b/Chromium_Linux_MSan_Builder/src/out/Release/protoc+0x8b50eb) Exiting Protoc has returned non-zero status: 77 . R=pkasting@chromium.org BUG= Review-Url: https://codereview.chromium.org/2590803003 . Cr-Original-Commit-Position: refs/heads/master@{#439867} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 4ab2a2f93ec3869acd606c7d5e6d7b361d7de381
Copyright 2008 Google Inc.
https://developers.google.com/protocol-buffers/
Protocol Buffers (a.k.a., protobuf) are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data. You can find protobuf's documentation on the Google Developers site.
This README file contains protobuf installation instructions. To install protobuf, you need to install the protocol compiler (used to compile .proto files) and the protobuf runtime for your chosen programming language.
The protocol compiler is written in C++. If you are using C++, please follow the C++ Installation Instructions to install protoc along with the C++ runtime.
For non-C++ users, the simplest way to install the protocol compiler is to download a pre-built binary from our release page:
https://github.com/google/protobuf/releases
In the downloads section of each release, you can find pre-built binaries in zip packages: protoc-$VERSION-$PLATFORM.zip. It contains the protoc binary as well as a set of standard .proto files distributed along with protobuf.
If you are looking for an old version that is not available in the release page, check out the maven repo here:
http://repo1.maven.org/maven2/com/google/protobuf/protoc/
These pre-built binaries are only provided for released versions. If you want to use the github master version at HEAD, or you need to modify protobuf code, or you are using C++, it's recommended to build your own protoc binary from source.
If you would like to build protoc binary from source, see the C++ Installation Instructions.
Protobuf supports several different programming languages. For each programming language, you can find instructions in the corresponding source directory about how to install protobuf runtime for that specific language:
Language | Source |
---|---|
C++ (include C++ runtime and protoc) | src |
Java | java |
Python | python |
Objective-C | objectivec |
C# | csharp |
JavaNano | javanano |
JavaScript | js |
Ruby | ruby |
Go | golang/protobuf |
PHP | TBD |
The complete documentation for Protocol Buffers is available via the web at:
https://developers.google.com/protocol-buffers/