New build, gobjcopy failure, any clues?
David Holmes
david.holmes at oracle.com
Wed Mar 27 02:40:10 UTC 2013
On 27/03/2013 2:33 AM, David Chase wrote:
> I think I'm doing a vanilla new-build, but obviously I'm not, because it fails.
> What should I be looking for?
Official build platform is Solaris 10 and we use gobjcopy version "GNU
objcopy 2.15".
Your 2.19 version may not have the right support built-in. What
supported platforms does it report?
2.15 reports:
gobjcopy: supported targets: elf32-sparc elf64-sparc a.out-sunos-big
elf64-little elf64-big elf32-little elf32-big srec symbolsrec tekhex
binary ihex
David
> the failure:
>
> Linking vm...
> 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);
> Opening 'libjvm.so' for update
> No SHF_ALLOC flags needed to be cleared.
> Done with 'libjvm.so'
> /usr/ccs/bin/gobjcopy:libjvm.so: File format not recognized
> ...
>
> the offending file:
>
> file ./hotspot/solaris_sparcv9_compiler2/product/libjvm.so
> ./hotspot/solaris_sparcv9_compiler2/product/libjvm.so: ELF 64-bit MSB dynamic lib SPARCV9 Version 1, dynamically linked, not stripped
>
>
> configuration summary:
>
> Configuration summary:
> * Debug level: release
> * JDK variant: normal
> * JVM variants: server
> * OpenJDK target: OS: solaris, CPU architecture: sparc, address length: 64
>
> Tools summary:
> * Boot JDK: java version "1.8.0-ea" Java(TM) SE Runtime Environment (build 1.8.0-ea-b82) Java HotSpot(TM) Server VM (build 25.0-b23, mixed mode) (at /export/drchase/jdk8)
> * C Compiler: Sun Studio version 5.10 (at /java/devtools/sparc/SUNWspro/SS12u1/prod/bin/cc)
> * C++ Compiler: Sun Studio version 5.10 (at /java/devtools/sparc/SUNWspro/SS12u1/prod/bin/CC)
>
>
More information about the build-dev
mailing list