Re: Porting to emscripten

Jason Miller <[email protected]>
Newsgroups gmane.lisp.clisp.devel
Message-ID <[email protected]>
Apparently current clang (3.2) which is required for emscripten cannot
build clisp;  I built clisp with clang a long time ago (2.7 or
so) so it must be a recentish bug.
On 11:33 Wed 30 Jan     , Sam Steingold wrote:
> > * Jason Miller <[email protected]> [2013-01-25 17:11:11 -0800]:
> >
> > With the message:
> >> *** - LET: variable DECLARATIONS has no value
> >
> > Any clues for how to start tracking this down?  My debugging facilities
> > are limited to
> >  1) modifying the lisp or C code
> >  2) generating a list of all C functions called
> >  3) generating a list of all branches taken and manually matching it up
> 
> you need to figure out which DECLARATIONS is void.
> edit init.lisp and replace all DECLARATIONS with DECLARATIONS-<LINE> so
> that the error message will tell you which variable in which form is
> actually undefined.
> 
> however, unless you modified init.lisp, this will lead you away from the
> problem because init.lisp works correctly on other platforms.
> 
> I think the problem is that emscripten mis-compiles control.d.
> (this will not be the first - and not the 10th either - time clisp has
> uncovered a bug in a C compiler).
> 
> -- 
> Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
> http://www.childpsy.net/ http://camera.org http://americancensorship.org
> http://memri.org http://www.PetitionOnline.com/tap12009/ http://pmw.org.il
> A man paints with his brains and not with his hands.
> 

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel
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.