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

Symbol(s) not found for architecture arm64 #1970

Open
montanalow opened this issue Jan 29, 2025 · 1 comment
Open

Symbol(s) not found for architecture arm64 #1970

montanalow opened this issue Jan 29, 2025 · 1 comment

Comments

@montanalow
Copy link
Contributor

PostgresML pgrx extension linking fails on MacOS 15 (but succeeds on Ubuntu) with Rust 1.84.0 and the following output. Are there any known issues with this config?

error: linking with `cc` failed: exit status: 1
... [snip] ...
          Undefined symbols for architecture arm64:
            "_AggCheckCallContext", referenced from:
                pgrx_pg_sys::include::pg17::AggCheckCallContext::_$u7b$$u7b$closure$u7d$$u7d$::h726bb24bcdd2c71a in pgml.5pljhekewib8f7lplv4s51icc.rcgu.o
            "_AllocSetContextCreateInternal", referenced from:
                pgrx_pg_sys::include::pg17::AllocSetContextCreateInternal::_$u7b$$u7b$closure$u7d$$u7d$::h3b2cd6308fcf9bf6 in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_BlessTupleDesc", referenced from:
                pgrx_pg_sys::include::pg17::BlessTupleDesc::_$u7b$$u7b$closure$u7d$$u7d$::h8fc6f81fe7d90069 in pgml.5pljhekewib8f7lplv4s51icc.rcgu.o
            "_CacheMemoryContext", referenced from:
                pgrx::memcxt::PgMemoryContexts::value::h9c75fd1b47b1d8d5 in libpgrx-a2fab33e95961ebe.rlib[13](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.10.rcgu.o)
            "_CopyErrorData", referenced from:
                pgrx_pg_sys::include::pg17::CopyErrorData::_$u7b$$u7b$closure$u7d$$u7d$::hf2b1698c5c1c701f in libpgrx_pg_sys-00a9a9e0083e07c4.rlib[3](pgrx_pg_sys-00a9a9e0083e07c4.pgrx_pg_sys.3e3efd0aa47453b1-cgu.0.rcgu.o)
            "_CurTransactionContext", referenced from:
                pgrx::memcxt::PgMemoryContexts::value::h9c75fd1b47b1d8d5 in libpgrx-a2fab33e95961ebe.rlib[13](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.10.rcgu.o)
            "_CurrentMemoryContext", referenced from:
                _$LT$T$u20$as$u20$pgrx..callconv..RetAbi$GT$::check_fcinfo_and_prepare::hacc0ee2b9d0af03d in pgml.2ml75gbn1e573xgpbjlz7rlsz.rcgu.o
                _$LT$T$u20$as$u20$pgrx..callconv..RetAbi$GT$::check_fcinfo_and_prepare::hcc8dbe6af119787a in pgml.2ml75gbn1e573xgpbjlz7rlsz.rcgu.o
                pgrx::memcxt::PgMemoryContexts::exec_in_context::h00f7c51663f80cad in pgml.5nbg28beckx4lxuz6od2oh9jc.rcgu.o
                pgrx::memcxt::PgMemoryContexts::exec_in_context::h00f7c51663f80cad in pgml.5nbg28beckx4lxuz6od2oh9jc.rcgu.o
                pgrx::memcxt::PgMemoryContexts::exec_in_context::h027e0460d9138e6a in pgml.5nbg28beckx4lxuz6od2oh9jc.rcgu.o
                pgrx::memcxt::PgMemoryContexts::exec_in_context::h027e0460d9138e6a in pgml.5nbg28beckx4lxuz6od2oh9jc.rcgu.o
                pgrx::memcxt::PgMemoryContexts::exec_in_context::h0318cc4a06e68ab2 in pgml.5nbg28beckx4lxuz6od2oh9jc.rcgu.o
                pgrx::memcxt::PgMemoryContexts::exec_in_context::h0318cc4a06e68ab2 in pgml.5nbg28beckx4lxuz6od2oh9jc.rcgu.o
                ...
            "_DecrTupleDescRefCount", referenced from:
                pgrx_pg_sys::include::pg17::DecrTupleDescRefCount::_$u7b$$u7b$closure$u7d$$u7d$::h1226a81ff58f549a in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_DefineCustomBoolVariable", referenced from:
                pgrx_pg_sys::include::pg17::DefineCustomBoolVariable::_$u7b$$u7b$closure$u7d$$u7d$::hf26946a87e6000df in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_DefineCustomIntVariable", referenced from:
                pgrx_pg_sys::include::pg17::DefineCustomIntVariable::_$u7b$$u7b$closure$u7d$$u7d$::h04bdec0581354cf4 in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_DefineCustomStringVariable", referenced from:
                pgrx_pg_sys::include::pg17::DefineCustomStringVariable::_$u7b$$u7b$closure$u7d$$u7d$::h2478a02a025045f9 in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_ErrorContext", referenced from:
                pgrx_pg_sys::submodules::panic::pgrx_extern_c_guard::h01f8e80468d56a8e in pgml.f3gx7jw5qupcpyp1yy2feqwpf.rcgu.o
                pgrx_pg_sys::submodules::panic::pgrx_extern_c_guard::h026b1cf0830a7ea3 in pgml.f3gx7jw5qupcpyp1yy2feqwpf.rcgu.o
                pgrx_pg_sys::submodules::panic::pgrx_extern_c_guard::h073b9dea97b1fa44 in pgml.f3gx7jw5qupcpyp1yy2feqwpf.rcgu.o
                pgrx_pg_sys::submodules::panic::pgrx_extern_c_guard::h099d70b7284e3f68 in pgml.f3gx7jw5qupcpyp1yy2feqwpf.rcgu.o
                pgrx_pg_sys::submodules::panic::pgrx_extern_c_guard::h0a6fa08bb72ce6d2 in pgml.f3gx7jw5qupcpyp1yy2feqwpf.rcgu.o
                pgrx_pg_sys::submodules::panic::pgrx_extern_c_guard::h0c5363f69869fe1e in pgml.f3gx7jw5qupcpyp1yy2feqwpf.rcgu.o
                pgrx_pg_sys::submodules::panic::pgrx_extern_c_guard::h0cd7bee405001198 in pgml.f3gx7jw5qupcpyp1yy2feqwpf.rcgu.o
                ...
            "_FlushErrorState", referenced from:
                pgrx_pg_sys::include::pg17::FlushErrorState::_$u7b$$u7b$closure$u7d$$u7d$::h5537d0da641aea46 in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_FreeErrorData", referenced from:
                pgrx_pg_sys::include::pg17::FreeErrorData::_$u7b$$u7b$closure$u7d$$u7d$::h5656bbd7a803ca8d in libpgrx_pg_sys-00a9a9e0083e07c4.rlib[3](pgrx_pg_sys-00a9a9e0083e07c4.pgrx_pg_sys.3e3efd0aa47453b1-cgu.0.rcgu.o)
            "_GetCurrentTransactionId", referenced from:
                pgrx_pg_sys::include::pg17::GetCurrentTransactionId::_$u7b$$u7b$closure$u7d$$u7d$::ha2ffa84e57e31548 in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_GetCurrentTransactionIdIfAny", referenced from:
                pgrx_pg_sys::include::pg17::GetCurrentTransactionIdIfAny::_$u7b$$u7b$closure$u7d$$u7d$::h56583fcca7ddb9f6 in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_GetDatabaseEncoding", referenced from:
                pgrx_pg_sys::include::pg17::GetDatabaseEncoding::_$u7b$$u7b$closure$u7d$$u7d$::h972db6737b45fb85 in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_GetNamedLWLockTranche", referenced from:
                pgrx_pg_sys::include::pg17::GetNamedLWLockTranche::_$u7b$$u7b$closure$u7d$$u7d$::h5e43d1c01c4a1b2a in pgml.5pljhekewib8f7lplv4s51icc.rcgu.o
            "_HeapTupleHeaderGetDatum", referenced from:
                pgrx_pg_sys::include::pg17::HeapTupleHeaderGetDatum::_$u7b$$u7b$closure$u7d$$u7d$::h52b8ad942c9cbd01 in pgml.5pljhekewib8f7lplv4s51icc.rcgu.o
            "_InterruptHoldoffCount", referenced from:
                pgrx::lwlock::release_unless_elog_unwinding::h7dcfa49b68777760 in libpgrx-a2fab33e95961ebe.rlib[10](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.07.rcgu.o)
            "_InterruptPending", referenced from:
                pgml::orm::model::Model::fit::_$u7b$$u7b$closure$u7d$$u7d$::hf45f269878a2eb66 in pgml.3x4685h34rrthe8uuktuhpaow.rcgu.o
            "_IsBinaryCoercible", referenced from:
                pgrx_pg_sys::include::pg17::IsBinaryCoercible::_$u7b$$u7b$closure$u7d$$u7d$::hc63634817a36d354 in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_LWLockAcquire", referenced from:
                pgrx_pg_sys::include::pg17::LWLockAcquire::_$u7b$$u7b$closure$u7d$$u7d$::ha848ed06bdccdfa6 in pgml.5pljhekewib8f7lplv4s51icc.rcgu.o
            "_LWLockRelease", referenced from:
                pgrx_pg_sys::include::pg17::LWLockRelease::_$u7b$$u7b$closure$u7d$$u7d$::h0db6a1a4ae592aaa in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_MainLWLockArray", referenced from:
                pgrx::shmem::PgSharedMem::shmem_init_locked::h59058543893e46ef in pgml.at4jq4yipbqw13c86gr3ptrbo.rcgu.o
            "_MemoryContextAlloc", referenced from:
                pgrx_pg_sys::include::pg17::MemoryContextAlloc::_$u7b$$u7b$closure$u7d$$u7d$::hf033924244e446fe in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_MemoryContextDelete", referenced from:
                pgrx_pg_sys::include::pg17::MemoryContextDelete::_$u7b$$u7b$closure$u7d$$u7d$::hb846dcfa37ca0871 in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_MemoryContextGetParent", referenced from:
                pgrx_pg_sys::include::pg17::MemoryContextGetParent::_$u7b$$u7b$closure$u7d$$u7d$::hf60269a62c0c64c2 in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_MemoryContextRegisterResetCallback", referenced from:
                pgrx_pg_sys::include::pg17::MemoryContextRegisterResetCallback::_$u7b$$u7b$closure$u7d$$u7d$::h7e30ceede35eb020 in pgml.5pljhekewib8f7lplv4s51icc.rcgu.o
            "_MemoryContextStrdup", referenced from:
                pgrx_pg_sys::include::pg17::MemoryContextStrdup::_$u7b$$u7b$closure$u7d$$u7d$::h0f74bea2a4327149 in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_MessageContext", referenced from:
                pgrx::memcxt::PgMemoryContexts::value::h9c75fd1b47b1d8d5 in libpgrx-a2fab33e95961ebe.rlib[13](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.10.rcgu.o)
            "_PG_exception_stack", referenced from:
                pgrx_pg_sys::submodules::ffi::pg_guard_ffi_boundary_impl::_$u7b$$u7b$closure$u7d$$u7d$::h1a73bb94159b65f9 in pgml.1yn8nnmpa9ns1piowm97koky8.rcgu.o
                pgrx_pg_sys::submodules::ffi::pg_guard_ffi_boundary_impl::_$u7b$$u7b$closure$u7d$$u7d$::h200aed99703a76e6 in pgml.1yn8nnmpa9ns1piowm97koky8.rcgu.o
                pgrx_pg_sys::submodules::ffi::pg_guard_ffi_boundary_impl::_$u7b$$u7b$closure$u7d$$u7d$::h33a7770e0e9b072d in pgml.1yn8nnmpa9ns1piowm97koky8.rcgu.o
                pgrx_pg_sys::submodules::ffi::pg_guard_ffi_boundary_impl::_$u7b$$u7b$closure$u7d$$u7d$::h429b1d405e2d97b7 in pgml.1yn8nnmpa9ns1piowm97koky8.rcgu.o
                pgrx_pg_sys::submodules::ffi::pg_guard_ffi_boundary_impl::_$u7b$$u7b$closure$u7d$$u7d$::h4562ae377ca5816e in pgml.1yn8nnmpa9ns1piowm97koky8.rcgu.o
                pgrx_pg_sys::submodules::ffi::pg_guard_ffi_boundary_impl::_$u7b$$u7b$closure$u7d$$u7d$::h5c242307ffb5a5fd in pgml.1yn8nnmpa9ns1piowm97koky8.rcgu.o
                pgrx_pg_sys::submodules::ffi::pg_guard_ffi_boundary_impl::_$u7b$$u7b$closure$u7d$$u7d$::h61bc9fa1af730720 in pgml.1yn8nnmpa9ns1piowm97koky8.rcgu.o
                ...
            "_PortalContext", referenced from:
                pgrx::memcxt::PgMemoryContexts::value::h9c75fd1b47b1d8d5 in libpgrx-a2fab33e95961ebe.rlib[13](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.10.rcgu.o)
            "_PostmasterContext", referenced from:
                pgrx::memcxt::PgMemoryContexts::value::h9c75fd1b47b1d8d5 in libpgrx-a2fab33e95961ebe.rlib[13](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.10.rcgu.o)
            "_ProcessInterrupts", referenced from:
                pgrx_pg_sys::include::pg17::ProcessInterrupts::_$u7b$$u7b$closure$u7d$$u7d$::h76ea66b1de737359 in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_ReleaseSysCache", referenced from:
                pgrx_pg_sys::include::pg17::ReleaseSysCache::_$u7b$$u7b$closure$u7d$$u7d$::h335f0d19faa4d95a in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_RequestAddinShmemSpace", referenced from:
                pgrx_pg_sys::include::pg17::RequestAddinShmemSpace::_$u7b$$u7b$closure$u7d$$u7d$::hb655f15019f65aca in pgml.5pljhekewib8f7lplv4s51icc.rcgu.o
            "_RequestNamedLWLockTranche", referenced from:
                pgrx_pg_sys::include::pg17::RequestNamedLWLockTranche::_$u7b$$u7b$closure$u7d$$u7d$::h6aadafe6adb6c37e in pgml.5pljhekewib8f7lplv4s51icc.rcgu.o
            "_SPI_connect", referenced from:
                pgrx_pg_sys::include::pg17::SPI_connect::_$u7b$$u7b$closure$u7d$$u7d$::h7823268c26dad143 in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_SPI_execute", referenced from:
                pgrx_pg_sys::include::pg17::SPI_execute::_$u7b$$u7b$closure$u7d$$u7d$::h3fc37b0bce00672d in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_SPI_execute_with_args", referenced from:
                pgrx_pg_sys::include::pg17::SPI_execute_with_args::_$u7b$$u7b$closure$u7d$$u7d$::h2c2ab886814a6385 in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_SPI_finish", referenced from:
                pgrx_pg_sys::include::pg17::SPI_finish::_$u7b$$u7b$closure$u7d$$u7d$::hcda06d7897d97633 in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_SPI_getbinval", referenced from:
                pgrx_pg_sys::include::pg17::SPI_getbinval::_$u7b$$u7b$closure$u7d$$u7d$::hb7d31ac94348f95c in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_SPI_gettypeid", referenced from:
                pgrx_pg_sys::include::pg17::SPI_gettypeid::_$u7b$$u7b$closure$u7d$$u7d$::hbec5dab143abfd6e in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_SPI_processed", referenced from:
                pgrx::spi::client::SpiClient::prepare_tuple_table::h2c370dde8046ad63 in libpgrx-a2fab33e95961ebe.rlib[12](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.09.rcgu.o)
            "_SPI_tuptable", referenced from:
                pgrx::spi::client::SpiClient::prepare_tuple_table::h2c370dde8046ad63 in libpgrx-a2fab33e95961ebe.rlib[12](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.09.rcgu.o)
                pgrx::spi::client::SpiClient::prepare_tuple_table::h2c370dde8046ad63 in libpgrx-a2fab33e95961ebe.rlib[12](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.09.rcgu.o)
                pgrx::spi::query::execute::h0366a576283f5a79 in libpgrx-a2fab33e95961ebe.rlib[13](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.10.rcgu.o)
            "_SearchSysCache", referenced from:
                pgrx_pg_sys::include::pg17::SearchSysCache::_$u7b$$u7b$closure$u7d$$u7d$::h094d46261a8a75a5 in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_ShmemInitStruct", referenced from:
                pgrx_pg_sys::include::pg17::ShmemInitStruct::_$u7b$$u7b$closure$u7d$$u7d$::h1f1b8423ae873455 in pgml.5pljhekewib8f7lplv4s51icc.rcgu.o
            "_TopMemoryContext", referenced from:
                pgrx::memcxt::PgMemoryContexts::value::h9c75fd1b47b1d8d5 in libpgrx-a2fab33e95961ebe.rlib[13](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.10.rcgu.o)
            "_TopTransactionContext", referenced from:
                pgrx::memcxt::PgMemoryContexts::value::h9c75fd1b47b1d8d5 in libpgrx-a2fab33e95961ebe.rlib[13](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.10.rcgu.o)
            "_accumArrayResult", referenced from:
                pgrx_pg_sys::include::pg17::accumArrayResult::_$u7b$$u7b$closure$u7d$$u7d$::h4b0f0a0f0804c87d in pgml.5pljhekewib8f7lplv4s51icc.rcgu.o
            "_end_MultiFuncCall", referenced from:
                pgrx_pg_sys::include::pg17::end_MultiFuncCall::_$u7b$$u7b$closure$u7d$$u7d$::he6c89316aa562086 in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_errcode", referenced from:
                pgrx_pg_sys::submodules::panic::do_ereport::h9acc2c576daa4eee in libpgrx_pg_sys-00a9a9e0083e07c4.rlib[6](pgrx_pg_sys-00a9a9e0083e07c4.pgrx_pg_sys.3e3efd0aa47453b1-cgu.3.rcgu.o)
            "_errcontext_msg", referenced from:
                pgrx_pg_sys::submodules::panic::do_ereport::h9acc2c576daa4eee in libpgrx_pg_sys-00a9a9e0083e07c4.rlib[6](pgrx_pg_sys-00a9a9e0083e07c4.pgrx_pg_sys.3e3efd0aa47453b1-cgu.3.rcgu.o)
            "_errdetail", referenced from:
                pgrx_pg_sys::submodules::panic::do_ereport::h9acc2c576daa4eee in libpgrx_pg_sys-00a9a9e0083e07c4.rlib[6](pgrx_pg_sys-00a9a9e0083e07c4.pgrx_pg_sys.3e3efd0aa47453b1-cgu.3.rcgu.o)
            "_errfinish", referenced from:
                pgrx_pg_sys::submodules::panic::do_ereport::h9acc2c576daa4eee in libpgrx_pg_sys-00a9a9e0083e07c4.rlib[6](pgrx_pg_sys-00a9a9e0083e07c4.pgrx_pg_sys.3e3efd0aa47453b1-cgu.3.rcgu.o)
            "_errhint", referenced from:
                pgrx_pg_sys::submodules::panic::do_ereport::h9acc2c576daa4eee in libpgrx_pg_sys-00a9a9e0083e07c4.rlib[6](pgrx_pg_sys-00a9a9e0083e07c4.pgrx_pg_sys.3e3efd0aa47453b1-cgu.3.rcgu.o)
            "_errmsg", referenced from:
                pgrx_pg_sys::submodules::panic::do_ereport::h9acc2c576daa4eee in libpgrx_pg_sys-00a9a9e0083e07c4.rlib[6](pgrx_pg_sys-00a9a9e0083e07c4.pgrx_pg_sys.3e3efd0aa47453b1-cgu.3.rcgu.o)
            "_error_context_stack", referenced from:
                pgrx_pg_sys::include::pg17::numeric_in::h9a047ace8a7ea4ff in pgml.bw482u9wr0y6i4cyu2rt7qkix.rcgu.o
                pgrx_pg_sys::include::pg17::numeric_in::h9a047ace8a7ea4ff in pgml.bw482u9wr0y6i4cyu2rt7qkix.rcgu.o
                pgrx_pg_sys::include::pg17::numeric_in::h9a047ace8a7ea4ff in pgml.bw482u9wr0y6i4cyu2rt7qkix.rcgu.o
                pgrx_pg_sys::include::pg17::CopyErrorData::h3d9b434c8281a62f in pgml.bw482u9wr0y6i4cyu2rt7qkix.rcgu.o
                pgrx_pg_sys::include::pg17::CopyErrorData::h3d9b434c8281a62f in pgml.bw482u9wr0y6i4cyu2rt7qkix.rcgu.o
                pgrx_pg_sys::include::pg17::CopyErrorData::h3d9b434c8281a62f in pgml.bw482u9wr0y6i4cyu2rt7qkix.rcgu.o
                pgrx_pg_sys::include::pg17::FreeErrorData::ha2b4334fe0dd2a72 in pgml.bw482u9wr0y6i4cyu2rt7qkix.rcgu.o
                pgrx_pg_sys::include::pg17::FreeErrorData::ha2b4334fe0dd2a72 in pgml.bw482u9wr0y6i4cyu2rt7qkix.rcgu.o
                pgrx_pg_sys::include::pg17::FreeErrorData::ha2b4334fe0dd2a72 in pgml.bw482u9wr0y6i4cyu2rt7qkix.rcgu.o
                ...
            "_errstart", referenced from:
                pgrx_pg_sys::submodules::panic::do_ereport::h9acc2c576daa4eee in libpgrx_pg_sys-00a9a9e0083e07c4.rlib[6](pgrx_pg_sys-00a9a9e0083e07c4.pgrx_pg_sys.3e3efd0aa47453b1-cgu.3.rcgu.o)
            "_float4_numeric", referenced from:
                pgrx_pg_sys::include::pg17::float4_numeric::_$u7b$$u7b$closure$u7d$$u7d$::hc49da01f2a39e8ba in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_float8_numeric", referenced from:
                pgrx_pg_sys::include::pg17::float8_numeric::_$u7b$$u7b$closure$u7d$$u7d$::h7cc492279e4d1f99 in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_format_type_extended", referenced from:
                pgrx_pg_sys::include::pg17::format_type_extended::_$u7b$$u7b$closure$u7d$$u7d$::h697998da48a9cf01 in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_get_array_type", referenced from:
                pgrx_pg_sys::include::pg17::get_array_type::_$u7b$$u7b$closure$u7d$$u7d$::hf2f4301a456b110c in pgml.5pljhekewib8f7lplv4s51icc.rcgu.o
            "_get_call_result_type", referenced from:
                pgrx_pg_sys::include::pg17::get_call_result_type::_$u7b$$u7b$closure$u7d$$u7d$::h0a5e2e51be822466 in pgml.5pljhekewib8f7lplv4s51icc.rcgu.o
            "_get_fn_expr_argtype", referenced from:
                pgrx_pg_sys::include::pg17::get_fn_expr_argtype::_$u7b$$u7b$closure$u7d$$u7d$::hf88b5a204356ae31 in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_get_typlenbyvalalign", referenced from:
                pgrx_pg_sys::include::pg17::get_typlenbyvalalign::_$u7b$$u7b$closure$u7d$$u7d$::hd218972a2a836fdb in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_getmissingattr", referenced from:
                pgrx_pg_sys::include::pg17::getmissingattr::_$u7b$$u7b$closure$u7d$$u7d$::hb4f0d5fd3e952943 in pgml.5pljhekewib8f7lplv4s51icc.rcgu.o
            "_heap_form_tuple", referenced from:
                pgrx_pg_sys::include::pg17::heap_form_tuple::_$u7b$$u7b$closure$u7d$$u7d$::h3d0b39a65dabd548 in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_heap_getsysattr", referenced from:
                pgrx_pg_sys::include::pg17::heap_getsysattr::_$u7b$$u7b$closure$u7d$$u7d$::h4fc728f10e6537df in pgml.5pljhekewib8f7lplv4s51icc.rcgu.o
            "_initArrayResult", referenced from:
                pgrx_pg_sys::include::pg17::initArrayResult::_$u7b$$u7b$closure$u7d$$u7d$::hdd76a69726a03b92 in pgml.5pljhekewib8f7lplv4s51icc.rcgu.o
            "_init_MultiFuncCall", referenced from:
                pgrx_pg_sys::include::pg17::init_MultiFuncCall::_$u7b$$u7b$closure$u7d$$u7d$::h77d147637f7528d1 in pgml.5pljhekewib8f7lplv4s51icc.rcgu.o
            "_int2_numeric", referenced from:
                pgrx_pg_sys::include::pg17::int2_numeric::_$u7b$$u7b$closure$u7d$$u7d$::h17e86206d58f6ae5 in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_int4_numeric", referenced from:
                pgrx_pg_sys::include::pg17::int4_numeric::_$u7b$$u7b$closure$u7d$$u7d$::hdc8293f9defc987d in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_int8_numeric", referenced from:
                pgrx_pg_sys::include::pg17::int8_numeric::_$u7b$$u7b$closure$u7d$$u7d$::hcdd66d063a8fd8df in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_jsonb_in", referenced from:
                pgrx_pg_sys::include::pg17::jsonb_in::_$u7b$$u7b$closure$u7d$$u7d$::h3d7a9a8e928ac46f in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_jsonb_out", referenced from:
                pgrx_pg_sys::include::pg17::jsonb_out::_$u7b$$u7b$closure$u7d$$u7d$::h43f3d43079e1633d in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_lookup_rowtype_tupdesc", referenced from:
                pgrx_pg_sys::include::pg17::lookup_rowtype_tupdesc::_$u7b$$u7b$closure$u7d$$u7d$::hf27869c7f86e82af in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_makeArrayResult", referenced from:
                pgrx_pg_sys::include::pg17::makeArrayResult::_$u7b$$u7b$closure$u7d$$u7d$::h55bce437eff90eaa in pgml.5pljhekewib8f7lplv4s51icc.rcgu.o
            "_nocachegetattr", referenced from:
                pgrx_pg_sys::include::pg17::nocachegetattr::_$u7b$$u7b$closure$u7d$$u7d$::ha1e44a29bc9c58a1 in pgml.5pljhekewib8f7lplv4s51icc.rcgu.o
            "_numeric", referenced from:
                pgrx_pg_sys::include::pg17::numeric::_$u7b$$u7b$closure$u7d$$u7d$::h9d12c3af38e661ae in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_numeric_float4", referenced from:
                pgrx_pg_sys::include::pg17::numeric_float4::_$u7b$$u7b$closure$u7d$$u7d$::h799084d34c6fb394 in pgml.5pljhekewib8f7lplv4s51icc.rcgu.o
            "_numeric_in", referenced from:
                pgrx_pg_sys::include::pg17::numeric_in::_$u7b$$u7b$closure$u7d$$u7d$::hc63a67fc95a53dc3 in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_numeric_out", referenced from:
                pgrx_pg_sys::include::pg17::numeric_out::_$u7b$$u7b$closure$u7d$$u7d$::hea4492b066269427 in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_palloc", referenced from:
                pgrx_pg_sys::include::pg17::palloc::_$u7b$$u7b$closure$u7d$$u7d$::hac0807c70773c8c5 in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_palloc0", referenced from:
                pgrx_pg_sys::include::pg17::palloc0::_$u7b$$u7b$closure$u7d$$u7d$::h6fa9c72ae16e44d0 in libpgrx_pg_sys-00a9a9e0083e07c4.rlib[3](pgrx_pg_sys-00a9a9e0083e07c4.pgrx_pg_sys.3e3efd0aa47453b1-cgu.0.rcgu.o)
            "_pfree", referenced from:
                pgrx_pg_sys::include::pg17::pfree::_$u7b$$u7b$closure$u7d$$u7d$::hcac52f7748053a6c in libpgrx_pg_sys-00a9a9e0083e07c4.rlib[3](pgrx_pg_sys-00a9a9e0083e07c4.pgrx_pg_sys.3e3efd0aa47453b1-cgu.0.rcgu.o)
            "_pg_detoast_datum", referenced from:
                pgrx_pg_sys::include::pg17::pg_detoast_datum::_$u7b$$u7b$closure$u7d$$u7d$::h309cc137e4f668d1 in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_pg_detoast_datum_copy", referenced from:
                pgrx_pg_sys::include::pg17::pg_detoast_datum_copy::_$u7b$$u7b$closure$u7d$$u7d$::hcc9710234e838b06 in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_pg_detoast_datum_packed", referenced from:
                pgrx_pg_sys::include::pg17::pg_detoast_datum_packed::_$u7b$$u7b$closure$u7d$$u7d$::h3dd907103a2eb729 in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_pg_re_throw", referenced from:
                pgrx_pg_sys::submodules::panic::pgrx_extern_c_guard::h01f8e80468d56a8e in pgml.f3gx7jw5qupcpyp1yy2feqwpf.rcgu.o
                pgrx_pg_sys::submodules::panic::pgrx_extern_c_guard::h026b1cf0830a7ea3 in pgml.f3gx7jw5qupcpyp1yy2feqwpf.rcgu.o
                pgrx_pg_sys::submodules::panic::pgrx_extern_c_guard::h073b9dea97b1fa44 in pgml.f3gx7jw5qupcpyp1yy2feqwpf.rcgu.o
                pgrx_pg_sys::submodules::panic::pgrx_extern_c_guard::h099d70b7284e3f68 in pgml.f3gx7jw5qupcpyp1yy2feqwpf.rcgu.o
                pgrx_pg_sys::submodules::panic::pgrx_extern_c_guard::h0a6fa08bb72ce6d2 in pgml.f3gx7jw5qupcpyp1yy2feqwpf.rcgu.o
                pgrx_pg_sys::submodules::panic::pgrx_extern_c_guard::h0c5363f69869fe1e in pgml.f3gx7jw5qupcpyp1yy2feqwpf.rcgu.o
                pgrx_pg_sys::submodules::panic::pgrx_extern_c_guard::h0cd7bee405001198 in pgml.f3gx7jw5qupcpyp1yy2feqwpf.rcgu.o
                ...
            "_regtypein", referenced from:
                pgrx_pg_sys::include::pg17::regtypein::_$u7b$$u7b$closure$u7d$$u7d$::h9f074dd68d2bfba9 in libpgrx-a2fab33e95961ebe.rlib[4](pgrx-a2fab33e95961ebe.pgrx.ce853ad6bc5652f3-cgu.01.rcgu.o)
            "_shmem_request_hook", referenced from:
                pgml::orm::project::init::h7d2587992b456d9e in pgml.6r9y49d3qznc25ws7ofvdujvv.rcgu.o
            "_shmem_startup_hook", referenced from:
                pgml::orm::project::init::h7d2587992b456d9e in pgml.6r9y49d3qznc25ws7ofvdujvv.rcgu.o
          ld: symbol(s) not found for architecture arm64
          clang: error: linker command failed with exit code 1 (use -v to see invocation)
@montanalow montanalow changed the title Linker error on OS X 15 Symbol(s) not found for architecture arm64 Jan 29, 2025
@ccleve
Copy link
Contributor

ccleve commented Jan 31, 2025

I'm successfully using pgrx on an M1 Mac. You might try to see if any extension compiles on your system. If it does, maybe post in the PostgresML project.

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