linking libjvm.so failed because "cmsLockVerifier.o: file not recognized: File truncated"
Jovi Zhang
bookjovi at gmail.com
Mon Oct 17 02:59:21 PDT 2011
Hi,
When I link libjvm.so, it report "cmsLockVerifier.o: file not
recognized: File truncated".
So I checked the object file, then I found below:
[root at localhost fastdebug]# pwd
/root/Hotspot/hotspot/build/linux/linux_i486_compiler1/fastdebug
[root at localhost fastdebug]# file *|grep empty
cmsLockVerifier.o: empty
cmsPermGen.o: empty
[root at localhost fastdebug]# gcc --version
gcc (GCC) 4.4.2 20091027 (Red Hat 4.4.2-7)
[root at localhost fastdebug]# uname -a
Linux localhost.localdomain 3.1.0-rc2+ #1 SMP Fri Aug 12 08:43:42 CST
2011 i686 i686 i386 GNU/Linux
Obviously, cmsLockVerifier.cpp compiled successful, but I don't
know why its content is empty.
Is anybody also encounter this problem?
The code is lastest hotspot code download from openjdk website,
and I use command "make ALT_BOOTDIR=/usr/lib/jvm/java-1.6.0-openjdk"
.jovi
More information about the hotspot-dev
mailing list