From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Nov 1 19:00:17 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77BCE106566C for ; Mon, 1 Nov 2010 19:00:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 177C68FC1F for ; Mon, 1 Nov 2010 19:00:17 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA1J0G0d009032 for ; Mon, 1 Nov 2010 19:00:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA1J0GmA009010; Mon, 1 Nov 2010 19:00:16 GMT (envelope-from gnats) Resent-Date: Mon, 1 Nov 2010 19:00:16 GMT Resent-Message-Id: <201011011900.oA1J0GmA009010@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Koop Mast Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2E8C106564A for ; Mon, 1 Nov 2010 18:58:54 +0000 (UTC) (envelope-from kwm@rainbow-runner.nl) Received: from fep11.mx.upcmail.net (fep11.mx.upcmail.net [62.179.121.31]) by mx1.freebsd.org (Postfix) with ESMTP id 395FF8FC1B for ; Mon, 1 Nov 2010 18:58:53 +0000 (UTC) Received: from edge03.upcmail.net ([192.168.13.238]) by viefep11-int.chello.at (InterMail vM.8.01.02.02 201-2260-120-106-20100312) with ESMTP id <20101101185852.BWHF1456.viefep11-int.chello.at@edge03.upcmail.net> for ; Mon, 1 Nov 2010 19:58:52 +0100 Received: from mail.rainbow-runner.nl ([77.250.185.191]) by edge03.upcmail.net with edge id Ruyq1f00s48Bq8D03uyrUq; Mon, 01 Nov 2010 19:58:52 +0100 Received: from hermes.rainbow-runner.nl (localhost [127.0.0.1]) by mail.rainbow-runner.nl (Postfix) with ESMTP id C88CC107CB09 for ; Mon, 1 Nov 2010 19:58:49 +0100 (CET) Received: from mail.rainbow-runner.nl ([127.0.0.1]) by hermes.rainbow-runner.nl (hermes.rainbow-runner.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id vH4-mxieojqZ for ; Mon, 1 Nov 2010 19:58:44 +0100 (CET) Received: by mail.rainbow-runner.nl (Postfix, from userid 1001) id 361F6107CA36; Mon, 1 Nov 2010 19:58:44 +0100 (CET) Message-Id: <20101101185844.361F6107CA36@mail.rainbow-runner.nl> Date: Mon, 1 Nov 2010 19:58:44 +0100 (CET) From: Koop Mast To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/151874: devel/binutils : Allow build with clang. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Koop Mast List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Nov 2010 19:00:17 -0000 >Number: 151874 >Category: ports >Synopsis: devel/binutils : Allow build with clang. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Nov 01 19:00:16 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Koop Mast >Release: FreeBSD 8.1-RELEASE-p1 amd64 >Organization: >Environment: System: FreeBSD hermes.rainbow-runner.nl 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #3 r212995: Wed Sep 22 14:19:30 CEST 2010 root@hermes.rainbow-runner.nl:/var/obj/usr/src/sys/Hermes amd64 >Description: The Clang compiler has a different set of warnings then the GCC compiler in base. Since -Werror is enabled the build fails. >How-To-Repeat: >Fix: Disable -Werror, so it doesn't see warnings anymore as fatal. --- binutils-clang.diff begins here --- ? devel/binutils/binutils-clang.diff Index: devel/binutils/Makefile =================================================================== RCS file: /home/pcvs/ports/devel/binutils/Makefile,v retrieving revision 1.11 diff -a -u -r1.11 Makefile --- devel/binutils/Makefile 11 Jun 2010 15:09:41 -0000 1.11 +++ devel/binutils/Makefile 1 Nov 2010 16:27:02 -0000 @@ -29,6 +29,7 @@ CFLAGS+= -I${LOCALBASE}/include CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" CONFIGURE_ARGS+= --with-system-zlib \ + --disable-werror \ --with-gmp=${LOCALBASE} \ --with-mpfr=${LOCALBASE} --- binutils-clang.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: