Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jul 2015 05:19:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 201959] shells/bash: Missing -Wl, -export-dynamic breaks "enable -f"
Message-ID:  <bug-201959-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201959-13>