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

信華 xhhuang at csie.nctu.edu.tw
Mon Sep 1 04:38:03 PDT 2003


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=arm-linux-gcc NM=arm-linux-nm AR=arm-linux-ar
../kaffe-1.1.0/configure --host=arm-linux --build=i686-linux \
 --with-rt-jar=/tmp/rt.jar (according the FAQ.Cross-compiling on www.kaffe.org)
2.
make
================================================
.............
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
=================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://kaffe.org/pipermail/kaffe/attachments/20030901/360b638b/attachment-0007.htm 


More information about the kaffe mailing list