More non-clues. I did a make JOBS=1 LOG=debug, and then reproduced the
creation step with cut and paste:
/java/devtools/sparc/SUNWspro/SS12u1/prod/bin/CC -m64 -xarch=sparc
-library=%none -mt -G -norunpath -z noversion -M mapfile_extended -h libjvm.so
-o libjvm.so JvmOffsets.o (many lines omitted)
ld whined about the following things, and produced a libjvm.so that was not
understood by gobjcopy.
ld: warning: symbol '__JvmOffsets' has differing types:
(file JvmOffsets.o type=OBJT; file dtrace.o type=FUNC);
ld: warning: symbol 'CodeCache::_heap' has differing types:
(file codeCache.o type=OBJT; file dtrace.o type=FUNC);
ld: warning: symbol 'Universe::_collectedHeap' has differing types:
(file adaptiveSizePolicy.o type=OBJT; file dtrace.o type=FUNC);
ld: warning: symbol 'BufferBlob::__vtbl' has differing types:
(file codeBlob.o type=OBJT; file dtrace.o type=FUNC);
ld: warning: symbol 'Method::__vtbl' has differing types:
(file dtrace.o type=FUNC; file method.o type=OBJT);
ld: warning: symbol 'nmethod::__vtbl' has differing types:
(file dtrace.o type=FUNC; file nmethod.o type=OBJT);