[Bug 233463] japanese/mh: runtime error due to lld 6.0 issue.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 24 06:14:36 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233463

            Bug ID: 233463
           Summary: japanese/mh: runtime error due to lld 6.0 issue.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: nyan at FreeBSD.org
                CC: CQG00620 at nifty.ne.jp
             Flags: maintainer-feedback?(CQG00620 at nifty.ne.jp)
                CC: CQG00620 at nifty.ne.jp

Created attachment 199508
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=199508&action=edit
a work-around patch

Some programs (ex. rcvstore) linked by lld 6.0 fail with 'Undefined symbol'
error.

For example:
% ./rcvstore
ld-elf.so.1: /usr/local/lib/libmh.so.3: Undefined symbol "tw_dotw"

The tw_dotw is in libzot.a, and it is linked with no error:
cc -L../sbr -fstack-protector  -Xlinker -rpath -Xlinker /usr/local/lib -o
xrcvstore rcvstore.o ../config/config.o  -lmh ../mts/libmts.a 
../zotnet/libzot.a ../config/version.o
(xrcvstore is installed as rcvstore)

But libzot.a isn't linked in fact...

When using lld 7.0 instead of lld 6.0, it works fine.
So I attach a work-around patch until lld 7.0 is in base.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list