|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
CLisp ARMEL Cross Compile HelpHello,
I have been attempting to cross compile CLisp for the Nokia N810. Its an ARMEL processor and it runs Maemo 2008 (I've noticed that someone got CLisp compiled for the N800 which has an ARM processor). Im using Scratchbox Apophis R4, installed according to
http://maemo.org/development/sdks/maemo_4_0_chinook_sdk.html.
I have compiled using the recommendations in the http://clisp.cvs.sourceforge.net/*checkout*/clisp/clisp/unix/PLATFORMS
file and am running into this issue here (solving it is beyond my expertise)
"If you get an error message during the loading of the first 10 Lisp files,
during the construction of the first .mem file, check the choice of setjmp/longjmp functions in lispbibl.d." Any help is appreciated.
-Scott
Here's information related to the build, and a gdb trace. This build was without ffcall.
gcc -DNO_GENERATIONAL_GC -DSAFETY=3 -Igllib -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -DUNICODE -I. -x none spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o
control.o encoding.o pathname.o stream.o socket.o io.o array.o hashtabl.o list.o package.o record.o weak.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype.o symbol.o lisparit.o i18n.o unixaux.o built.o ariarm.o
gllib/uniwidth/width.o gllib/uniname/uniname.o gllib/localcharset.o modules.o /usr/local/lib/libreadline.a -lncurses -ldl -L/usr/local/lib -lsigsegv -lc -o lisp
.run
./lisp.run -B . -N locale -E 1:1 -Efile UTF-8 -Eterminal UTF-8 -norc -m 1800KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit)) (ext::exit t)" qemu: uncaught target signal 11 (Segmentation fault) - exiting make: *** [interpreted.mem] Error 126 [sbox-CHINOOK_ARMEL: /scratchbox/users/scott/code/clisp/clisp-2.43/src] > ./lisp.run --help GNU CLISP ( http://clisp.cons.org/) is an ANSI Common Lisp. Usage: ./lisp.run [options] [lispfile [argument ...]] When 'lispfile' is given, it is loaded and '*ARGS*' is set to the list of argument strings. Otherwise, an interactive read-eval-print loop is entered. Informative output: -h, --help - print this help and exit --version - print the version information --license - print the licensing information -help-image - print image-specific help and exit Memory image selection: [snipped] Here's a --with-debug AND --without-ffcall trace: This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-linux"... ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ clisp-devel mailing list clisp-devel@... https://lists.sourceforge.net/lists/listinfo/clisp-devel |
|
|
Re: CLisp ARMEL Cross Compile Help-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Scott Shebby wrote: | Hello, | | I have been attempting to cross compile CLisp for the Nokia N810. Its | an ARMEL processor and it runs Maemo 2008 (I've noticed that someone got | CLisp compiled for the N800 which has an ARM processor). Im using | Scratchbox Apophis R4, installed according to | http://maemo.org/development/sdks/maemo_4_0_chinook_sdk.html. | | I have compiled using the recommendations in the | http://clisp.cvs.sourceforge.net/*checkout*/clisp/clisp/unix/PLATFORMS | file and am running into this issue here (solving it is beyond my expertise) | | "If you get an error message during the loading of the first 10 Lisp files, | during the construction of the first .mem file, check the choice of | setjmp/longjmp functions in lispbibl.d." | | Any help is appreciated. you did not get as far as loading lisp. I think you need to start with oint_type_shift et al. look at lispbibl.d and change the appropriate macros. Sam. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHi8dkPp1Qsf2qnMcRAhAPAJ92sQ5EpkyXKiQG55zngKoGt1ZT0wCfdo6B O+kaJy5LTzqs9AYI/l9ue44= =nBWq -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ clisp-devel mailing list clisp-devel@... https://lists.sourceforge.net/lists/listinfo/clisp-devel |
| Free embeddable forum powered by Nabble | Forum Help |