From owner-freebsd-ports-bugs@freebsd.org Thu Aug 24 14:38:27 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 30147DE0FD7 for ; Thu, 24 Aug 2017 14:38:27 +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 1E0B27F207 for ; Thu, 24 Aug 2017 14:38:27 +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 v7OEcQsj016690 for ; Thu, 24 Aug 2017 14:38:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 221766] arabic/libitl: build invokes linker with unintended commandline arguments Date: Thu, 24 Aug 2017 14:38:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter blocked Message-ID: 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: Thu, 24 Aug 2017 14:38:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221766 Bug ID: 221766 Summary: arabic/libitl: build invokes linker with unintended commandline arguments Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: emaste@freebsd.org Blocks: 214864 From http://package18.nyi.freebsd.org/data/headamd64PR214864-default/2017-08-22_= 08h39m11s/logs/errors/ar-libitl-0.7.0_1.log when attempting to link with lld: =3D=3D> Create symbolic links for library generation... test -d ../../build/itl/ || mkdir -p ../../build/itl/ || exit 1; ln -sf ../../prayertime/src/prayer.h ../../build/itl/prayer.h ln -sf ../prayertime/src/prayer.o ../../build/prayer.o ln -sf ../prayertime/src/astro.o ../../build/astro.o ld build/*.o -fstack-protector -shared -lm -lc -soname=3Dlibitl.so.0 -o build/libitl.so.0.0.7 ld: error: unknown argument: -fstack-protector ld: error: unable to find library -lm ld: error: unable to find library -lc *** Error code 1 This package's build invokes ld with -fstack-protector, a flag intended to = be passed to the compiler. GNU linkers interpret -fstack-protector as a comman= d to create an auxiliary filter library for "stack-protector": 0x000000007ffffffd AUXILIARY Auxiliary library: [stack-protector] The link commandline should omit -fstack-protector, and could also pass in -L/usr/lib for future compatibility with LLD Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214864 [Bug 214864] [exp-run] test build with lld as /usr/bin/ld --=20 You are receiving this mail because: You are the assignee for the bug.=