From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jul 21 07:20:11 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A7BF3106566B for ; Sat, 21 Jul 2012 07:20:11 +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 6119A8FC1A for ; Sat, 21 Jul 2012 07:20:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q6L7KBgx021178 for ; Sat, 21 Jul 2012 07:20:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q6L7KBNA021177; Sat, 21 Jul 2012 07:20:11 GMT (envelope-from gnats) Resent-Date: Sat, 21 Jul 2012 07:20:11 GMT Resent-Message-Id: <201207210720.q6L7KBNA021177@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, "4721@hushmail.com" <4721@hushmail.com> Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2CF15106566C for ; Sat, 21 Jul 2012 07:14:14 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 17FC38FC0C for ; Sat, 21 Jul 2012 07:14:14 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q6L7ED42022130 for ; Sat, 21 Jul 2012 07:14:13 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q6L7EDdt022129; Sat, 21 Jul 2012 07:14:13 GMT (envelope-from nobody) Message-Id: <201207210714.q6L7EDdt022129@red.freebsd.org> Date: Sat, 21 Jul 2012 07:14:13 GMT From: "4721@hushmail.com" <4721@hushmail.com> To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/170049: [patch] lang/clang-devel: add depend on binutils X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jul 2012 07:20:11 -0000 >Number: 170049 >Category: ports >Synopsis: [patch] lang/clang-devel: add depend on binutils >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jul 21 07:20:11 UTC 2012 >Closed-Date: >Last-Modified: >Originator: 4721@hushmail.com >Release: >Organization: >Environment: >Description: the last update to lang/clang-devel has clang using a ld option which does not exist in binutils 2.15: /usr/bin/ld: unrecognized option '--hash-style=both' /usr/bin/ld: use the --help option for usage information clang: error: linker command failed with exit code 1 (use -v to see invocation) patch adds a depend on binutils for systems that predate the import of binutils 2.17.50. (it would be nice if binutils 2.17.50 was MFC to 7/8-stable) >How-To-Repeat: >Fix: Patch attached with submission follows: Index: lang/clang-devel/Makefile =================================================================== --- lang/clang-devel/Makefile (revision 301219) +++ lang/clang-devel/Makefile (working copy) @@ -91,6 +91,10 @@ BROKEN= Does not compile on sparc64 .endif +.if ${OSVERSION} < 900033 +RUN_DEPENDS+= ${LOCALBASE}/bin/ld:${PORTSDIR}/devel/binutils +.endif + .if defined(BOOTSTRAP) || defined(SVN_FETCH) FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion >Release-Note: >Audit-Trail: >Unformatted: