[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

            Bug ID: 258169
           Summary: net/syncthing fails to start with W^X protections
           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

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:

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