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

Error while building JDK6 linux-amd64 build on new environment (Suse SLES 11 with rpm ver 4.4.2.3)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P2 P2
    • None
    • 6u71
    • client-libs
    • None
    • b06
    • linux_suse_sles_11

      Hotspot error coming while building JDK6 linux-amd64 build on new environment (Suse SLES 11 with rpm ver 4.4.2.3). See log below
      Old build environment was Suse SLES 8 with rpm version 3.0.6. By request from Pranav and by new requirements (see bug https://bugs.openjdk.java.net/browse/JDK-8002291) rpm version should be grater then 4.

      Machine used: SUSE Linux Enterprise Server 11 SP1 (x86_64) - Kernel
      Linux version 2.6.32.12-0.7-xen (geeko@buildhost) (gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux) ) #1 SMP 2010-05-20 11:14:20 +0200

      rpm --version
      RPM version 4.4.2.3

      rpm -qa | grep alsa
      alsa-1.0.18-16.9.29
      alsa-plugins-pulse-1.0.18-7.5
      alsa-plugins-1.0.18-7.5
      alsa-utils-1.0.18-6.32
      alsa-lib-devel-0.9.8-amd64
      alsa-oss-32bit-1.0.17-1.15
      alsa-oss-1.0.17-1.15

      Log error:
      .................................................................

      Linking vm...
      /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot open output file libjvm.so: Too many levels of symbolic links
      collect2: ld returned 1 exit status
      ln: accessing `libjvm.so.1': Too many levels of symbolic links
      gnumake[5]: stat: libjvm.so: Too many levels of symbolic links
      echo Linking launcher...
      Linking launcher...
      gcc -m64 -Xlinker -O1 -m64 -export-dynamic -L `pwd` -o gamma launcher/java_md.o launcher/wildcard.o launcher/java.o launcher/jli_util.o -ljvm -lm -ldl -lpthread
      /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -ljvm
      collect2: ld returned 1 exit status
      gnumake[5]: *** [gamma] Error 1
      gnumake[5]: Leaving directory `/BUILD_AREA/jdk6_75/control/build/linux-amd64/hotspot/outputdir/linux_amd64_compiler2/product'
      gnumake[4]: *** [the_vm] Error 2
      gnumake[4]: Leaving directory `/BUILD_AREA/jdk6_75/control/build/linux-amd64/hotspot/outputdir/linux_amd64_compiler2/product'
      gnumake[3]: *** [product] Error 2
      gnumake[3]: Leaving directory `/BUILD_AREA/jdk6_75/control/build/linux-amd64/hotspot/outputdir'
      gnumake[2]: *** [generic_build2] Error 2
      gnumake[2]: Leaving directory `/BUILD_AREA/jdk6_75/hotspot/make'
      gnumake[1]: *** [product] Error 2
      gnumake[1]: Leaving directory `/BUILD_AREA/jdk6_75/hotspot/make'
      gnumake: *** [hotspot-build] Error 2

            scfitch Stephen Fitch
            sergei Sergei Sapozhnikov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: