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

Mahesh Pujari pujarimahesh_kumar at yahoo.com
Mon Apr 16 14:49:57 UTC 2012


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
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>
To: jdk8-dev at openjdk.java.net 
Cc: 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.

/Magnus

[1] http://openjdk.java.net/projects/build-infra/index.html
[2] http://openjdk.java.net/projects/build-infra/guide.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/build-dev/attachments/20120416/79ebebef/attachment.html>


More information about the build-dev mailing list