Date: Fri, 27 Dec 2024 22:41:18 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 283670] comms/wsjtz: Fix jt9 crash due to non-executable stack Message-ID: <bug-283670-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-283670-7788>