Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
pythonPackages.grpcio-tools: fix undefined symbol error on armv6l #67808
Motivation for this change
On armv6l, grpc needs to link to libatomic to provide C++ atomic operations. Without this PR, importing this Python module results in the following error:
One might expect that the
vanschelven left a comment
Looks good to me.
(Unchecked stuff ahead): looking at that stacktrace it almost looks like a bundled version of some protobuf implementation is what's doing the tripping-up here... which makes me wonder: how is the general state of affairs for the various protobuf-related libraries on armv6l ?
If the answer turns out to be "they don't work either", fixing them might be a separate PR.
I fixed protobuf on armv6l upstream a while ago (protocolbuffers/protobuf#5227), and I have only seen this issue with