harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <g...@pobox.com>
Subject Re: [classlib][build] incorrect platform detection
Date Tue, 05 Dec 2006 18:57:29 GMT


Vladimir Ivanov wrote:
> On 12/5/06, Mark Hindess <mark.hindess@googlemail.com> wrote:
>>
>>
>> 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.
> 
> 
> 
> I know about this property (it is impossible to build em64t build without
> it) and now I know that 64 bit JRE also helps. Thanks.
> 
> By the way, should it be mentioned somewhere in the documentation?

That you should use a 64bit JRE on a 64bit machine to do a 64 bit build? 
  yeah, I guess so - it's not obvious.

geir

> 
> 
> 
> thanks, Vladimir
> 
> 
> 
>> -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