From owner-svn-ports-all@freebsd.org Sat Mar 21 10:20:17 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9BC0525CF28; Sat, 21 Mar 2020 10:20:17 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48kxV91N6zz3MDm; Sat, 21 Mar 2020 10:20:17 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0E511B05F; Sat, 21 Mar 2020 10:20:17 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 02LAKG8n021720; Sat, 21 Mar 2020 10:20:16 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 02LAKGL5021719; Sat, 21 Mar 2020 10:20:16 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <202003211020.02LAKGL5021719@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Sat, 21 Mar 2020 10:20:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r528843 - head/databases/mariadb101-server X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: head/databases/mariadb101-server X-SVN-Commit-Revision: 528843 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Mar 2020 10:20:17 -0000 Author: pkubaj Date: Sat Mar 21 10:20:16 2020 New Revision: 528843 URL: https://svnweb.freebsd.org/changeset/ports/528843 Log: databases/mariadb101-server: fix build on powerpc64 elfv2 Like other SQL servers, this port fails to build due to Clang bug: Wrong types for attribute: inalloca nest noalias nocapture nonnull readnone readonly signext sret zeroext byval dereferenceable(1) dereferenceable_or_null(1) %call54 = call signext i32 @my_atomic_cas32(i32* %62, i32* %64, %union.U_32 signext %65) in function lf_hash_insert fatal error: error in backend: Broken function found, compilation aborted! Modified: head/databases/mariadb101-server/Makefile Modified: head/databases/mariadb101-server/Makefile ============================================================================== --- head/databases/mariadb101-server/Makefile Sat Mar 21 09:53:42 2020 (r528842) +++ head/databases/mariadb101-server/Makefile Sat Mar 21 10:20:16 2020 (r528843) @@ -28,7 +28,7 @@ LICENSE_PERMS_PerconaFT= dist-mirror dist-sell pkg-mir SUB_FILES= pkg-message -USES= bison:build cmake:insource,noninja compiler:c++11-lib cpe libedit ncurses \ +USES= bison:build cmake:insource,noninja cpe libedit ncurses \ shebangfix ssl USE_LDCONFIG= ${PREFIX}/lib/mysql SHEBANG_FILES= scripts/*.sh @@ -161,6 +161,12 @@ ZMQ_LIB_DEPENDS= libzmq.so:net/libzmq4 SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS="" .else SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment " +.endif + +.if defined(PPC_ABI) && ${PPC_ABI} == ELFv2 +USES+= compiler:gcc-c++11-lib +.else +USES+= compiler:c++11-lib .endif .include