[Bug 296945] java/openjdk25: set wxneeded ELF flag

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 21 Jul 2026 05:30:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296945

            Bug ID: 296945
           Summary: java/openjdk25: set wxneeded ELF flag
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: java@FreeBSD.org
          Reporter: p+freebsd@krvtz.net
          Assignee: java@FreeBSD.org
             Flags: maintainer-feedback?(java@FreeBSD.org)

On systems with kern.elf64.allow_wx=0 the java binary won't start, but it's
solved simply by setting elfctl -e +wxneeded on the java binary.

Simple packaging solution options from node:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268363


Past discussion of the root cause: 

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256477

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