[Bug 266568] net/relayd: Link order causes random crashes
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 266568] net/relayd: Link order causes random crashes"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 266568] net/relayd: Link order causes random crashes"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 266568] net/relayd: Link order causes random crashes"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 266568] net/relayd: Link order causes random crashes"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 266568] net/relayd: Link order causes random crashes"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 266568] net/relayd: Link order causes random crashes"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 266568] net/relayd: Link order causes random crashes"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 266568] net/relayd: Link order causes random crashes"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 23 Sep 2022 16:09:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266568
Bug ID: 266568
Summary: net/relayd: Link order causes random crashes
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: markj@FreeBSD.org
CC: koue@chaosophia.net
Flags: maintainer-feedback?(koue@chaosophia.net)
CC: koue@chaosophia.net
Right now the net/relayd port always statically links libressl. This is a
problem because relayd also links libmd, and this weird combination of
dynamically linked libmd and statically linked libcrypto means that libmd
provides the implementations of hash functions used by LibreSSL. Problem is,
they're not quite compatible.
I wrote a patch for the upstream port, but because net/relayd is causing
problems by statically linking libressl, it might be more correct to fix it
here. Some more details here:
https://github.com/markjdb/relayd/commit/7372b73f645418c81c5c4ec88d877dbdca9e52c2
Basically, net/relayd should also move "-lmd" to the end of the LDADD line.
--
You are receiving this mail because:
You are the assignee for the bug.