First build-infra push to jdk8 -- try out the new build system!

David Holmes david.holmes at oracle.com
Tue Apr 17 03:36:50 UTC 2012


On 17/04/2012 12:48 PM, Mahesh Pujari wrote:
> Its not the issue with the disk space, I am sure of that.

The file appears truncated so something went wrong creating it (or else 
one process was trying to write to it at the same time another process 
was trying to read?)

Can you see where graphKit.cpp was compiled? Was there any error 
indicator at that time?

Can you make the build more verbose so that the actual link command can 
be seen - that would show whether the set of files being linked appears 
correct or not.

If you delete graphKit.o and rebuild does the error disappear?

David
-----

> Mahesh Pujari
>
> ------------------------------------------------------------------------
> *From:* David Holmes <david.holmes at oracle.com>
> *To:* Mahesh Pujari <pujarimahesh_kumar at yahoo.com>
> *Cc:* Magnus Ihse Bursie <magnus.ihse.bursie at oracle.com>;
> "jdk8-dev at openjdk.java.net" <jdk8-dev at openjdk.java.net>;
> "build-dev at openjdk.java.net" <build-dev at openjdk.java.net>
> *Sent:* Tuesday, April 17, 2012 7:02 AM
> *Subject:* Re: First build-infra push to jdk8 -- try out the new build
> system!
>
> On 17/04/2012 12:49 AM, Mahesh Pujari wrote:
>  > I used the new build system to build on windows and Linux (32 bit
> binary). On Windows, I was able to sucessfully build with out any issues
> (release only, haven't build with debug), and on Linux
> (3.3.0-4.fc16.i686) I was able to build clientAndServer release
> succesfully, but when I tried to build with clientAndServer debug I
> ended up with below error, I am missing any config which is needed for
> debug build.
>  >
>  > Compiling
> /disk1/development/jdk/jdk8/jdk8/hotspot/src/share/vm/utilities/yieldingWorkgroup.cpp
>  > Making signal interposition lib...
>  > Making SA debugger back-end...
>  > Compiling
> /disk1/development/jdk/jdk8/jdk8/hotspot/src/share/vm/runtime/vm_version.cpp
>  > Linking vm...
>  > graphKit.o: file not recognized: File truncated
>
> You didn't happen to run out of disk space during the compile did you?
>
> David
>
>  > collect2: ld returned 1 exit status
>  > /usr/bin/chcon: cannot access `libjvm.so'ERROR: Cannot chcon libjvm.so
>  > : No such file or directory
>  > /usr/bin/objcopy: 'libjvm.so': No such file
>  > make[5]: *** [libjvm.so] Error 1
>  > make[4]: *** [the_vm] Error 2
>  > make[3]: *** [fastdebug] Error 2
>  > make[2]: *** [generic_build2] Error 2
>  > make[1]: *** [fastdebug] Error 2
>  >
>  > thanks and regards,
>  > Mahesh Pujari
>  >
>  >
>  >
>  >
>  > ________________________________
>  > From: Magnus Ihse Bursie<magnus.ihse.bursie at oracle.com
> <mailto:magnus.ihse.bursie at oracle.com>>
>  > To: jdk8-dev at openjdk.java.net <mailto:jdk8-dev at openjdk.java.net>
>  > Cc: build-dev at openjdk.java.net <mailto:build-dev at openjdk.java.net>
>  > Sent: Thursday, April 12, 2012 3:17 PM
>  > Subject: First build-infra push to jdk8 -- try out the new build system!
>  >
>  > The build-infra project [1] has been working for a while with
> creating a new build system. The goals of the project include, but are
> not limited to, improved build performance and improved ease of use.
>  >
>  > The first part of this project has now been pushed to the jdk8 master
> forest. This means that the new build system is available for you to try
> out! The old build system is still there, and if you want to continue to
> use it, you will notice no difference (for now...).
>  >
>  > But if you are interested in trying the new build system, we welcome
> you to experiment with it! The basic operation is:
>  > cd common/makefiles
>  > ../autoconf/configure
>  > make
>  >
>  > More information is available in the new build README [2]. If you
> want to try the new build system, please read it first.
>  >
>  > Please note that the new build system is not yet complete. We do not
> yet have full platform support, nor are all parts of the old build
> converted (but then we fall back on the old build system), and there are
> likely to be bugs. Most of all, we need to have exposure on a wide range
> of different build systems, since the reality is always so much messier
> than you'd want to believe. :-) Please help us to resolve such issues
> early by trying the new build system!
>  >
>  > Any questions or discussions on the new build system should be sent
> to build-dev at openjdk.java.net <mailto:build-dev at openjdk.java.net>.
>  >
>  > /Magnus
>  >
>  > [1] http://openjdk.java.net/projects/build-infra/index.html
>  > [2] http://openjdk.java.net/projects/build-infra/guide.html
>
>



More information about the build-dev mailing list