From nobody Fri Sep 23 16:09:58 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MYxtt468Zz4dK3v for ; Fri, 23 Sep 2022 16:09:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MYxtt1r4pz4P6Q for ; Fri, 23 Sep 2022 16:09:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MYxtt0vsqznP4 for ; Fri, 23 Sep 2022 16:09:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 28NG9weE043838 for ; Fri, 23 Sep 2022 16:09:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28NG9wC3043837 for ports-bugs@FreeBSD.org; Fri, 23 Sep 2022 16:09:58 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 266568] net/relayd: Link order causes random crashes Date: Fri, 23 Sep 2022 16:09:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663949398; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RRx6O1UGO1PxNQfnpl4qG0i8bwnQuxXp6o3Lkj767uM=; b=gB33OR6mJKCtzjUQddkN/vHhXEtBcWdQ1TaF/5F4BJ+EePBGXYr4Ks8L6Iz2oiM1wQpcxw XdyNXV3hf5ylfQAXfw6EjwvMqOxiopOgFbMHCe3841beX7eSbNWdpzBWIsFytCRe/Lum24 mSzM8IfuajkJv3yMpwe6Fs98ICK4JJG2uyR5riYFP9lW4/oJLLZrUR8zN3I/o5L4MNNrN3 fNUxheHK0QTiEUzmgPSjAJQGghXJZwnW9a/zJwh8SstCgm69rIK+6dJzbV1npqbDSX+JJ6 pHxpjkcLcOFvlmoDPdaQ+Q0dc2j7KY0NBF5mQWladmzFd3kK0TdNemBVXXY/yg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663949398; a=rsa-sha256; cv=none; b=PYHt+qub9APMqNN13mQNqBAw7/CW5kLWuig3qwijQkR3BkshmuO2L1Oi3vDS8VcjqCVpyD EiVOqJMv3giV3cdlatH5l9mFmm1brSQK9qSNrpaZBw+GYe2R0/ETAlLMJ+zjcdGVvE6kgM Q9A+LaVlqDwfUJEvPf49bMESpwrdYBOzBEcFmcvBK4oxogqMdiqrwPOtNDrI8YgxYpaa+b sj7sHIID79ECaWWX85ZffQlEbHdr2A4SGDaRky3h1Z2gs/iqsSEReLwNJsB0mT5RzwIhut /YF8/2ZphT9V+nFOORK0UP77LqM1DiHd5iiT7VM309/ni8TQqDDJYg8P1/eGGw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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.=