Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jun 2020 17:47:52 +0000 (UTC)
From:      Mikael Urankar <mikael@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r538416 - head/math/p5-Math-Pari
Message-ID:  <202006101747.05AHlqgq043099@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mikael
Date: Wed Jun 10 17:47:51 2020
New Revision: 538416
URL: https://svnweb.freebsd.org/changeset/ports/538416

Log:
  math/p5-Math-Pari: Fix build on aarch64
  
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/math/p5-Math-Pari/Makefile

Modified: head/math/p5-Math-Pari/Makefile
==============================================================================
--- head/math/p5-Math-Pari/Makefile	Wed Jun 10 17:46:30 2020	(r538415)
+++ head/math/p5-Math-Pari/Makefile	Wed Jun 10 17:47:51 2020	(r538416)
@@ -17,7 +17,6 @@ COMMENT=	Numerical/scientific/number-theoretic calcula
 LICENSE=	ART10 GPLv1+
 LICENSE_COMB=	dual
 
-BROKEN_aarch64=		fails to link: mp.c:(function pari_kernel_init): can't create dynamic relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol 'gpmalloc' defined in init.o
 .if ${/usr/bin/ld:L:tA} == /usr/bin/ld.lld
 BROKEN_i386=	ld: error: can't create dynamic relocation R_386_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
 .endif
@@ -30,6 +29,7 @@ USE_PERL5=	configure
 PARI_WRKSRC=	${WRKDIR}/pari-2.3.5
 
 CFLAGS+=	-I${PARI_WRKSRC}/src/headers -I${PARI_WRKSRC}/build
+CFLAGS_aarch64=	-fPIC
 CFLAGS_powerpc=	-fPIC
 CFLAGS_powerpc64=	-fPIC
 



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