<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div> > The file appears truncated so something went wrong creating it (or else <br> > one process was trying to write to it at the same time another process <br> > was trying to read?)</div><div><br></div><div>The file graphKit.o existed but with a size of zero.<br><br> > Can you see where graphKit.cpp was compiled? Was there any error <br> > indicator at that time?</div><div><br></div><div>When I looked into the compilation of graphKit.cpp, there were no such error, below are the lines taken from build.log (I am new to make and know little about thie env, I hope I am providing the right stuff, and as build.og)<br></div><div><br></div><div>CCACHE_COMPRESS=1 CCACHE_SLOPPINESS=time_macros /usr/bin/ccache /usr/lib/ccache/g++ -DLINUX -D_GNU_SOURCE -DIA32 -DASSERT -DFASTDEBUG -I.
-I/disk1/development/jdk/jdk8/jdk8/hotspot/src/share/vm/prims -I/disk1/development/jdk/jdk8/jdk8/hotspot/src/share/vm -I/disk1/development/jdk/jdk8/jdk8/hotspot/src/share/vm/precompiled -I/disk1/development/jdk/jdk8/jdk8/hotspot/src/cpu/x86/vm -I/disk1/development/jdk/jdk8/jdk8/hotspot/src/os_cpu/linux_x86/vm -I/disk1/development/jdk/jdk8/jdk8/hotspot/src/os/linux/vm -I/disk1/development/jdk/jdk8/jdk8/hotspot/src/os/posix/vm -I../generated -DHOTSPOT_RELEASE_VERSION="\"24.0-b07\"" -DHOTSPOT_BUILD_TARGET="\"fastdebug\"" -DHOTSPOT_BUILD_USER="\"mpujari\"" -DHOTSPOT_LIB_ARCH=\"i386\" -DHOTSPOT_VM_DISTRO="\"OpenJDK\"" -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_32 -DTARGET_OS_ARCH_linux_x86 -DTARGET_OS_ARCH_MODEL_linux_x86_32 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 -fPIC -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -m32 -march=i586 -pipe -O3 -fno-strict-aliasing -gstabs -DVM_LITTLE_ENDIAN
-DINCLUDE_TRACE -Werror -Wpointer-arith -Wsign-compare -c -MMD -MP -MF ../generated/dependencies/graphKit.o.d -o graphKit.o /disk1/development/jdk/jdk8/jdk8/hotspot/src/share/vm/opto/graphKit.cpp</div><div><br></div><div>after the statement above I can not see any errors, every thing looks fine.<br></div><div><br> > Can you make the build more verbose so that the actual link command can <br> > be seen - that would show whether the set of files being linked appears <br> > correct or not.<br></div><div><br></div><div>I hope the you were talking about the above log.<br></div><div><br> > If you delete graphKit.o and rebuild does the error disappear?</div><div>I deleted graphKit.o and did a rebuild but ended in the same error.</div><div><br></div><div>Please direct me if I am missing something.</div><div><br></div><div>thanks and regards,</div><div>Mahesh Pujari<br></div><div><br></div> <div
style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> David Holmes <david.holmes@oracle.com><br> <b><span style="font-weight: bold;">To:</span></b> Mahesh Pujari <pujarimahesh_kumar@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>; "jdk8-dev@openjdk.java.net" <jdk8-dev@openjdk.java.net>; "build-dev@openjdk.java.net" <build-dev@openjdk.java.net> <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, April 17, 2012 9:06 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: First build-infra push to jdk8 -- try out the new build system!<br> </font> </div> <br>
On 17/04/2012 12:48 PM, Mahesh Pujari wrote:<br>> Its not the issue with the disk space, I am sure of that.<br><br>The file appears truncated so something went wrong creating it (or else <br>one process was trying to write to it at the same time another process <br>was trying to read?)<br><br>Can you see where graphKit.cpp was compiled? Was there any error <br>indicator at that time?<br><br>Can you make the build more verbose so that the actual link command can <br>be seen - that would show whether the set of files being linked appears <br>correct or not.<br><br>If you delete graphKit.o and rebuild does the error disappear?<br><br>David<br>-----<br><br>> Mahesh Pujari<br>><br>> ------------------------------------------------------------------------<br>> *From:* David Holmes <<a ymailto="mailto:david.holmes@oracle.com" href="mailto:david.holmes@oracle.com">david.holmes@oracle.com</a>><br>> *To:* Mahesh Pujari <<a
ymailto="mailto:pujarimahesh_kumar@yahoo.com" href="mailto:pujarimahesh_kumar@yahoo.com">pujarimahesh_kumar@yahoo.com</a>><br>> *Cc:* Magnus Ihse Bursie <<a ymailto="mailto:magnus.ihse.bursie@oracle.com" href="mailto:magnus.ihse.bursie@oracle.com">magnus.ihse.bursie@oracle.com</a>>;<br>> "<a ymailto="mailto:jdk8-dev@openjdk.java.net" href="mailto:jdk8-dev@openjdk.java.net">jdk8-dev@openjdk.java.net</a>" <<a ymailto="mailto:jdk8-dev@openjdk.java.net" href="mailto:jdk8-dev@openjdk.java.net">jdk8-dev@openjdk.java.net</a>>;<br>> "<a ymailto="mailto:build-dev@openjdk.java.net" href="mailto:build-dev@openjdk.java.net">build-dev@openjdk.java.net</a>" <<a ymailto="mailto:build-dev@openjdk.java.net" href="mailto:build-dev@openjdk.java.net">build-dev@openjdk.java.net</a>><br>> *Sent:* Tuesday, April 17, 2012 7:02 AM<br>> *Subject:* Re: First build-infra push to jdk8 -- try out the new build<br>> system!<br>><br>> On
17/04/2012 12:49 AM, Mahesh Pujari wrote:<br>> > I used the new build system to build on windows and Linux (32 bit<br>> binary). On Windows, I was able to sucessfully build with out any issues<br>> (release only, haven't build with debug), and on Linux<br>> (3.3.0-4.fc16.i686) I was able to build clientAndServer release<br>> succesfully, but when I tried to build with clientAndServer debug I<br>> ended up with below error, I am missing any config which is needed for<br>> debug build.<br>> ><br>> > Compiling<br>> /disk1/development/jdk/jdk8/jdk8/hotspot/src/share/vm/utilities/yieldingWorkgroup.cpp<br>> > Making signal interposition lib...<br>> > Making SA debugger back-end...<br>> > Compiling<br>> /disk1/development/jdk/jdk8/jdk8/hotspot/src/share/vm/runtime/vm_version.cpp<br>> > Linking vm...<br>> > graphKit.o: file not recognized:
File truncated<br>><br>> You didn't happen to run out of disk space during the compile did you?<br>><br>> David<br>><br>> > collect2: ld returned 1 exit status<br>> > /usr/bin/chcon: cannot access `libjvm.so'ERROR: Cannot chcon libjvm.so<br>> > : No such file or directory<br>> > /usr/bin/objcopy: 'libjvm.so': No such file<br>> > make[5]: *** [libjvm.so] Error 1<br>> > make[4]: *** [the_vm] Error 2<br>> > make[3]: *** [fastdebug] Error 2<br>> > make[2]: *** [generic_build2] Error 2<br>> > make[1]: *** [fastdebug] Error 2<br>> ><br>> > thanks and regards,<br>> > Mahesh Pujari<br>> ><br>> ><br>> ><br>> ><br>> > ________________________________<br>> > From: Magnus Ihse Bursie<<a ymailto="mailto:magnus.ihse.bursie@oracle.com"
href="mailto:magnus.ihse.bursie@oracle.com">magnus.ihse.bursie@oracle.com</a><br>> <mailto:<a ymailto="mailto:magnus.ihse.bursie@oracle.com" href="mailto:magnus.ihse.bursie@oracle.com">magnus.ihse.bursie@oracle.com</a>>><br>> > To: <a ymailto="mailto:jdk8-dev@openjdk.java.net" href="mailto:jdk8-dev@openjdk.java.net">jdk8-dev@openjdk.java.net</a> <mailto:<a ymailto="mailto:jdk8-dev@openjdk.java.net" href="mailto:jdk8-dev@openjdk.java.net">jdk8-dev@openjdk.java.net</a>><br>> > Cc: <a ymailto="mailto:build-dev@openjdk.java.net" href="mailto:build-dev@openjdk.java.net">build-dev@openjdk.java.net</a> <mailto:<a ymailto="mailto:build-dev@openjdk.java.net" href="mailto:build-dev@openjdk.java.net">build-dev@openjdk.java.net</a>><br>> > Sent: Thursday, April 12, 2012 3:17 PM<br>> > Subject: First build-infra push to jdk8 -- try out the new build system!<br>> ><br>> >
The build-infra project [1] has been working for a while with<br>> creating a new build system. The goals of the project include, but are<br>> not limited to, improved build performance and improved ease of use.<br>> ><br>> > The first part of this project has now been pushed to the jdk8 master<br>> forest. This means that the new build system is available for you to try<br>> out! The old build system is still there, and if you want to continue to<br>> use it, you will notice no difference (for now...).<br>> ><br>> > But if you are interested in trying the new build system, we welcome<br>> you to experiment with it! The basic operation is:<br>> > cd common/makefiles<br>> > ../autoconf/configure<br>> > make<br>> ><br>> > More information is available in the new build README [2]. If you<br>> want to try the new build system,
please read it first.<br>> ><br>> > Please note that the new build system is not yet complete. We do not<br>> yet have full platform support, nor are all parts of the old build<br>> converted (but then we fall back on the old build system), and there are<br>> likely to be bugs. Most of all, we need to have exposure on a wide range<br>> of different build systems, since the reality is always so much messier<br>> than you'd want to believe. :-) Please help us to resolve such issues<br>> early by trying the new build system!<br>> ><br>> > Any questions or discussions on the new build system should be sent<br>> to <a ymailto="mailto:build-dev@openjdk.java.net" href="mailto:build-dev@openjdk.java.net">build-dev@openjdk.java.net</a> <mailto:<a ymailto="mailto:build-dev@openjdk.java.net" href="mailto:build-dev@openjdk.java.net">build-dev@openjdk.java.net</a>>.<br>>
><br>> > /Magnus<br>> ><br>> > [1] <a href="http://openjdk.java.net/projects/build-infra/index.html" target="_blank">http://openjdk.java.net/projects/build-infra/index.html</a><br>> > [2] <a href="http://openjdk.java.net/projects/build-infra/guide.html" target="_blank">http://openjdk.java.net/projects/build-infra/guide.html</a><br>><br>><br><br><br> </div> </div> </div></body></html>