Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Oct 2018 14:43:53 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r482678 - head/math/pari
Message-ID:  <201810211443.w9LEhrl5075716@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Oct 21 14:43:53 2018
New Revision: 482678
URL: https://svnweb.freebsd.org/changeset/ports/482678

Log:
  math/pari: fix build on powerpc64
  
  PR:		232503
  Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>

Modified:
  head/math/pari/Makefile

Modified: head/math/pari/Makefile
==============================================================================
--- head/math/pari/Makefile	Sun Oct 21 14:34:39 2018	(r482677)
+++ head/math/pari/Makefile	Sun Oct 21 14:43:53 2018	(r482678)
@@ -16,7 +16,6 @@ LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 BROKEN_mips64=		fails to link: mpker.c:(.text+0x33bc): relocation truncated to fit: R_MIPS_TLS_GD against 'PARI_SIGINT_block'
-BROKEN_powerpc64=	fails to link: intnum.o: relocation truncated to fit: R_PPC64_GOT_TLSGD16 against symbol 'avma' defined in .tbss section in init.o
 
 LIB_DEPENDS=	libgmp.so:math/gmp
 
@@ -24,6 +23,7 @@ USES=		perl5 readline
 USE_LDCONFIG=	yes
 USE_PERL5=	build
 HAS_CONFIGURE=	yes
+CFLAGS_powerpc64=	-mminimal-toc
 CONFIGURE_SCRIPT=	Configure
 CONFIGURE_ARGS=	--mandir=${MANPREFIX}/man/man1 \
 		--prefix=${PREFIX} \



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