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

Cleanup compile/link warnings on Solaris

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • core-libs
    • b59
    • solaris

        The Solaris build generates warnings about missing entry points mentioned in the reorder-sparc* files.
        A compiler can be removed by cleaning up the code.

        ld: warning: mapfile: text segment: section '.text%init64IO' does not appear in mapfile specified input file(s)
        ld: warning: mapfile: text segment: section '.text%Java_java_lang_Float_floatToIntBits' does not appear in any input file
        ld: warning: mapfile: text segment: section '.text%Java_java_lang_Double_doubleToLongBits' does not appear in any input file
        ld: warning: mapfile: text segment: section '.text%Java_java_lang_ClassLoader_findLoadedClass' does not appear in any input file
        ld: warning: mapfile: text segment: section '.text%Java_java_io_FileSystem_getFileSystem' does not appear in any input file
        ld: warning: mapfile: text segment: section '.text%Java_java_io_UnixFileSystem_canonicalize' does not appear in any input file
        ld: warning: mapfile: text segment: section '.text%Java_java_lang_Compiler_registerNatives' does not appear in any input file
        ld: warning: mapfile: text segment: section '.text%statMode' does not appear in mapfile specified input file(s)
        ld: warning: mapfile: text segment: section '.text%Java_java_lang_Shutdown_halt' does not appear in any input file
        ld: warning: mapfile: text segment: section '.text%Java_java_util_prefs_FileSystemPreferences_lockFile0' does not appear in any input file
        ld: warning: mapfile: text segment: section '.text%Java_java_util_prefs_FileSystemPreferences_unlockFile0' does not appear in any input file
        ld: warning: mapfile: text segment: section '.text%readLOC' does not appear in mapfile specified input file(s)
        ld: warning: mapfile: text segment: section '.text%huft_build' does not appear in mapfile specified input file(s)

        /scratch/rriggs/ws/jdk9-dev/jdk/src/java.base/unix/native/libjava/jni_util_md.c", line 60: warning: declaration can not follow a statement
        "/scratch/rriggs/ws/jdk9-dev/jdk/src/java.base/unix/native/libjava/jni_util_md.c", line 61: warning: declaration can not follow a statement

              rriggs Roger Riggs
              rriggs Roger Riggs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: