[Bug 258169] net/syncthing fails to start with W^X protections enabled

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 30 Aug 2021 15:49:45 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258169

            Bug ID: 258169
           Summary: net/syncthing fails to start with W^X protections
                    enabled
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: swills_at_FreeBSD.org
          Reporter: me_at_igalic.co
             Flags: maintainer-feedback?(swills_at_FreeBSD.org)
          Assignee: swills_at_FreeBSD.org

On a FreeBSD 13.0 system, syncthing fails to start, throwing the following
error:

exec_new_vmspace: mapping stack size 0x20000000 prot 0x7 failed mach error 2
errno 13


a quick search seems to indicate that this is related to W^X, which i, indeed,
have enabled on my systems.

I created an issue with upstream to see if this can be fixed, on their end, or
if we "just" need to recompile with -Wl,-z,wxneeded:
https://github.com/syncthing/syncthing/issues/7915

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Mon Aug 30 2021 - 15:49:45 UTC

Original text of this message