openJDK7 build fails on 64bit cblfs linux

luxInteg lux-integ at btconnect.com
Tue Apr 19 15:16:00 UTC 2011


On Tuesday 19 April 2011 12:33:00 David Holmes wrote:
> luxInteg said the following on 04/19/11 21:16:
> > On Tuesday 19 April 2011 11:39:23 David Holmes wrote:
> >>  >   HOTSPOT_IMPORT_PATH = /SRS/openjdk/build/linux-amd64/hotspot/import
> >>  >   
> >>  >    ALT_HOTSPOT_IMPORT_PATH =
> >> 
> >> /SRS/openjdk/build/linux-amd64/hotspot/import
> >> 
> >> Have you any idea how/where these get set?
> > 
> > I  have no idea also.  The settings I made are given at the top of the
> > email I posted.   The downloaded zipped archive of openjdk is unzipped
> > in /SRS  all the   spew from the sanity checks  are generated
> > automatically.
> > 
> > ( just out of interest  I read a while ago some efforts  by one of the
> > Linux distribution companies  to use cmake (coupled with ant )  for  
> > their java efforts,  perhaps such a port of build system would be
> > helpful to openjdk7 )
> 
> So /SRS/openjdk is your source tree! It looks like the output directory
> is defaulting to be inside the source tree, presumably because your
> actual ALT_OUTPUTDIR is not set correctly? Try setting ALT_OUTPUTDIR to
> a reasonable path where you can write to.
> 
> David

I tried tha but it was not the problem.  I  eventually stumbled on  linkling 
/bin/test  to /usr/bin/test.  That seems to have made a difference and the 
build appears to have gone to completion ending as shown below.;-

#-------------------
>>>Making sec-files-win @ Tue Apr 19 15:39:23 BST 2011 ...
>>>Making jgss-files @ Tue Apr 19 15:39:23 BST 2011 ...
>>>Finished making images @ Tue Apr 19 15:39:23 BST 2011 ...
make[2]: Leaving directory `/SRS/openjdk/jdk/make'
########################################################################
##### Leaving jdk for target(s) sanity all docs images             #####
########################################################################
##### Build time 00:13:40 jdk for target(s) sanity all docs images #####
########################################################################

-- Build times ----------
Target all_product_build
Start 2011-04-19 15:13:27
End   2011-04-19 15:39:23
00:02:26 corba
00:07:53 hotspot
00:00:30 jaxp
00:00:34 jaxws
00:13:40 jdk
00:00:53 langtools
00:25:56 TOTAL

#-- an ls of the hotspot directory shows stuff therein

rt [ ~ ]# ls -l   /SRS/openjdk/build/linux-amd64/hotspot
total 8
drwxr-xr-x 6 rt  rt 4096 Apr 19 15:25 import
drwxr-xr-x 4 rt  rt 4096 Apr 19 15:25 outputdir
rt [ ~ ]# 
rt [ ~ ]# 
rt [ ~ ]# 
rt [ ~ ]# ls -l /SRS/openjdk/build/linux-amd64/hotspot/import
total 16
drwxr-xr-x 3 rt  rt 4096 Apr 19 15:25 docs
drwxr-xr-x 3 rt  rt 4096 Apr 19 15:25 include
drwxr-xr-x 3 rt  rt 4096 Apr 19 15:25 jre
drwxr-xr-x 2 rt  rt 4096 Apr 19 15:25 lib
rt [ ~ ]# 
rt [ ~ ]# ls -l /SRS/openjdk/build/linux-amd64/hotspot/outputdir
total 8
drwxr-xr-x 9 rt  rt 4096 Apr 19 15:17 linux_amd64_compiler2
drwxr-xr-x 2 rt  rt 4096 Apr 19 15:25 linux_amd64_docs
rt [ ~ ]# 


I need some guidance however  to intsall (to the filesystem)  these  with the 
j2sdk image, what to link  so programs like ant sees a jvm.




thanks so far and your (and others on list)  continued advice is much 
appreciated.

yours sincerely
luxInteg



More information about the build-dev mailing list