Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2018 20:09:03 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r480077 - head/databases/mysql-udf
Message-ID:  <201809182009.w8IK93Nj034769@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste (src committer)
Date: Tue Sep 18 20:09:03 2018
New Revision: 480077
URL: https://svnweb.freebsd.org/changeset/ports/480077

Log:
  databases/mysql-udf: enable PIC on arm64 and i386, for lld
  
  Shared objects should be built as PIC, and lld enforces this by default.
  Add aarch64 and i386 cases to the existing set of per-arch CFLAGS, and
  remove the BROKEN_aarch64.
  
  Approved by:	portmgr (lld blanket)
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/databases/mysql-udf/Makefile

Modified: head/databases/mysql-udf/Makefile
==============================================================================
--- head/databases/mysql-udf/Makefile	Tue Sep 18 20:08:00 2018	(r480076)
+++ head/databases/mysql-udf/Makefile	Tue Sep 18 20:09:03 2018	(r480077)
@@ -3,19 +3,19 @@
 
 PORTNAME=	mysql-udf
 PORTVERSION=	0.3
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	databases
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Set of user-defined functions for the MySQL server
 
-BROKEN_aarch64=		fails to link: can't create dynamic relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol 'compare_doubles(void const*, void const*)' defined in udf_median.o
-
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
 USES=		mysql
+CFLAGS_aarch64+=-fPIC
 CFLAGS_amd64+=	-fPIC
+CFLAGS_i386+=	-fPIC
 
 MODULES=	colwidth confidence_higher confidence_lower correlation \
 		faculty geomean intercept kurtosis longest median noverm \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809182009.w8IK93Nj034769>