-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b89
-
sparc
-
solaris
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8142670 | emb-9 | Mikael Gerdin | P4 | Resolved | Fixed | team |
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.
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.
- backported by
-
JDK-8142670 Solaris/Sparc slowdebug build fails for memset_with_concurrent_readers.cpp
-
- Resolved
-