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 fails on armv7 on FreeBSD: undefined symbol: _Unwind_SjLj_Register #13268

Open
yurivict opened this issue Jan 5, 2025 · 0 comments
Open

Comments

@yurivict
Copy link

yurivict commented Jan 5, 2025

Build fails on armv7 on FreeBSD:

= note: ld: error: undefined symbol: _Unwind_SjLj_Register
          >>> referenced by blob_contents.cc
          >>>               blob_contents.o:(rocksdb::BlobContents::GetCacheItemHelper()) in archive /wrkdirs/usr/ports/finance/electrs/work/rustcjPjR5M/libelectrs_librocksdb_sys-327b4b91bc3e735a.rlib
          >>> referenced by blob_contents.cc
          >>>               blob_contents.o:(void (*rocksdb::GetCacheEntryDeleterForRole<rocksdb::BlobContents, (rocksdb::CacheEntryRole)11>())(rocksdb::Slice const&, void*)) in archive /wrkdirs/usr/ports/finance/electrs/work/rustcjPjR5M/libelectrs_librocksdb_sys-327b4b91bc3e735a.rlib
          >>> referenced by blob_contents.cc
          >>>               blob_contents.o:(rocksdb::BlobContents::CreateCallback(std::__1::unique_ptr<char [], rocksdb::CustomDeleter>&&, void const*, unsigned int, void**, unsigned int*)) in archive /wrkdirs/usr/ports/finance/electrs/work/rustcjPjR5M/libelectrs_librocksdb_sys-327b4b91bc3e735a.rlib

log

FreeBSD does not use SjLj based exception handling by default on arm platforms.

See the further details in this downstream bug report: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283841

@yurivict yurivict changed the title Build fails on armv7: undefined symbol: _Unwind_SjLj_Register Build fails on armv7 on FreeBSD: undefined symbol: _Unwind_SjLj_Register Jan 5, 2025
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

1 participant