From nobody Fri Dec 27 22:41:18 2024 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 4YKgTD4JqZz5jSMl for ; Fri, 27 Dec 2024 22:41:20 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YKgTC3y7yz4pkm for ; Fri, 27 Dec 2024 22:41:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735339279; 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=ifu961uPUMKgZTHX1c3HjMBVKR79Szs6LB6a7iAlGGw=; b=Pa5vA6oSItFWeHqOfmuC8UpNaZf2zZoDkvDfCvlvZwXyP97RLHbSv67KaEFXLmC0+ZWb+2 2WVjwdcXoER4Gb4X/7kh2y3eL0HaLo4QXZxANF0HXnawpPR57cToYrQ70SJTFS60uBvENw rHDuElqh5H5+1H/BZAyEx8ZGJlXH4dcPTRDQD/rcW9kFvQmkbsObAHcn5+/3jtTe2Y1xmW 4ixbOwf5TlILuUUfknnDAeTYa/GkphqNIA6XjQ/Dbg/pG48zppCerBrJzYKEA/0e6OoJ35 jBNp35Qw7yLxvj4nwV09gLupOtVvOxcu3O1cIvk5qis2OhTqbuVNgtWFpldfGw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735339279; a=rsa-sha256; cv=none; b=KY9X391cy0E/rxBxVkOHS2g8cGmN9DYaKjl+Ul+aJlnGUbAX8Jfsw6akjKkOyd42kOSLfZ k2hnXZdUUyepk1pWNiDr6s6ZTfeoUN0c64zSdqZN0gcvrkmfYNd3Rc/391xkHygwmHTjxR IVoTLFp/QZujfv8p8Yz2uiVo7rBxpQoAl8b5MvT85CKNlaMg4o+D8sAa3RxzC9Xgx0Y+HP enm9DITYgv3scG/8AqgRVGjwUajLy+rcLuHaHu9SNuMzBmtkUjYN+uulStlekbJ5KNgZzX hXrwvivYZZogWKwennAIWvpKrXqUglpTJg5GTS1Zmej2/4j3ol1+frIjRUlENw== 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 4YKgTB58tVzyBR for ; Fri, 27 Dec 2024 22:41:18 +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 4BRMfIVZ031483 for ; Fri, 27 Dec 2024 22:41:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BRMfIa7031482 for ports-bugs@FreeBSD.org; Fri, 27 Dec 2024 22:41:18 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 283670] comms/wsjtz: Fix jt9 crash due to non-executable stack Date: Fri, 27 Dec 2024 22:41:18 +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: shurd@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: hamradio@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 flagtypes.name attachments.created 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: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283670 Bug ID: 283670 Summary: comms/wsjtz: Fix jt9 crash due to non-executable stack Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: hamradio@FreeBSD.org Reporter: shurd@FreeBSD.org Assignee: hamradio@FreeBSD.org Flags: maintainer-feedback?(hamradio@FreeBSD.org) Created attachment 256212 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D256212&action= =3Dedit Simple patch to give bin/jt9 an executable stack gfortran puts trampolines on the stack and marks decoder.f90.o as needing an executable stack, but the linker on FreeBSD ignores this and make the stack= NX. I've done two different patches depending on the maintainers appetite for maintaining them. The first simply marks jt9 as needing an executable stac= k, and the second uses mprotect() to dynamically mark the trampolines RX then = set back to RW after the call. Reference: https://github.com/llvm/llvm-project/issues/121234 --=20 You are receiving this mail because: You are the assignee for the bug.=