Created attachment 524224 [details] build.log.xz #error atomic ops for this platform are not implemented
Same problem, but different error on mariadb-10.3.5_rc /var/tmp/portage/dev-db/mariadb-10.3.5_rc/work/mysql/unittest/mysys/my_atomic-t.c:29: undefined reference to `my_atomic_add32'
Do we need to do anything special to get HAVE_GCC_ATOMIC_BUILTINS defined on PPC? This is required.
The strange part is that this last changed in 2015 on MariaDB 10.1. Perhaps something else changed with gcc then??
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11f5c01e7786aaa77c2aa8691cdcbc0ac0d48b83 commit 11f5c01e7786aaa77c2aa8691cdcbc0ac0d48b83 Author: Brian Evans <grknight@gentoo.org> AuthorDate: 2018-05-15 02:23:55 +0000 Commit: Brian Evans <grknight@gentoo.org> CommitDate: 2018-05-15 02:23:55 +0000 dev-db/mariadb: Add patch to 10.1 series for atomic detection Patch borrowed from Debian's build Bug: https://bugs.gentoo.org/650758 Package-Manager: Portage-2.3.36, Repoman-2.3.9 dev-db/mariadb/Manifest | 1 + dev-db/mariadb/mariadb-10.1.31-r1.ebuild | 5 +++-- dev-db/mariadb/mariadb-10.1.33.ebuild | 9 +++++++-- dev-db/mariadb/mariadb-10.2.14.ebuild | 13 +++++++++---- 4 files changed, 20 insertions(+), 8 deletions(-)
Please test 10.1.31 patch. 10.3.x is a rework and we will have to see if something can be done easily
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d72c80fdcbd10c59d8f1c4bc1f9370ccc1660ffc commit d72c80fdcbd10c59d8f1c4bc1f9370ccc1660ffc Author: Brian Evans <grknight@gentoo.org> AuthorDate: 2018-05-15 14:00:17 +0000 Commit: Brian Evans <grknight@gentoo.org> CommitDate: 2018-05-15 14:01:03 +0000 dev-db/mariadb: Respin atomic detection patch for 10.2 and 10.3 Closes: https://bugs.gentoo.org/650758 Package-Manager: Portage-2.3.36, Repoman-2.3.9 dev-db/mariadb/Manifest | 2 +- dev-db/mariadb/mariadb-10.2.14.ebuild | 4 ++-- dev-db/mariadb/mariadb-10.3.6_rc.ebuild | 9 +++++---- 3 files changed, 8 insertions(+), 7 deletions(-)