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

Launcher mapfile fails linking with SS12u4

    Details

    • Subcomponent:
    • Resolved In Build:
      b61
    • CPU:
      x86_64, sparc_64
    • OS:
      solaris

      Backports

        Description

        When building with Solaris Studio 12u4, linking of unpack200 and the java launchers fails.

        This here is the failure for unpack200:

        Undefined first referenced
         symbol in file
        __environ_lock /net/sthserver02/share/sundevtools/devtools/i586/devkit/SS12u4-Solaris11u1/SS12u4-slim/lib/compilers/amd64/crt1x.o (symbol has no version assigned)
        ___Argv /net/sthserver02/share/sundevtools/devtools/i586/devkit/SS12u4-Solaris11u1/SS12u4-slim/lib/compilers/amd64/crt1x.o (symbol has no version assigned)
        __xargv /net/sthserver02/share/sundevtools/devtools/i586/devkit/SS12u4-Solaris11u1/SS12u4-slim/lib/compilers/amd64/crt1x.o (symbol has no version assigned)
        __xargc /net/sthserver02/share/sundevtools/devtools/i586/devkit/SS12u4-Solaris11u1/SS12u4-slim/lib/compilers/amd64/crt1x.o (symbol has no version assigned)
        _start /net/sthserver02/share/sundevtools/devtools/i586/devkit/SS12u4-Solaris11u1/SS12u4-slim/lib/compilers/amd64/crt1x.o (symbol has no version assigned)
        __longdouble_used /net/sthserver02/share/sundevtools/devtools/i586/devkit/SS12u4-Solaris11u1/SS12u4-slim/lib/compilers/amd64/crt1x.o (symbol has no version assigned)
        _lib_version /net/sthserver02/share/sundevtools/devtools/i586/devkit/SS12u4-Solaris11u1/SS12u4-slim/lib/compilers/amd64/values-xa.o (symbol has no version assigned)
        _environ /net/sthserver02/share/sundevtools/devtools/i586/devkit/SS12u4-Solaris11u1/SS12u4-slim/lib/compilers/amd64/crt1x.o (symbol has no version assigned)
        ld: fatal: symbol referencing errors. No output written to /opt/jprt/jprtadm/erik/jdk9-dev/build/SS12u4-Solaris11u1/support/modules_cmds/jdk.pack200/unpack200
        gmake[3]: *** [/opt/jprt/jprtadm/erik/jdk9-dev/build/SS12u4-Solaris11u1/support/modules_cmds/jdk.pack200/unpack200] Error 2
        Launcher-jdk.pack200.gmk:73: recipe for target '/opt/jprt/jprtadm/erik/jdk9-dev/build/SS12u4-Solaris11u1/support/modules_cmds/jdk.pack200/unpack200' failed
        make/Main.gmk:179: recipe for target 'jdk.pack200-launchers' failed
        gmake[2]: *** [jdk.pack200-launchers] Error 1
        gmake[2]: *** Waiting for unfinished jobs....
        gmake[1]: *** [main] Error 1
        gmake: *** [default] Error 2


        And for a launcher:

        Undefined first referenced
         symbol in file
        ___Argv /net/sthserver02/share/sundevtools/devtools/i586/devkit/SS12u4-Solaris11u1/SS12u4-slim/lib/compilers/amd64/crt1x.o (symbol has no version assigned)
        __xargv /net/sthserver02/share/sundevtools/devtools/i586/devkit/SS12u4-Solaris11u1/SS12u4-slim/lib/compilers/amd64/crt1x.o (symbol has no version assigned)
        __xargc /net/sthserver02/share/sundevtools/devtools/i586/devkit/SS12u4-Solaris11u1/SS12u4-slim/lib/compilers/amd64/crt1x.o (symbol has no version assigned)
        _start /net/sthserver02/share/sundevtools/devtools/i586/devkit/SS12u4-Solaris11u1/SS12u4-slim/lib/compilers/amd64/crt1x.o (symbol has no version assigned)
        __longdouble_used /net/sthserver02/share/sundevtools/devtools/i586/devkit/SS12u4-Solaris11u1/SS12u4-slim/lib/compilers/amd64/crt1x.o (symbol has no version assigned)
        _lib_version /net/sthserver02/share/sundevtools/devtools/i586/devkit/SS12u4-Solaris11u1/SS12u4-slim/lib/compilers/amd64/values-xa.o (symbol has no version assigned)
        ld: fatal: symbol referencing errors. No output written to /opt/jprt/jprtadm/erik/jdk9-dev/build/SS12u4-Solaris11u1/support/native/java.base/java_objs/java
        Launcher-java.base.gmk:33: recipe for target '/opt/jprt/jprtadm/erik/jdk9-dev/build/SS12u4-Solaris11u1/support/native/java.base/java_objs/java' failed
        gmake[3]: *** [/opt/jprt/jprtadm/erik/jdk9-dev/build/SS12u4-Solaris11u1/support/native/java.base/java_objs/java] Error 2
        make/Main.gmk:179: recipe for target 'java.base-launchers' failed
        gmake[2]: *** [java.base-launchers] Error 1
        gmake[1]: *** [main] Error 1
        gmake: *** [default] Error 2


        It seems that to fix this, these symbols need to be added to the mapfiles.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  erikj Erik Joelsson
                  Reporter:
                  erikj Erik Joelsson
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: