On Thu, 4 Nov 2021 04:19:02 GMT, Andrew John Hughes <[email protected]> wrote:

> The lack of anything to compile in `syslookup.c` is leading to a number of 
> issues in our tooling, on some architectures more than others (s390x seems to 
> be the most problematic).  They expect to be able to retrieve debuginfo and 
> compiler flags from generated .so files and fail with libsyslookup.so
> 
> This simple patch adds a dummy function to `syslookup.c` so it appears more 
> like a regular file to be compiled. I can't see this causing a problem with 
> the symbol lookup, but we could filter it out on the Java side if need be.

Most likely bad idea, but isnt there an threat, that the method will be dropped 
by optimising compiler?

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

PR: https://git.openjdk.java.net/jdk/pull/6245

Reply via email to