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

Undefined symbols for architecture arm64 #1655

Closed
swrobel opened this issue Sep 11, 2021 · 1 comment
Closed

Undefined symbols for architecture arm64 #1655

swrobel opened this issue Sep 11, 2021 · 1 comment

Comments

@swrobel
Copy link

swrobel commented Sep 11, 2021

This error occurs when building with newer folly on React Native for iOS. Here is the issue from the Flipper repo with more detail:

Undefined symbols for architecture arm64:
  "___cxa_increment_exception_refcount", referenced from:
      folly::exception_ptr_get_type(std::exception_ptr const&) in libRCT-Folly.a(Exception.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

It seems to be tied to this line of code, which was changed in recent versions of folly.

@yfeldblum
Copy link
Contributor

I commented on facebook/flipper#2600. Presumably, flipper needs to update its build to account for the new direct dependency, on apple platforms, of folly on c++abi. Hopefully that should help.

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