Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8276572

Fake libsyslookup.so library causes tooling issues

    XMLWordPrintable

    Details

    • Introduced In Version:
      17
    • Resolved In Build:
      b23
    • CPU:
      generic
    • OS:
      linux

      Backports

        Description

        On POSIX platforms, OpenJDK builds a library, libsyslookup.so, which it uses to lookup C library symbols via dlsym. The file used to build this library, syslookup.c, has no functions, just a header import.

        This causes problems with our tooling that expects the library to have the properties of a regular library e.g. debuginfo, recorded compiler flags. On some architectures & platforms, this makes it impossible to build an RPM.

        Adding a simple function to the file seems to help things.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                andrew Andrew Hughes
                Reporter:
                andrew Andrew Hughes
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: