Date: Fri, 23 Sep 2022 16:09:58 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 266568] net/relayd: Link order causes random crashes Message-ID: <bug-266568-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266568 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 i= s, 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/7372b73f645418c81c5c4ec88d877dbdca= 9e52c2 Basically, net/relayd should also move "-lmd" to the end of the LDADD line. --=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-266568-7788>