Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Aug 2017 17:56:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 221812] mail/qmail-dk fails to link with lld due to duplicate symbols
Message-ID:  <bug-221812-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 221812
           Summary: mail/qmail-dk fails to link with lld due to duplicate
                    symbols
           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

When attempting to link qmail-dk with lld as /usr/bin/ld the link fails wit=
h:

./load qmail-dk triggerpull.o fmtqfn.o now.o  date822fmt.o datetime.a seek.a
ndelay.a open.a sig.a  substdio.a error.a fs.a auto_qmail.o  auto_split.o
auto_uids.o  fd.a wait.a  /usr/local/lib/libdomainkeys.a -L/usr/lib -lcrypto
env.a control.o open.a getln.a  stralloc.a alloc.a  scan_ulong.o str.a `cat
dns.lib`
/usr/bin/ld: error: duplicate symbol: scan_ulong
>>> defined at scan_ulong.c
>>>            scan_ulong.o:(scan_ulong) in archive fs.a
>>> defined at scan_ulong.c
>>>            scan_ulong.o:(.text+0x0)

scan_ulong.o is added to fs.a and so appears twice in the link command line
(via fs.a and listed explicitly) which resulted in a duplicate symbol error
with lld.

--=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-221812-13>