[Bug 231402] textproc/kf5-syntax-highlighting: does not build on systems with VLAN interfaces

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 17 02:15:57 BST 2018


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

--- Comment #2 from Ting-Wei Lan <lantw44 at gmail.com> ---
kf5-syntax-highlighting prints these messages at the end of configure phase:

-- The following OPTIONAL packages have been found:

 * Qt5Widgets
   Example application.
 * Qt5XmlPatterns
   Compile-time validation of syntax definition files.

libqgenericbearer.so is always loaded and _ZN17QNetworkInterfaceC1ERKS_ is
always called when katehighlightingindexer is linked to qt5-xmlpatterns.

When there is no VLAN interface, the hash value isn't modified and the symbol
can be found successfully. When I set a breakpoint on
_ZN17QNetworkInterfaceC1ERKS_, it hits multiple times before it exits.

When there is a VLAN interface, the hash value is modified and the symbol
cannot be found. I set breakpoints on both _ZN17QNetworkInterfaceC1ERKS_ at plt in
libqgenericbearer.so and _ZN17QNetworkInterfaceC1ERKS_ in libQt5Network.so.5.
Only the PLT one is hit because _rtld_bind calls rtld_die, which causes the
program to exit early.

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


More information about the kde-freebsd mailing list