RFR: JDK-8315499: build using devkit on Linux ppc64le RHEL puts path to devkit into libsplashscreen [v3]

Matthias Baesken mbaesken at openjdk.org
Mon Sep 4 07:40:11 UTC 2023


> After looking at the build results of a jdk22 build on RHEL 8.4 Linux ppc64le that uses a ppc64le-linux-gnu-to-ppc64le-linux-gnu-fedora27-gcc11.3.0
> devkit we observed those unwanted paths in libsplashscreen.so .
> See those objdump and ldd output :
> 
> objdump -x ./lib/libsplashscreen.so | grep PATH
>   RUNPATH /mydevkitsfolder/devkits/ppc64le-linux-gnu-to-ppc64le-linux-gnu-fedora27-gcc11.3.0/ppc64le-linux-gnu/sysroot/usr/lib64:$ORIGIN
> 
> 
> ldd ./lib/libsplashscreen.so
> ldd: warning: you do not have execution permission for `./lib/libsplashscreen.so'
>       . . .
>                libX11.so.6 => /mydevkitsfolder/devkits/ppc64le-linux-gnu-to-ppc64le-linux-gnu-fedora27-gcc11.3.0/ppc64le-linux-gnu/sysroot/usr/lib64/libX11.so.6 (0x00007fffa3920000)
>                libXext.so.6 => /mydevkitsfolder/devkits/ppc64le-linux-gnu-to-ppc64le-linux-gnu-fedora27-gcc11.3.0/ppc64le-linux-gnu/sysroot/usr/lib64/libXext.so.6 (0x00007fffa38e0000)
>    . . .
> 
> These paths were introduced by the '-R' setting, but it seems to be highly dependent on the environment.  But the '-R' setting should better be avoided anyway when the devkit is used.

Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:

  with_x case needs to be handled

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/15534/files
  - new: https://git.openjdk.org/jdk/pull/15534/files/9eb03929..1bed7a2e

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=15534&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15534&range=01-02

  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/15534.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15534/head:pull/15534

PR: https://git.openjdk.org/jdk/pull/15534


More information about the client-libs-dev mailing list