George Harley1 wrote:
Hi Jean-Frederic,
My understanding is that while huge TLB pages support was new in the 2.6
kernel it was made available as a backport in the RHEL3 2.4 kernel. Not
sure if this also made it into the 2.4 kernel for SuSE 8.1. Might be
worthwhile checking the documentation for your distribution.
for info: huge TLB pages support has not (yet) been backported to the
2.4 kernels of www.kernel.org.
Best regards,
George
George Harley1/UK/[EMAIL PROTECTED]
09/11/2005 23:54
Please respond to
harmony-dev@incubator.apache.org
To
harmony-dev@incubator.apache.org
cc
Subject
Re: Code contribution to harmony
Hi Jean-Frederic,
It sounds like you do not have a compatible VM to run with (i.e. a VM that
implements the proposed interface to the class libraries). As mentioned by
Tim the other day you can obtain one from the IBM developerWorks site at
http://www.ibm.com/developerworks/java/jdk/harmony
If you unzip the archive from the above link into the same directory that
you unzipped the code contribution to then the current problem should be
sorted. Note that the VM is not part of the code contribution and is only
available in binary form under an evaluation license.
Hope this helps,
George
Jean-frederic Clere <[EMAIL PROTECTED]>
09/11/2005 22:56
Please respond to
harmony-dev@incubator.apache.org
To
harmony-dev@incubator.apache.org
cc
Subject
Re: Code contribution to harmony
Tim Ellison wrote:
Jean-frederic Clere wrote:
Note when doing ant I get the following:
+++
cc -fpic -DLINUX -D_REENTRANT -O1 -march=pentium3
-DIPv6_FUNCTION_SUPPORT -DHYX86 -DHYPORT_LIBRARY_DEFINE
-I../include -c -o hyvmem.o hyvmem.c
hyvmem.c: In function `hyvmem_reserve_memory':
hyvmem.c:311: `SHM_HUGETLB' undeclared (first use in this function)
hyvmem.c:311: (Each undeclared identifier is reported only once
hyvmem.c:311: for each function it appears in.)
make[1]: Leaving directory
`/home/jfclere/harmony/Harmony/native-src/linux.IA32/port'
make[1]: *** [hyvmem.o] Error 1
make: *** [_port] Error 2
+++
So the requirements on Linux are a 2.6.x kernel, aren't they?
No, should work ok on 2.4 (e.g. RHEL3) What are you compiling on?
Suse 8.1:
+++
[EMAIL PROTECTED]:~/harmony/Harmony> more /etc/SuSE-release
SuSE Linux 8.1 (i386)
VERSION = 8.1
+++
I have added:
#define SHM_HUGETLB 04000 /* segment will use huge TLB pages */
in native-src/linux.IA32/port/hyvmem.c to work-round the problem.
The next problem is:
+++
[EMAIL PROTECTED]:~/harmony/Harmony> ./deploy/jre/bin/java --help
Failed to open JVM DLL:
/home/jfclere/harmony/Harmony/deploy/jre/bin/default/clearvm
(/home/jfclere/harmony/Harmony/deploy/jre/bin/default/libclearvm.so:
cannot open shared object file: No such file or directory)
+++
The platforms we are using include:
- Red Hat EL3 Update 5
- Red Hat EL4 Update 1
- SLES 9 SP1
(on Pentium III, Pentium 4, and Pentium Xeon processors).
Regards,
Tim
Cheers
Jean-Frederic