Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Dec 2019 18:08:08 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r520647 - head/science/agrum
Message-ID:  <201912221808.xBMI88FM086238@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Sun Dec 22 18:08:07 2019
New Revision: 520647
URL: https://svnweb.freebsd.org/changeset/ports/520647

Log:
  science/agrum: fix build on powerpc64 elfv2
  
  LLD can't link this port on powerpc64 elfv2:
  ld: error: relocation refers to a discarded section: .text._ZN3gum9ExceptionD2Ev
  >>> defined in src/CMakeFiles/agrum.dir/agrum/core/approximations/approximationScheme.cpp.o
  >>> section group signature: _ZN3gum9ExceptionD2Ev
  >>> prevailing definition is in src/CMakeFiles/agrum.dir/agrum/core/approximations/IApproximationSchemeConfiguration.cpp.o
  >>> referenced by approximationScheme.cpp
  >>>               src/CMakeFiles/agrum.dir/agrum/core/approximations/approximationScheme.cpp.o:(gum::OutOfLowerBound::OutOfLowerBound(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >))
  
  PR:		242804
  Approved by:	yuri (maintainer)

Modified:
  head/science/agrum/Makefile

Modified: head/science/agrum/Makefile
==============================================================================
--- head/science/agrum/Makefile	Sun Dec 22 17:59:20 2019	(r520646)
+++ head/science/agrum/Makefile	Sun Dec 22 18:08:07 2019	(r520647)
@@ -2,6 +2,7 @@
 
 PORTNAME=	agrum
 DISTVERSION=	0.16.4
+PORTREVISION=	1
 CATEGORIES=	science math
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -13,6 +14,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 USES=		cmake
 USE_GITLAB=	yes
 USE_LDCONFIG=	yes
+LLD_UNSAFE=	yes
 
 GL_ACCOUNT=	agrumery
 GL_PROJECT=	aGrUM



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