Opened 5 months ago
Closed 3 months ago
#70323 closed defect (fixed)
mysql8 @8.4.1_1: Undefined symbols "std::exception_ptr::__from_native_exception_pointer(void*)", "___cxa_init_primary_exception"
Reported by: | wallygva (Wally Grotophorst) | Owned by: | herbygillot (Herby Gillot) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | arm64 ventura | Cc: | cooljeanius (Eric Gallager), jhoyt4 |
Port: | mysql8 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
:debug:main Starting logging for mysql8 @8.4.1_1 :debug:sysinfo macOS 13.6.7 (darwin/22.6.0) arch arm :debug:sysinfo MacPorts 2.9.3 :debug:sysinfo Xcode 14.3.1, CLT 14.3.1.0.1.1683849156 :debug:sysinfo SDK 13 :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 13.0
Attaching full error log. Here is the last bit (maybe this is enough to diagnose the issue?):
:info:build Undefined symbols for architecture arm64: :info:build "std::exception_ptr::__from_native_exception_pointer(void*)", referenced from: :info:build std::__1::promise<std::__1::unique_ptr<Gcs_xcom_input_queue_impl<Gcs_mpsc_queue<xcom_input_request, xcom_input_request_ptr_deleter>>::Reply, std::__1::default_delete<Gcs_xcom_input_queue_impl<Gcs_mpsc_queue<xcom_input_request, xcom_input_request_ptr_deleter>>::Reply>>>::~promise() in libmysqlgcs.a(gcs_xcom_proxy.cc.o) :info:build "___cxa_init_primary_exception", referenced from: :info:build std::__1::promise<std::__1::unique_ptr<Gcs_xcom_input_queue_impl<Gcs_mpsc_queue<xcom_input_request, xcom_input_request_ptr_deleter>>::Reply, std::__1::default_delete<Gcs_xcom_input_queue_impl<Gcs_mpsc_queue<xcom_input_request, xcom_input_request_ptr_deleter>>::Reply>>>::~promise() in libmysqlgcs.a(gcs_xcom_proxy.cc.o) :info:build ld: symbol(s) not found for architecture arm64 :info:build clang++: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make[2]: *** [plugin_output_directory/group_replication.so] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/work/build' :info:build make[1]: *** [plugin/group_replication/CMakeFiles/group_replication.dir/all] Error 2 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/work/build' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/work/build' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/work/build" && /usr/bin/make -j12 -w all VERBOSE=ON :info:build Exit code: 2 :error:build Failed to build mysql8: command execution failed
Attachments (1)
Change History (8)
Changed 5 months ago by wallygva (Wally Grotophorst)
Attachment: | my8.log.gz added |
---|
comment:1 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | arm64 ventura added |
Owner: | set to herbygillot |
Port: | mysql8 added; mysql 8.41_1 removed |
Status: | new → assigned |
Summary: | mysql 8.4 will not build on my ARM mac running Ventura → mysql8 @8.4.1_1: Undefined symbols "std::exception_ptr::__from_native_exception_pointer(void*)", "___cxa_init_primary_exception" |
Has duplicate #70322.
comment:2 Changed 4 months ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
comment:3 Changed 3 months ago by jhoyt4
Cc: | jhoyt4 added |
---|
comment:4 Changed 3 months ago by jhoyt4
Other projects are seeing a similar error:
https://reviews.llvm.org/D148266
Perhaps changing the compiler on Ventura would resolve this?
comment:5 Changed 3 months ago by jhoyt4
I've opened a PR to work this issue. I'm hoping clang 18 will work for macOS 13. As far as I can tell macOS 12 and 14 are not effected by the issue.
comment:6 Changed 3 months ago by jhoyt4
Everything compiled on macOS 13 with mp-clang-16. 14, 15, and 18 failed. Trying 17 now. Anyone have an opinion on clang 16 vs clang 17?
comment:7 Changed 3 months ago by jhoyt4
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
gzip'd copy of the build log file