[Bug 261952] coredump building www/node16 if kern.elf64.allow_wx=0
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 261952] coredump building www/node16 if kern.elf64.allow_wx=0"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 10 Mar 2023 19:32:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261952 --- Comment #15 from Peter Much <pmc@citylink.dinoex.sub.org> --- (In reply to Ed Maste from comment #14) I've no idea why they're doing it, I just see that they're doing it: ===> Staging for node16-16.19.0 ... c++ -o /var/local/ports/usr/ports/www/node16/work/node-v16.19.0/out/Release/node -pthread -rdynamic ... ... And yes, certainly, adding a little post-stage task can make it work: post-stage: # USES=elfctl does not work here, because of relink during staging ${ELFCTL} -i -e +wxneeded ${STAGEDIR}/usr/local/bin/node Btw, a similar issue is with java/openjdk11, because they compute the build directory dynamically, and I didn't find a way to get that into the .for loop in Uses/elfctl (maybe there is one and I'm just not good enough with make - but it looks difficult). -- You are receiving this mail because: You are the assignee for the bug.