Opened 4 years ago

Last modified 3 years ago

#60379 closed defect

mysql8 fails to build on 10.5.8 PPC — at Version 3

Reported by: bryancn Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: leopard powerpc Cc:
Port: mysql8

Description (last modified by kencu (Ken))

---> Building mysql8

Error: Failed to build mysql8: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mysql8/mysql8/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port mysql8 failed
3955	:info:build Undefined symbols for architecture ppc:
3956	:info:build   "___atomic_fetch_add_8", referenced from:
3957	:info:build       google::protobuf::internal::ArenaImpl::Init()  in arena.cc.o
3958	:info:build ld: symbol(s) not found for architecture ppc

Change History (4)

Changed 4 years ago by bryancn

Attachment: main.log added

Log

comment:1 Changed 4 years ago by kencu (Ken)

would appear you will need manually link against libatomic

$ nm /opt/local/lib/gcc6/libatomic.1.dylib | grep fetch_add_8
0000368c T ___atomic_fetch_add_8

something like

configure.ldflags-append -latomic

might be sufficient, if you're lucky.

And then who knows where the next error might come up, but ...

comment:2 Changed 4 years ago by kencu (Ken)

Keywords: leopard powerpc added; ppc 10.5.8 mysql mysql8 removed

comment:3 Changed 4 years ago by kencu (Ken)

Description: modified (diff)
Note: See TracTickets for help on using tickets.