From owner-freebsd-ports-bugs@freebsd.org Mon Sep 4 12:30:59 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 85D2BE04AF4 for ; Mon, 4 Sep 2017 12:30:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 74AFD71FBA for ; Mon, 4 Sep 2017 12:30:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v84CUx7b010671 for ; Mon, 4 Sep 2017 12:30:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 214864] [exp-run] test build with lld as /usr/bin/ld Date: Mon, 04 Sep 2017 12:30:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: exp-run? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Sep 2017 12:30:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214864 --- Comment #44 from Ed Maste --- For libffi it seems we're again thwarted by libtool. libtool strips flags t= hat it does not recognize, including -fuse-ld. Likely need a patch like the following (which I'll also attach): --- ltmain.sh.orig 2017-09-04 08:24:02.091949000 -0400 +++ ltmain.sh 2017-09-04 08:27:30.993223000 -0400 @@ -5851,9 +5851,10 @@ # -tp=3D* Portland pgcc target processor selection # --sysroot=3D* for sysroot support # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimizat= ion + # -fuse-ld=3D select linker -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=3D*|-xtarget=3D*|+DA*|+DD*|-q*|-= m*| \ =20=20=20=20=20=20 -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=3D*|--sysroot=3D= *| \ - -O*|-flto*|-fwhopr*|-fuse-linker-plugin) + -O*|-flto*|-fwhopr*|-fuse-linker-plugin|-fuse-ld=3D*) func_quote_for_eval "$arg" arg=3D"$func_quote_for_eval_result" func_append compile_command " $arg" --=20 You are receiving this mail because: You are on the CC list for the bug.=