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

AIX: clang pollutes the burned-in library search paths of the generated executables / Second try with a better solution than JDK8348663

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • None
    • infrastructure
    • None
    • master
    • ppc
    • aix

      With
      JDK-8348663 [AIX] clang pollutes the burned-in library search paths of the generated executables
      an ugly workaround was introduced to get rid of the unwanted list of search libraries the clang compiler automatically burns into the executable files.
      Now we have a better solution, using just a different linker flag.
      Instead of using the linker option -bnolibpath, which forces the LIBPATH env variable to be burned in, we now use the -blibpath:/usr/lib:lib option, which explicitly tells what to burn in.
      I will revert the last change of JDK-8348663 and introduce this new change.

            jkern Joachim Kern
            jkern Joachim Kern
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: