maintainer-feedback requested: [Bug 296945] java/openjdk25: set wxneeded ELF flag

[email protected] Tue, 21 Jul 2026 05:30:00 +0000
Newsgroups gmane.os.freebsd.devel.java
Message-ID <[email protected]/bugzilla/>
Bugzilla Automation <[email protected]> has asked freebsd-java (Nobody)
<[email protected]> for maintainer-feedback:
Bug 296945: java/openjdk25: set wxneeded ELF flag
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D296945



--- Description ---
On systems with kern.elf64.allow_wx=3D0 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=3D268363


Past discussion of the root cause:=20

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