[Bug 276806] www/node20 fails to build

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 03 Feb 2024 14:49:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276806

            Bug ID: 276806
           Summary: www/node20 fails to build
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: dinoex@FreeBSD.org
          Assignee: sunpoet@FreeBSD.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)

FreeBSDD amd64 13.2-RELEASE-p8

Building www/node in a clean jail failed for me:
gmake[2]: *** [tools/v8_gypfiles/v8_snapshot.target.mk:17:
58270f8b0505af4affa2e23fbc35c3da4e229a39.intermediate] Trace/BPT trap (core
dumped)


Reference:
https://github.com/nodejs/node/issues/40467


Workaround:
Disable Protection with
kern.elf64.allow_wx: Allow pages to be mapped simultaneously writable 

sysctl kern.elf64.allow_wx=1


Suggested Solution:
Please add an Option to pass "--nowrite_code_using_rwx" gto the build.

-- 
You are receiving this mail because:
You are the assignee for the bug.