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

Licensee build failure due to wrong libs being called

XMLWordPrintable

    • b113
    • x86_64
    • linux
    • Not verified

      Licensee is running into an issue with the new-style jdk8 build 111 on Linux 64bit.
      On some SUSE Linux machines we have 32bit / 64 bit X11 libs installed in parallel at

      /usr/X11R6/lib64
      /usr/X11R6/lib

      Unfortunately, the current new-style jdk8 make infrastructure does not support this correctly.
      It chooses with

      jdk/makefiles/CompileNativeLibraries.gmk
      .....

      #
      # TODO replace with X_FLAGS / X_LIBS
      # and add them to configure
      #

      OPENWIN_LIB := $(OPENWIN_HOME)/lib

      the wrong (32bit) libs on our 64 bit Linux and then fails in the splashscreen build (linkage) because the wrong libs are choosen.

      The configure settings

       --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib64

      do not help here . This is because of
      jdk/makefiles/CompileNativeLibraries.gmk

      ....

        else ifneq ($(OPENJDK_TARGET_OS), windows)
          LIBSPLASHSCREEN_LDFLAGS_SUFFIX += -L$(OPENWIN_LIB)$(OPENJDK_TARGET_CPU_ISADIR) -lX11 -lXext $(LIBM) -lpthread
        else # OPENJDK_TARGET_OS
          LIBSPLASHSCREEN_LDFLAGS_SUFFIX += kernel32.lib user32.lib gdi32.lib delayimp.lib -DELAYLOAD:user32.dll
        endif # OPENJDK_TARGET_OS

      Customer believes this to be related to 8017568 and the part to fix this in the main open jdk 8
      should be a part of that overall fix already done


            erikj Erik Joelsson
            msusko Mark Susko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: