On Wed, 22 Apr 2026 17:58:52 GMT, Sergey Bylokhov <[email protected]> wrote:

> > "In addition, a linker provides a way to look up foreign functions in 
> > libraries that conform to the ABI. Each linker chooses a set of libraries 
> > that are commonly used on the OS and processor combination associated with 
> > the ABI. For example, a linker for Linux/x64 might choose two libraries: 
> > libc and libm. The functions in these libraries are exposed via a [symbol 
> > lookup](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/foreign/Linker.html#defaultLookup())."
> 
> Is there any public information about that discussion? From the description 
> above it is unclear why LD_PRELOAD is not supported it sounds like a 
> regression. For such bugs we will always need to check the whole third party 
> libraries that uses malloc/free/calloc/etc and make sure it is not mixed with 
> similar methods loaded by FFM?

It was an internal discussion, but nonetheless the outcome is the same and the 
FFM team have no plans to make changes.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/30811#issuecomment-4299103356

Reply via email to