Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Mar 2019 18:46:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 236426] mail/exim: incorrect build flags cause spurious build error
Message-ID:  <bug-236426-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236426

            Bug ID: 236426
           Summary: mail/exim: incorrect build flags cause spurious build
                    error
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: vsevolod@FreeBSD.org
          Reporter: andrew@tao11.riddles.org.uk
             Flags: maintainer-feedback?(vsevolod@FreeBSD.org)
          Assignee: vsevolod@FreeBSD.org

mail/exim port Makefile has this:

EXIM_DYNAMIC_LDFLAGS=3D  -fPIC -rdynamic -export-dynamic

"-export-dynamic" should have been -Wl,-export-dynamic since it is a linker
option. Without that, an error "cannot find entry point symbol xport_dynami=
c"
is given on builds, and the only reason that plugin modules work is that the
option is redundant with -rdynamic which apparently does the same thing.

Any of these should be ok:

EXIM_DYNAMIC_LDFLAGS=3D  -fPIC -rdynamic

or

EXIM_DYNAMIC_LDFLAGS=3D  -fPIC -Wl,-export-dynamic

or

EXIM_DYNAMIC_LDFLAGS=3D  -fPIC -rdynamic -Wl,-export-dynamic

--=20
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-236426-7788>