Integrated: JDK-8276572: Fake libsyslookup.so library causes tooling issues

Andrew John Hughes andrew at openjdk.java.net
Fri Nov 5 21:08:37 UTC 2021


On Thu, 4 Nov 2021 04:19:02 GMT, Andrew John Hughes <andrew at openjdk.org> 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.

This pull request has now been integrated.

Changeset: a4724332
Author:    Andrew John Hughes <andrew at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/a4724332098cd8bff44ee27e9190fd28fa5c1865
Stats:     5 lines in 1 file changed: 5 ins; 0 del; 0 mod

8276572: Fake libsyslookup.so library causes tooling issues

Reviewed-by: shade, mcimadamore

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

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


More information about the core-libs-dev mailing list