From owner-svn-ports-head@FreeBSD.ORG Fri Dec 26 22:02:21 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AF6B2718; Fri, 26 Dec 2014 22:02:21 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9A9AB2759; Fri, 26 Dec 2014 22:02:21 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sBQM2Lr4053406; Fri, 26 Dec 2014 22:02:21 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sBQM2Le1053404; Fri, 26 Dec 2014 22:02:21 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201412262202.sBQM2Le1053404@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Fri, 26 Dec 2014 22:02:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r375661 - in head/devel/binutils: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2014 22:02:21 -0000 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 +.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; + }