harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hindess <mark.hind...@googlemail.com>
Subject Re: [classlib][build] incorrect platform detection
Date Tue, 05 Dec 2006 08:01:57 GMT

On 5 December 2006 at 9:26, "Vladimir Ivanov" <ivavladimir@gmail.com> wrote:
> 
> nstdrlel1:/export/users/viv/trunk/cc/projects/classlib/trunk/make> uname -a
> Linux nstdrlel1 2.6.5-7.139-smp #1 SMP Fri Jan 14 15:41:33 UTC 2005 x86_64
> x86_64 x86_64 GNU/Linux
> 
> nstdrlel1:/export/users/viv/trunk/cc/projects/classlib/trunk/make> java
> -version
> java version "1.5.0_06"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
> Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode)

Is this a 64bit JRE?  If it is not, then I'd suggest trying one but
if you can't perhaps you could try adding -Dos.arch=x86_64 to the ant
command line.

-Mark.

> And 2 version of ant:
> nstdrlel1:/export/users/viv/trunk> ant -version
> Apache Ant version 1.6.5 compiled on June 2 2005
> 
> nstdrlel1:/export/users/viv/trunk/cc/projects/classlib/trunk/make> ant
> -version
> Apache Ant version 1.7.0RC1 compiled on November 5 2006
> 
> 
>  Thanks, Vladimir
> 
> On 12/4/06, Geir Magnusson Jr. <geir@pobox.com> wrote:
> >
> > What JVM are you using?  What version of linux?
> >
> >
> > geir
> >
> >
> > Vladimir Ivanov wrote:
> > > Hello,
> > > in order to exclude the DRLVM kernel tests on the x66_64 architecture I
> > > found that architecture on my system were detected incorrectly.
> > > Should we use more reliable mechanism to select architecture (external
> > > utils, for example)?
> > >
> > > My system is 64 bit according to 'uname' but 'i386' for ant:
> > >> uname -a
> > > Linux nstdrlel1 2.6.5-7.139-smp #1 SMP Fri Jan 14 15:41:33 UTC 2005
> > x86_64
> > > x86_64 x86_64 GNU/Linux
> > >> ant -f properties.xml
> > > Buildfile: properties.xml
> > >
> > > svn-prop:
> > >
> > > svn-info:
> > >
> > > echo:
> > >     [echo]
> > >     [echo] Harmony javac properties:
> > >     [echo]
> > >     [echo]   hy.javac.compiler = org.eclipse.jdt.core.JDTCompilerAdapter
> > >     [echo]   hy.javac.target = 1.5
> > >     [echo]   hy.javac.source = 1.5
> > >     [echo]   hy.javac.debug  = on
> > >     [echo]   hy.javac.maxmem = 384M
> > >     [echo]
> > >     [echo] Harmony test properties:
> > >     [echo]
> > >     [echo]     hy.test.forkmode = once
> > >     [echo]     hy.test.timeout = 900000
> > >     [echo]     hy.test.vm.name = ibm
> > >     [echo]     hy.test.vmargs =
> > >     [echo]
> > >     [echo] Harmony platform properties:
> > >     [echo]
> > >     [echo]   hy.os = linux
> > >     [echo]   hy.arch = x86
> > >     [echo]   hy.bits = 32
> > >     [echo]   hy.platform = linux.x86
> > >     [echo]   hy.platform.path = linux/x86
> > >     [echo]
> > >     [echo]   is.windows = ${is.windows }
> > >     [echo]   is.unix = true
> > >     [echo]   is.linux = true
> > >     [echo]   is.32bit = true
> > >     [echo]   is.64bit = ${is.64bit}
> > >     [echo]   is.x86 = true
> > >     [echo]   is.x86_64 = ${is.x86_64}
> > >     [echo]   is.ia64 = ${is.ia64}
> > >     [echo]
> > >     [echo]   exe.suffix =
> > >     [echo]   shlib.suffix = .so
> > >     [echo]   make.command = make
> > >     [echo]
> > >     [echo]   hy.hdk = ${hy.hdk}
> > >     [echo]   hy.cflags = -march=pentium3
> > >     [echo]   hy.arch.define = HYX86
> > >     [echo]
> > >     [echo]
> > >     [echo] The following property is only set if the "svn-prop" target
> > has
> > > been
> > >     [echo] called:
> > >     [echo]
> > >     [echo]   svn.revision = 482127
> > >     [echo]
> > >     [echo]
> > >     [echo] The following property is only set if the "svn-info" target
> > has
> > > been
> > >     [echo] called:
> > >     [echo]
> > >     [echo]   svn.info = https://svn.apache.org/repos/asf 482127
> > >     [echo]
> > >     [echo] Ant native properties, for information, but please use
> > Harmony
> > >     [echo] properties in preference to these:
> > >     [echo]
> > >     [echo]   os.name = Linux
> > >     [echo]   os.arch = i386
> > >     [echo]
> > >     [echo]
> > >
> > > BUILD SUCCESSFUL
> > > Total time: 2 seconds
> > >
> > > Thanks, Vladimir
> > >
> >
> 
> ------=_Part_541_27261691.1165289198496--
> 



Mime
View raw message