Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix shared object ABI exports (protocolbuffers#5144) (protocolbuffers…
…#11032) On some linkers, the ABI definitions in src/libprotoc.map and friends do not match all symbols that need to be exported. This causes a linker error when trying to use the resulting shared object library: `undefined reference to 'scc_info_FileDescriptorProto_google_2fprotobuf_2fdescriptor_2eproto'` Quite a few people seem to be affected by this, see protocolbuffers#5144 for discussion. It seems that yocto now applies this patch itself, but that doesn't help people building in other places (I encountered this on some HPC machines), so it would probably be good to apply it upstream as well. Closes protocolbuffers#11032 COPYBARA_INTEGRATE_REVIEW=protocolbuffers#11032 from LourensVeen:issue-5144-linker-maps 3039f93 PiperOrigin-RevId: 512810858
- Loading branch information