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

solaris build fails with 5.8 compilers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • hs16
    • hs16
    • hotspot
    • b06
    • generic
    • generic

        Solaris builds with the CC 5.8 compilers (used for jdk6 update builds) fail while compiling adlc:

        Compiling /net/mykonos.sfbay/export/ws/hs/hotspot/src/share/vm/adlc/adlparse.cpp
        "/net/mykonos.sfbay/export/pub/SunOS-5-x86/SS11/prod/include/CC/Cstd/./ios", line 150: Error: std::ios::copyfmt hides the function std::ios_base::copyfmt(const std::ios_base&).
        "/net/mykonos.sfbay/export/pub/SunOS-5-x86/SS11/prod/include/CC/Cstd/./ostream", line 75: Where: While specializing "std::ios ".
        "/net/mykonos.sfbay/export/pub/SunOS-5-x86/SS11/prod/include/CC/Cstd/./ostream", line 75: Where: Specialized in std::ostream .
        "/net/mykonos.sfbay/export/pub/SunOS-5-x86/SS11/prod/include/CC/Cstd/./ostream", line 351: Where: Specialized in non-template code.
        "/net/mykonos.sfbay/export/pub/SunOS-5-x86/SS11/prod/include/CC/Cstd/./ios", line 150: Error: std::wios::copyfmt hides the function std::ios_base::copyfmt(const std::ios_base&).
        "/net/mykonos.sfbay/export/pub/SunOS-5-x86/SS11/prod/include/CC/Cstd/./ostream", line 75: Where: While specializing "std::wios ".
        "/net/mykonos.sfbay/export/pub/SunOS-5-x86/SS11/prod/include/CC/Cstd/./ostream", line 75: Where: Specialized in std::wostream .
        "/net/mykonos.sfbay/export/pub/SunOS-5-x86/SS11/prod/include/CC/Cstd/./ostream", line 354: Where: Specialized in non-template code.
        "/net/mykonos.sfbay/export/ws/hs/hotspot/src/share/vm/adlc/forms.hpp", line 140: Error: globals is defined but not used.
        "/net/mykonos.sfbay/export/ws/hs/hotspot/src/share/vm/adlc/forms.hpp", line 141: Error: globals is defined but not used.
        "/net/mykonos.sfbay/export/ws/hs/hotspot/src/share/vm/adlc/forms.hpp", line 422: Error: ptr is defined but not used.
        "/net/mykonos.sfbay/export/ws/hs/hotspot/src/share/vm/adlc/archDesc.hpp", line 381: Error: oper is defined but not used.
        "/net/mykonos.sfbay/export/ws/hs/hotspot/src/share/vm/adlc/archDesc.hpp", line 382: Error: opc is defined but not used.
        "/net/mykonos.sfbay/export/ws/hs/hotspot/src/share/vm/adlc/archDesc.hpp", line 383: Error: internal_name is defined but not used.
        "/net/mykonos.sfbay/export/ws/hs/hotspot/src/share/vm/adlc/archDesc.hpp", line 386: Error: inst is defined but not used.
        "/net/mykonos.sfbay/export/ws/hs/hotspot/src/share/vm/adlc/archDesc.hpp", line 388: Error: place is defined but not used.
        "/net/mykonos.sfbay/export/ws/hs/hotspot/src/share/vm/adlc/archDesc.hpp", line 388: Error: index is defined but not used.
        "/net/mykonos.sfbay/export/ws/hs/hotspot/src/share/vm/adlc/adlparse.cpp", line 1158: Error: native is defined but not used.
        "/net/mykonos.sfbay/export/ws/hs/hotspot/src/share/vm/adlc/adlparse.cpp", line 1163: Error: native is defined but not used.
        "/net/mykonos.sfbay/export/ws/hs/hotspot/src/share/vm/adlc/adlparse.cpp", line 1168: Error: native is defined but not used.
        "/net/mykonos.sfbay/export/ws/hs/hotspot/src/share/vm/adlc/adlparse.cpp", line 1173: Error: native is defined but not used.
        "/net/mykonos.sfbay/export/ws/hs/hotspot/src/share/vm/adlc/adlparse.cpp", line 2085: Error: statement is unreachable.
        "/net/mykonos.sfbay/export/ws/hs/hotspot/src/share/vm/adlc/adlparse.cpp", line 2979: Error: instr is defined but not used.
        "/net/mykonos.sfbay/export/ws/hs/hotspot/src/share/vm/adlc/adlparse.cpp", line 3014: Error: instr is defined but not used.
        18 Error(s) detected.
        gmake[2]: *** [../generated/adfiles/adlparse.o] Error 18

        $ CC -V
        CC: Sun C++ 5.8 2005/10/13

              twisti Christian Thalinger (Inactive)
              jcoomes John Coomes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: