Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Dec 2014 22:02:21 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r375661 - in head/devel/binutils: . files
Message-ID:  <201412262202.sBQM2Le1053404@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Fri Dec 26 22:02:20 2014
New Revision: 375661
URL: https://svnweb.freebsd.org/changeset/ports/375661
QAT: https://qat.redports.org/buildarchive/r375661/

Log:
  binutils 2.15 turned "no group info for section" from a warning to an error
  On FreeBSD 8.x, a dozen of ports exhibit this warning so allow it again
  
  Approved by:	maintainer

Added:
  head/devel/binutils/files/allow-missing-group-info   (contents, props changed)
Modified:
  head/devel/binutils/Makefile

Modified: head/devel/binutils/Makefile
==============================================================================
--- head/devel/binutils/Makefile	Fri Dec 26 21:59:11 2014	(r375660)
+++ head/devel/binutils/Makefile	Fri Dec 26 22:02:20 2014	(r375661)
@@ -55,6 +55,10 @@ NLS_CONFIGURE_ENABLE=	nls
 
 .include <bsd.port.pre.mk>
 
+.if ! defined(PKGNAMEPREFIX) && ${OSVERSION} < 900000
+EXTRA_PATCHES+=	${FILESDIR}/allow-missing-group-info
+.endif
+
 # Actual earliest version may differ slightly
 .if ${ARCH} != ia64 && ${ARCH} != mips && ${OSVERSION} >= 900044 && !defined(PKGNAMEPREFIX) && (${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 34 || ${COMPILER_TYPE} == gcc)
 CONFIGURE_ARGS+=	--enable-gold --enable-plugins

Added: head/devel/binutils/files/allow-missing-group-info
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/binutils/files/allow-missing-group-info	Fri Dec 26 22:02:20 2014	(r375661)
@@ -0,0 +1,10 @@
+--- bfd/elf.c.orig	2014-12-23 08:47:10 UTC
++++ bfd/elf.c
+@@ -741,7 +741,6 @@ setup_group (bfd *abfd, Elf_Internal_Shd
+     {
+       (*_bfd_error_handler) (_("%B: no group info for section %A"),
+ 			     abfd, newsect);
+-      return FALSE;
+     }
+   return TRUE;
+ }



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