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

Fake libsyslookup.so library causes tooling issues

XMLWordPrintable

    • 17
    • b23
    • generic
    • linux

        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.

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

                Created:
                Updated:
                Resolved: