Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2019 02:55:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 236719] x11-toolkits/plib: consumers fail --no-allow-shlib-undefined with Gold or LLD 9 (or on 13-CURRENT)
Message-ID:  <bug-236719-7788-EXwR55ozg0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-236719-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-236719-7788@https.bugs.freebsd.org/bugzilla/>

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

Jan Beich <jbeich@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |236141
            Summary|[PATCH] games/torcs: add    |x11-toolkits/plib:
                   |libusbhid link to try fix   |consumers fail
                   |in 13-CURRENT               |--no-allow-shlib-undefined
                   |                            |with Gold or LLD 9 (or on
                   |                            |13-CURRENT)

--- Comment #1 from Jan Beich <jbeich@FreeBSD.org> ---
Still fails. -lplibjs depends on hid_* symbols, so every consumer have to be
patched. Given there's no pkg-config file to specify static library
dependencies maybe plib should be converted into a shared library.

ld: error: export/lib/libtgfclient.so: undefined reference to hid_end_parse
ld: error: export/lib/libtgfclient.so: undefined reference to hid_get_data
ld: error: export/lib/libtgfclient.so: undefined reference to hid_get_item
ld: error: export/lib/libtgfclient.so: undefined reference to
hid_get_report_desc
ld: error: export/lib/libtgfclient.so: undefined reference to hid_report_si=
ze
ld: error: export/lib/libtgfclient.so: undefined reference to hid_start_par=
se


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236141
[Bug 236141] LLD (unlike BFD) ignores unresolved references in libraries for
indirect linking
--=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-236719-7788-EXwR55ozg0>