Skip to content
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

Build failed on arm64 with clang-15 #223

Open
fish4terrisa-MSDSM opened this issue Aug 9, 2023 · 1 comment
Open

Build failed on arm64 with clang-15 #223

fish4terrisa-MSDSM opened this issue Aug 9, 2023 · 1 comment

Comments

@fish4terrisa-MSDSM
Copy link

fish4terrisa-MSDSM commented Aug 9, 2023

The output is :

ld.lld: error: undefined symbol: __emutls_v._ZN6google8protobuf8internal15ThreadSafeArena13thread_cache_E
>>> referenced by config.pb.cc
>>>               config.pb.o:(void google::protobuf::RepeatedField<int>::InternalDeallocate<false>())
>>> referenced by config.pb.cc
>>>               config.pb.o:(void google::protobuf::RepeatedField<int>::InternalDeallocate<false>())
>>> referenced by config.pb.cc
>>>               config.pb.o:(void google::protobuf::RepeatedField<int>::InternalDeallocate<false>())
>>> referenced 1 more times
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)

Humm....How to fix that?

@robertswiecki
Copy link
Collaborator

Hi.... I don't have any good ideas at hand. Looks like problem with your version of libprotobuf, maybe some inconsistency between headers and static/shared libs, but I cannot think of any usable debugging instructions I could give you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants