Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Sep 2021 08:07:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 258241] lang/go produces binaries with an RWX stack
Message-ID:  <bug-258241-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258241

            Bug ID: 258241
           Summary: lang/go produces binaries with an RWX stack
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: dmgk@freebsd.org
          Reporter: me@igalic.co
          Assignee: dmgk@freebsd.org
             Flags: maintainer-feedback?(dmgk@freebsd.org)

Created attachment 227636
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D227636&action=
=3Dedit
patch to the go linker to add an ELF header to the binaries it produces to =
mark
them as non-exutable

these binaries fail to run on systems that have W^X enabled.
A patch upstream has already been merged, but won't be released until 1.18

patch upstream: https://go-review.googlesource.com/c/go/+/346872/
discussion upstream: https://github.com/golang/go/issues/48112

--=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-258241-7788>