Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Dec 2016 22:07:18 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r430171 - head/shells/sparforte
Message-ID:  <201612312207.uBVM7Ijj020978@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sat Dec 31 22:07:17 2016
New Revision: 430171
URL: https://svnweb.freebsd.org/changeset/ports/430171

Log:
  shells/sparforte: skip -fstack-protector
  
  The gcc6-aux port doesn't build libssp* to which the stack-protctor switch
  could try to link.  I believe the bdb generator was linking with the base
  ssp libraries.  The linker couldn't find the base ssp libraries on
  DragonFly, which revealed the issue.

Modified:
  head/shells/sparforte/Makefile

Modified: head/shells/sparforte/Makefile
==============================================================================
--- head/shells/sparforte/Makefile	Sat Dec 31 22:04:02 2016	(r430170)
+++ head/shells/sparforte/Makefile	Sat Dec 31 22:07:17 2016	(r430171)
@@ -132,6 +132,7 @@ post-patch:
 	${REINPLACE_CMD} -e "s|BDB4|BDB4 -I${PREFIX}/include/db48|" \
 		-e "s|-ldb|-L${PREFIX}/lib/db48 -ldb|" \
 		-e "s|db: db.adb|db: bdb_constants.ads db.adb|" \
+		-e "s| -fstack-protector||" \
 		${WRKSRC}/src/bdb/GNUmakefile
 	# fix areadline linkage
 	${REINPLACE_CMD} -e "s|gnatlink.*|gnatlink rl.ali -L${PREFIX}/lib -lreadline -lhistory|" \



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