Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917046 - dev-libs/protobuf-23.3: messages_lite.h has hidden extern template instances
Summary: dev-libs/protobuf-23.3: messages_lite.h has hidden extern template instances
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Arfrever Frehtes Taifersar Arahesis
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks: 912819
  Show dependency tree
 
Reported: 2023-11-08 20:38 UTC by Allen Webb
Modified: 2023-11-14 22:14 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Allen Webb 2023-11-08 20:38:50 UTC
We ran into this on ChromeOS:

```
missive-9999: ld.lld: error: undefined symbol: bool google::protobuf::internal::MergeFromImpl<true>(std::__1::basic_string_view<char, std::__1::char_traits<char>>, google::protobuf::MessageLite*, google::protobuf::MessageLite::ParseFlags)
missive-9999: >>> referenced by message_lite.h:583 (/build/brya/usr/include/google/protobuf/message_lite.h:583)
```

I landed an upstream fix here that you all might want to include as a patch in protobuf 23.3 and on until it is included by default:
https://github.com/protocolbuffers/protobuf/commit/e6f8b9d1026996f6463d4f014d7760256b757227

Reproducible: Always