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

AIX build broken after 8358799

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 26
    • 26
    • hotspot
    • None
    • b02
    • aix

      We're getting several build errors on AIX:

      os_posix.cpp:1081:3: error: unknown type name 'Dl_info'; did you mean 'if_info'?
       1081 | Dl_info dlinfo;
            | ^~~~~~~
            | if_info
      /usr/include/netinet/in.h:719:8: note: 'if_info' declared here
        719 | struct if_info {
            | ^
      jdk/src/hotspot/os/posix/os_posix.cpp:1082:13: error: use of undeclared identifier 'dladdr'
       1082 | int ret = dladdr(CAST_FROM_FN_PTR(void *, os::jvm_path), &dlinfo);
            | ^
      jdk/src/hotspot/os/posix/os_posix.cpp:1087:18: error: no member named 'dli_fname' in 'if_info'; did you mean 'ifi_name'?
       1087 | fname = dlinfo.dli_fname;
            | ^~~~~~~~~
            | ifi_name
      /usr/include/netinet/in.h:720:9: note: 'ifi_name' declared here
         ... (rest of output omitted)

            mdoerr Martin Doerr
            mdoerr Martin Doerr
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: