Problem with sableVM on AIX Platforms

"Manish.Sood" <[email protected]>
Newsgroups gmane.comp.java.vm.sablevm.general
Message-ID <B66A3B66A021B042A5D2933EDD6099B153CB6F@rsi-nod-mail01.india.rsystems.com>
Hi

I am trying to build SableVM 1.1.7 on AIX 5.1 running on an AIX box as follows:

	bash-2.05a# uname -a
	AIX :T 1 5 000C260F4C00
	bash-2.05a#
	bash-2.05a# uname -m
	000C260F4C00
	bash-2.05a#
	bash-2.05a# uname -p
	powerpc
	bash-2.05a# oslevel -r
	5100-01

	Processor Type:  PowerPC_POWER3 or PowerPC_POWER4
	Model Architecture: chrp

There are couple of issues that I had faced while building SableVM Classpath:

*	The default AIX Find does not support -regex option and thus the configure script does not work well. As a resolution, I had taken the GNU findutils for AIX.


*	Secondly, the code does not recognize the Endianess of the machine and throws an error in the native/fdlibm/ieeefp.h file stating "Endianess not declared!!" error. As a resolution I had added the following lines of code in the header file:

		#if (defined(_AIX) && _AIX)
		#define __IEEE_BIG_ENDIAN
		#endif

Though I am able to successfully build the libraries using the following configure command, can anyone confirm that this will not lead to problems as it seems the sableVM code does not support the AIX platforms.

./configure --prefix=/opt/seclient1                 \
             --enable-java                          \
             --with-jikes                           \
             --enable-jni                           \
             --disable-gtk-peer                     \
             --with-find=/usr/linux/bin/find        \
               CPPFLAGS=-I/opt/seclient1/include    \
               LDFLAGS=-L/opt/seclient1/lib  2>&1 | tee ../conf.out

Moreover the sableVM code also does not recognise the IBM architecture and gives problems with the Assembly code.

Regards
Manish Sood

Technical Manager
R Systems International Limited,
C-40, Sector 59, NOIDA, UP-201 307.

Tel: 0120-2587424-26 ext 225
Fax: 0120-2587123
Mob: 9810203931
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.