From: David W. <cw...@ui...> - 2003-11-20 09:20:46
|
Hi, I am trying to build and run Jikes RVM version 2.3.0.1 on AIX/PowerPC. The building process of the VM and GNU classpath was doing fine. However, when I run the VM, I got an error inside VM.boot (). The stacktrace is shown as follows. It seems that some symbols are not found inside JikesRVM. Is it a GCC/linker problem? FYI, I am using GCC version 2.95.2. I also have tried both the system ld and GNU ld and both linker give the same assertion error shown below. Are there any way to fix the problem? Thanks in advance. david JikesRVM: error loading library /home/ibmsp/cwong1/working/rvmBuild/libjavaio.a: 0509-130 Symbol resolution failed for /home/ibmsp/cwong1/working/rvmBuild/libjavaio.a because: 0509-136 Symbol __divdi3 (number 26) is not exported from dependent module JikesRVM. 0509-136 Symbol __eprintf (number 27) is not exported from dependent module JikesRVM. 0509-192 Examine .loader section symbols with the 'dump -Tv' command. error loading library: /home/ibmsp/cwong1/working/rvmBuild/libjavaio.a java.lang.UnsatisfiedLinkError at com.ibm.JikesRVM.VM_DynamicLibrary.<init>(VM_DynamicLibrary.java:47) at com.ibm.JikesRVM.classloader.VM_ClassLoader.load(VM_ClassLoader.java:82) at java.lang.Runtime.loadLibrary(Runtime.java:188) at java.lang.System.loadLibrary(System.java:665) at java.io.File.<clinit>(File.java:98) at com.ibm.JikesRVM.VM.runClassInitializer(VM.java:392) vm internal error at: -- Stack -- Lcom/ibm/JikesRVM/VM; sysFail(Ljava/lang/String;)V at line 966 Lcom/ibm/JikesRVM/VM; _assertionFailure(Ljava/lang/String;Ljava/lang/String;)V at line 460 Lcom/ibm/JikesRVM/VM; _assert(ZLjava/lang/String;Ljava/lang/String;)V at line 440 Lcom/ibm/JikesRVM/VM; _assert(ZLjava/lang/String;)V at line 431 Lcom/ibm/JikesRVM/VM; _assert(Z)V at line 420 Lcom/ibm/JikesRVM/VM_Thread; terminate()V at line 994 Lcom/ibm/JikesRVM/VM_Runtime; deliverException(Ljava/lang/Throwable;Lcom/ibm/JikesRVM/VM_Registers;)V at line 877 Lcom/ibm/JikesRVM/VM_Runtime; athrow(Ljava/lang/Throwable;)V at line 564 Lcom/ibm/JikesRVM/VM; runClassInitializer(Ljava/lang/String;)V at line 394 Lcom/ibm/JikesRVM/VM; boot()V at line 166 JikesRVM: exit 124 |
From: David P G. <gr...@us...> - 2003-11-20 16:18:42
|
Chris Hoffman has been fighting this problem with classpath 0.06 on AIX4.3. He may be able to give you a status update of how it is going. At watson we have gcc 3.2.3 on AIX 5.1 and haven't seen the problem. --dave |
From: Chris H. <hof...@cs...> - 2003-11-20 20:59:14
|
David P Grove wrote: > > Chris Hoffman has been fighting this problem with classpath 0.06 on > AIX4.3. He may be able to give you a status update of how it is > going. > > At watson we have gcc 3.2.3 on AIX 5.1 and haven't seen the problem. > > --dave I don't have a clear handle on what's going wrong either. At UMass we're using AIX 4.3 and gcc 2.95.2.1. Those symbols do seem to be defined and exported from libgcc.a. Since I couldn't see anything else wrong, I decided to upgrade our machine to gcc 3.2.3. The installation of gcc failed. it's probably not a coincidence, but it was in the module that implemented divdi3. Dave found the following tidbit: http://lists.gnupg.org/pipermail/gnupg-devel/2003-October/020466.html Unfortunately, I haven't managed to get that to work for me. I keep getting errors saying "Bootstrap comparison failure!" Chris -- Chris Hoffmann -- Dept. of Computer Science/UMass at Amherst http://www-ali.cs.umass.edu/~hoffmann |