Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Nov 2018 06:14:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 233463] japanese/mh: runtime error due to lld 6.0 issue.
Message-ID:  <bug-233463-7788@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: nyan@FreeBSD.org
                CC: CQG00620@nifty.ne.jp
             Flags: maintainer-feedback?(CQG00620@nifty.ne.jp)
                CC: CQG00620@nifty.ne.jp

Created attachment 199508
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D199508&action=
=3Dedit
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=20
../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.

--=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-233463-7788>