[Kaffe] Port Kaffe to ARM, can't make

«HµØ xhhuang@csie.nctu.edu.tw
Mon Sep 1 04:38:03 2003


This is a multi-part message in MIME format.

------=_NextPart_000_001B_01C370C0.38990510
Content-Type: text/plain;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

Hi...I am a student ...
Now I am cross-compiling Kaffe1.1.0  to ARM-linux platform.
I set the configure option below, it can work, but I cannot make it
If someone had sloved it , please tell me , thank you!!

1.
CC=3Darm-linux-gcc NM=3Darm-linux-nm AR=3Darm-linux-ar
../kaffe-1.1.0/configure --host=3Darm-linux --build=3Di686-linux \
 --with-rt-jar=3D/tmp/rt.jar (according the FAQ.Cross-compiling on =
www.kaffe.org)
2.
make
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
.............
generating symbol list for `libnative.la'
arm-linux-nm  .libs/ByteToCharDefault.o .libs/ByteToCharIconv.o =
.libs/CharToByteDefault.o .libs/CharToByteIconv.o =
.libs/ObjectStreamClassImpl.o .libs/Application.o .libs/Class.o =
.libs/ClassLoader.o .libs/Compiler.o .libs/Double.o .libs/Float.o =
.libs/Math.o .libs/MemoryAdvice.o .libs/NativeLibrary.o .libs/Object.o =
.libs/PrimordialClassLoader.o .libs/RMIHashes.o .libs/Runtime.o =
.libs/String.o .libs/System.o .libs/Thread.o .libs/ThreadStack.o =
.libs/Throwable.o .libs/UNIXProcess.o .libs/ZipFile.o .libs/Array.o =
.libs/Constructor.o .libs/Field.o .libs/Method.o .libs/DateFormat.o =
.libs/TestNative.o .libs/Arrays.o  | sed -n -e 's/^.*[    =
]\([ABCDGISTW][ABCDGISTW]*\)[   ][      =
]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' | /bin/sed 's/.* //' | =
sort | uniq > .libs/libnative.exp
grep -E -e "^([Jj]ava|kaffe)_" ".libs/libnative.exp" > =
".libs/libnative.expT"
mv -f ".libs/libnative.expT" ".libs/libnative.exp"
arm-linux-gcc -shared  .libs/ByteToCharDefault.o .libs/ByteToCharIconv.o =
.libs/CharToByteDefault.o .libs/CharToByteIconv.o =
.libs/ObjectStreamClassImpl.o .libs/Application.o .libs/Class.o =
.libs/ClassLoader.o .libs/Compiler.o .libs/Double.o .libs/Float.o =
.libs/Math.o .libs/MemoryAdvice.o .libs/NativeLibrary.o .libs/Object.o =
.libs/PrimordialClassLoader.o .libs/RMIHashes.o .libs/Runtime.o =
.libs/String.o .libs/System.o .libs/Thread.o .libs/ThreadStack.o =
.libs/Throwable.o .libs/UNIXProcess.o .libs/ZipFile.o .libs/Array.o =
.libs/Constructor.o .libs/Field.o .libs/Method.o .libs/DateFormat.o =
.libs/TestNative.o .libs/Arrays.o  -lm  -Wl,-soname =
-Wl,libnative-1.1.0.so -Wl,-retain-symbols-file -Wl,.libs/libnative.exp =
-o .libs/libnative-1.1.0.so
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
make[2]: *** [libnative.la] Error 1
make[2]: Leaving directory =
`/home/mode/kaffe-1.1.0/libraries/clib/native'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mode/kaffe-1.1.0/libraries/clib'
make: *** [all-recursive] Error 1
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

------=_NextPart_000_001B_01C370C0.38990510
Content-Type: text/html;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dbig5">
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#a6caf0>
<DIV><FONT size=3D2>Hi...I am a student ...</FONT></DIV>
<DIV><FONT size=3D2>Now I am cross-compiling Kaffe1.1.0&nbsp; to =
ARM-linux=20
platform.</FONT></DIV>
<DIV><FONT size=3D2>I set the configure option below, it can work, but I =
cannot=20
make it</FONT></DIV>
<DIV><FONT size=3D2>If someone had sloved it , please tell me , thank=20
you!!</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>1.</FONT></DIV>
<DIV><FONT size=3D2>CC=3Darm-linux-gcc </FONT><FONT =
size=3D2>NM=3Darm-linux-nm=20
AR=3Darm-linux-ar</FONT></DIV>
<DIV><FONT size=3D2>../kaffe-1.1.0/configure --host=3Darm-linux =
--build=3Di686-linux=20
\<BR>&nbsp;--with-rt-jar=3D/tmp/rt.jar (according the =
FAQ.Cross-compiling&nbsp;on=20
<A href=3D"http://www.kaffe.org">www.kaffe.org</A>)</FONT></DIV>
<DIV><FONT size=3D2>2.</FONT></DIV>
<DIV><FONT size=3D2>make</FONT></DIV>
<DIV><FONT =
size=3D2>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D</FONT></DIV>
<DIV><FONT size=3D2>.............</FONT></DIV>
<DIV><FONT size=3D2>generating symbol list for=20
`libnative.la'<BR>arm-linux-nm&nbsp; .libs/ByteToCharDefault.o=20
.libs/ByteToCharIconv.o .libs/CharToByteDefault.o =
.libs/CharToByteIconv.o=20
.libs/ObjectStreamClassImpl.o .libs/Application.o .libs/Class.o=20
.libs/ClassLoader.o .libs/Compiler.o .libs/Double.o .libs/Float.o =
.libs/Math.o=20
.libs/MemoryAdvice.o .libs/NativeLibrary.o .libs/Object.o=20
.libs/PrimordialClassLoader.o .libs/RMIHashes.o .libs/Runtime.o =
.libs/String.o=20
.libs/System.o .libs/Thread.o .libs/ThreadStack.o .libs/Throwable.o=20
.libs/UNIXProcess.o .libs/ZipFile.o .libs/Array.o .libs/Constructor.o=20
.libs/Field.o .libs/Method.o .libs/DateFormat.o .libs/TestNative.o=20
.libs/Arrays.o&nbsp; | sed -n -e 's/^.*[&nbsp;&nbsp;&nbsp;=20
]\([ABCDGISTW][ABCDGISTW]*\)[&nbsp;&nbsp; =
][&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' | /bin/sed 's/.* //' | =
sort |=20
uniq &gt; .libs/libnative.exp<BR>grep -E -e "^([Jj]ava|kaffe)_"=20
".libs/libnative.exp" &gt; ".libs/libnative.expT"<BR>mv -f=20
".libs/libnative.expT" ".libs/libnative.exp"<BR>arm-linux-gcc =
-shared&nbsp;=20
.libs/ByteToCharDefault.o .libs/ByteToCharIconv.o =
.libs/CharToByteDefault.o=20
.libs/CharToByteIconv.o .libs/ObjectStreamClassImpl.o =
.libs/Application.o=20
.libs/Class.o .libs/ClassLoader.o .libs/Compiler.o .libs/Double.o =
.libs/Float.o=20
.libs/Math.o .libs/MemoryAdvice.o .libs/NativeLibrary.o .libs/Object.o=20
.libs/PrimordialClassLoader.o .libs/RMIHashes.o .libs/Runtime.o =
.libs/String.o=20
.libs/System.o .libs/Thread.o .libs/ThreadStack.o .libs/Throwable.o=20
.libs/UNIXProcess.o .libs/ZipFile.o .libs/Array.o .libs/Constructor.o=20
.libs/Field.o .libs/Method.o .libs/DateFormat.o .libs/TestNative.o=20
.libs/Arrays.o&nbsp; -lm&nbsp; -Wl,-soname -Wl,libnative-1.1.0.so=20
-Wl,-retain-symbols-file -Wl,.libs/libnative.exp -o=20
.libs/libnative-1.1.0.so<BR>collect2: ld terminated with signal 11 =
[Segmentation=20
fault], core dumped<BR>make[2]: *** [libnative.la] Error 1<BR>make[2]: =
Leaving=20
directory `/home/mode/kaffe-1.1.0/libraries/clib/native'<BR>make[1]: *** =

[all-recursive] Error 1<BR>make[1]: Leaving directory=20
`/home/mode/kaffe-1.1.0/libraries/clib'<BR>make: *** [all-recursive] =
Error=20
1<BR>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_001B_01C370C0.38990510--