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

Solaris/Sparc slowdebug build fails for memset_with_concurrent_readers.cpp

XMLWordPrintable

    • b89
    • sparc
    • solaris

        Solaris/Sparc slowdebug build fails for memset_with_concurrent_readers.cpp

        The file hotspot/src/cpu/sparc/vm/memset_with_concurrent_readers.cpp uses the extended asm syntax that is new in Solaris Studio 12. That file builds and works fine when compiled on Solaris/sparc for product or fastdebug. However, when compiled for slowdebug something goes badly wrong and we get a pretty much incomprehensible error message:

        Unexpected character in sparc4.c
        /scratch/cphillim/jdk9.bastore/hotspot/make/solaris/makefiles/rules.make:148: recipe for target 'memset_with_concurrent_readers_sparc.o' failed

        Adding -xO0 (or -xO[anything valid]) seems to work around the problem.

        It seems like there might be a Solaris Studio compiler bug here.

              mgerdin Mikael Gerdin (Inactive)
              kbarrett Kim Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: