Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 May 2019 11:16:15 +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: r501167 - head/comms/flrig
Message-ID:  <201905101116.x4ABGFpd013746@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Fri May 10 11:16:15 2019
New Revision: 501167
URL: https://svnweb.freebsd.org/changeset/ports/501167

Log:
  comms/flrig: fix build on powerpc64
  
  Add -mminimal-toc to CFLAGS on powerpc64 to fix linking:
  /usr/bin/ld: rigs/flrig-TS950.o(.text+0x1c40): sibling call optimization to `_ZN7rigbaseD2Ev' does not allow automatic multiple TOCs; recompile with -mminimal-toc or -fno-optimize-sibling-calls, or make `_ZN7rigbaseD2Ev' extern
  
  PR:		237816
  Approved by:	tcberner (mentor), db (maintainer, via email)
  Differential Revision:	https://reviews.freebsd.org/D20217

Modified:
  head/comms/flrig/Makefile

Modified: head/comms/flrig/Makefile
==============================================================================
--- head/comms/flrig/Makefile	Fri May 10 10:53:45 2019	(r501166)
+++ head/comms/flrig/Makefile	Fri May 10 11:16:15 2019	(r501167)
@@ -26,4 +26,6 @@ NATIVE_OPT_DESC=	Enable Native Optimizations
 NATIVE_OPT_CONFIGURE_ON+=	--enable-optimizations=native
 NATIVE_OPT_CONFIGURE_OFF+=	--enable-optimizations=none
 
+CFLAGS_powerpc64=	-mminimal-toc
+
 .include <bsd.port.mk>



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