-
Notifications
You must be signed in to change notification settings - Fork 15.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined reference to `google::protobuf::internal::Release_CompareAndSwap #3937
Comments
Nayana-ibm
changed the title
undefined reference to `google::protobuf::internal::Release_CompareAndSwap(long volatile*, long, long)'
undefined reference to `google::protobuf::internal::Release_CompareAndSwap
Nov 22, 2017
Thanks for the report. Feel free to send us a pull request if you know of a working fix. |
Requires below patch in file protobuf/src/google/protobuf/stubs/atomicops_internals_generic_gcc.h
|
buildroot-auto-update
pushed a commit
to buildroot/buildroot
that referenced
this issue
Jun 22, 2018
(also bumps protobuf-python) Fixes the following issue and brauto builds protocolbuffers/protobuf#3937 http://autobuild.buildroot.net/results/982f727495c1d3524685015c34b1cbb1e0bbb4b0 http://autobuild.buildroot.net/results/adbd3088e24d7e681c995f8c3d1db0e14ac500ba Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While compiling protobuf v3.5.0 on big endian, facing an issue
undefined reference to
google::protobuf::internal::Release_CompareAndSwap(long volatile*, long, long)'`Need to add 64-bit version to
protobuf/src/google/protobuf/stubs/atomicops_internals_generic_gcc.h
Similar issue was raised to add 64-bit versions: #1044
The text was updated successfully, but these errors were encountered: