From owner-freebsd-ports-bugs@freebsd.org Wed Jul 29 05:19:27 2015 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 4C4FA9ADB18 for ; Wed, 29 Jul 2015 05:19: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 37ED9115B for ; Wed, 29 Jul 2015 05:19: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 t6T5JROG079517 for ; Wed, 29 Jul 2015 05:19:27 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 201959] shells/bash: Missing -Wl, -export-dynamic breaks "enable -f" Date: Wed, 29 Jul 2015 05:19:26 +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 Some People X-Bugzilla-Who: cem@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ehaupt@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2015 05:19:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201959 Bug ID: 201959 Summary: shells/bash: Missing -Wl,-export-dynamic breaks "enable -f" Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ehaupt@FreeBSD.org Reporter: cem@freebsd.org Assignee: ehaupt@FreeBSD.org Flags: maintainer-feedback?(ehaupt@FreeBSD.org) bash is missing -Wl,-export-dynamic. Without it, bash extensions can't use symbols provided by the program ("enable -f"). Here's a patch: --- a/shells/bash/Makefile +++ b/shells/bash/Makefile @@ -55,6 +55,7 @@ CONFIGURE_ARGS+= --without-bash-malloc \ --enable-disabled-builtins CFLAGS+= -DUSE_MKTEMP=1 -DUSE_MKSTEMP=1 +CFLAGS+= -Wl,-export-dynamic .if empty(PKGNAMESUFFIX) CONFLICTS+= bash-static-[0-9]* -- You are receiving this mail because: You are the assignee for the bug.