Opened 19 months ago

Last modified 19 months ago

#67278 assigned defect

mariadb-10.11 uses static asserts incompatible with 32-bit

Reported by: barracuda156 Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: tiger, leopard, snowleopard Cc:
Port: mariadb-10.11

Description

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb-10.11/mariadb-10.11/work/server-mariadb-10.11.1/sql/sql_yacc.yy:336:31: error: static assertion failed: %union size check
  336 | static_assert(sizeof(YYSTYPE) == sizeof(void*)*2+8, "%union size check");
      |               ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb-10.11/mariadb-10.11/work/server-mariadb-10.11.1/sql/sql_yacc.yy:336:31: note: the comparison reduces to '(20 == 16)'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb-10.11/mariadb-10.11/work/server-mariadb-10.11.1/sql/sql_yacc.yy:336:31: error: static assertion failed: %union size check
  336 | static_assert(sizeof(YYSTYPE) == sizeof(void*)*2+8, "%union size check");
      |               ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mariadb-10.11/mariadb-10.11/work/server-mariadb-10.11.1/sql/sql_yacc.yy:336:31: note: the comparison reduces to '(20 == 16)'

Change History (1)

comment:1 Changed 19 months ago by barracuda156

And then, it needs libatomic:

:info:build Undefined symbols:
:info:build   "___atomic_store_8", referenced from:
:info:build       __ZN19query_response_time14time_collector5flushEv in query_response_time.cc.o
:info:build   "___atomic_fetch_add_8", referenced from:
:info:build       __Z27query_response_time_collecty in query_response_time.cc.o
:info:build   "___atomic_load_8", referenced from:
:info:build       __Z24query_response_time_fillP3THDP10TABLE_LISTP4Item in query_response_time.cc.o
:info:build ld: symbol(s) not found
Note: See TracTickets for help on using tickets.