Roger Sen Montero | 22 Apr 15:27 2015
Picon

Is anywhere from where I can downloaded ecl for Windows?

Hi guys,

 want to do a quick test in windows (not my standard platform) from where I can download a CL compiled binary for Windows?

--
Roger Sen Montero
roger.sen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
+34 649 975 570
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Ecls-list mailing list
Ecls-list@...
https://lists.sourceforge.net/lists/listinfo/ecls-list
田中慎一 | 22 Apr 14:31 2015
Picon

Cannot specify external-format

Hi,


I cannot specify external-format (for example "(:crlf :cp932)") on my environment.

I want to write string to file with some encoding. So I type in my REPL like this:

(with-open-file (out "test.txt"
                 :direction :output
                 :external-format '(:crlf ext:cp932))
  (write-string "some string" out))

Then invoked debugger and it shows that:

The function EXT:MAKE-ENCODING is undefined.
   [Condition of type UNDEFINED-FUNCTION]

When the external-format is :utf-8, string is successfully written.

Is this an wrong way? Or my environment is broken?


Just for your information, I send below.
Please tell me if it's not enough.


> *features*

(:NEW :LINUX :FORMATTER :ECL-WEAK-HASH :LITTLE-ENDIAN :ECL-READ-WRITE-LOCK
 :LONG-LONG :UINT64-T :UINT32-T :UINT16-T :RELATIVE-PACKAGE-NAMES :LONG-FLOAT
 :UNICODE :DFFI :CLOS-STREAMS :CMU-FORMAT :UNIX :ECL-PDE :DLOPEN :CLOS :THREADS
 :BOEHM-GC :ANSI-CL :COMMON-LISP :IEEE-FLOATING-POINT :PREFIXED-API :FFI
 :X86_64 :COMMON :ECL)
> (lisp-implementation-type)

"ECL"
> (lisp-implementation-version)

"15.3.7"
>  


Thank you,

Shinichi
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Ecls-list mailing list
Ecls-list@...
https://lists.sourceforge.net/lists/listinfo/ecls-list
Daniel Kochmański | 19 Apr 12:00 2015
Picon

Fwd: emaczen's ECL question and can't get on the ecl mailing list

Hello,

I'm forwarding this e-mail, I'll try to investigate mailing list issue
when back from London.

Roughly, there is a problem with building host ECL compiler on Android
build from experimental branch.

Best regards,
Daniel

ThutmoseIII Thoth writes:

> Hi jackdaniel,
>
> I've tried a few times to get on to the ECL mailing list even with
> different email addresses -- weird.
>
> Anyway, I wish to write some Android applications with ECL. When I run
> "./configure.android" on the experimental branch I get the following output:
>
> *./configure.android *
> */opt/devel/src/ecl/android/build/host*
> *checking build system type... x86_64-unknown-linux-gnu*
> *checking host system type... x86_64-unknown-linux-gnu*
> *checking for gcc... gcc*
> *checking whether the C compiler works... no*
> *configure: error: in `/opt/devel/src/ecl/android/build/host':*
> *configure: error: C compiler cannot create executables*
> *See `config.log' for more details*
> *make: *** No targets specified and no makefile found.  Stop.*
> *checking build system type... x86_64-unknown-linux-gnu*
> *checking host system type... arm-unknown-linux-androideabi*
> *checking for arm-linux-androideabi-gcc...
> /opt/android-ndk-r10d/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc*
> *checking whether the C compiler works... yes*
> *checking for C compiler default output file name... a.out*
> *checking for suffix of executables... *
> *checking whether we are cross compiling... yes*
> *checking for suffix of object files... o*
> *checking whether we are using the GNU C compiler... yes*
> *checking whether
> /opt/android-ndk-r10d/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc
> accepts -g... yes*
> *checking for
> /opt/android-ndk-r10d/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc
> option to accept ISO C89... none needed*
> *checking whether we are using the GNU C++ compiler... yes*
> *checking whether
> /opt/android-ndk-r10d/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++
> accepts -g... yes*
> *checking how to run the C preprocessor...
> /opt/android-ndk-r10d/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-cpp*
> *checking for arm-linux-androideabi-ranlib...
> /opt/android-ndk-r10d/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ranlib*
> *checking for a BSD-compatible install... /usr/bin/install -c*
> *checking whether ln -s works... yes*
> *checking whether make sets $(MAKE)... yes*
> *checking for arm-linux-androideabi-ranlib... (cached)
> /opt/android-ndk-r10d/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ranlib*
> *checking for arm-linux-androideabi-ar...
> /opt/android-ndk-r10d/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ar*
> *checking for etags... etags*
> */opt/devel/src/ecl/src/configure: line 4838:
> /opt/devel/src/ecl/android/install/host/bin/ecl: No such file or directory*
> *configure: error: The program ECL-MIN is not installed in your system*
> *make: *** No targets specified and no makefile found.  Stop.*
> *ECL Android compiled in /opt/devel/src/ecl/android/install/android*
>
> I checked the config.log file and the following is what I think is relevant:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
> --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla
> <http://bugzilla.redhat.com/bugzilla> --enable-bootstrap --enable-shared
> --enable-threads=posix --enable-checking=release --enable-multilib
> --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions
> --enable-gnu-unique-object --enable-linker-build-id
> --with-linker-hash-style=gnu
> --enable-languages=c,c++,objc,obj-c++,fortran,ada,go,lto --enable-plugin
> --enable-initfini-array --disable-libgcj
> --with-isl=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/isl-install
> --with-cloog=/builddir/build/BUILD/gcc-4.9.2-20150212/obj-x86_64-redhat-linux/cloog-install
> --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686
> --build=x86_64-redhat-linuxThread model: posixgcc version 4.9.2 20150212
> (Red Hat 4.9.2-6) (GCC) configure:3426: $? = 0configure:3415: gcc -V
>>&5gcc: error: unrecognized command line option '-V'gcc: fatal error: no
> input filescompilation terminated.configure:3426: $? = 4configure:3415: gcc
> -qversion >&5gcc: error: unrecognized command line option '-qversion'gcc:
> fatal error: no input filescompilation terminated.configure:3426: $? =
> 4configure:3446: checking whether the C compiler worksconfigure:3468: gcc
> -m32 -g -O2  -m32 -g -O2 conftest.c  >&5/usr/bin/ld: cannot find crt1.o: No
> such file or directory/usr/bin/ld: cannot find crti.o: No such file or
> directory/usr/bin/ld: skipping incompatible /usr/lib64/libc.so when
> searching for -lc/usr/bin/ld: cannot find -lc/usr/bin/ld: cannot find
> crtn.o: No such file or directorycollect2: error: ld returned 1 exit
> statusconfigure:3472: $? = 1configure:3510: result: noconfigure: failed
> program was:| /* confdefs.h */| #define PACKAGE_NAME "ecl"| #define
> PACKAGE_TARNAME "ecl"| #define PACKAGE_VERSION "15.3.7"| #define
> PACKAGE_STRING "ecl 15.3.7"| #define PACKAGE_BUGREPORT ""| #define
> PACKAGE_URL ""| /* end confdefs.h.  */| | int| main ()| {| |   ;|   return
> 0;| }configure:3515: error: in
> `/opt/devel/src/ecl/android/build/host':configure:3517: error: C compiler
> cannot create executablesSee `config.log' for more details*
>
> I'm not sure what to do after this, and any help is appreciated. It would
> be helpful if there were a "getting-started" wiki page and I would be happy
> to contribute to that once I can get started :)
>
> -- Thanks
>
> -- Thanks.

--

-- 
Daniel Kochmański | Poznań, Poland
;; aka jackdaniel

"Be the change that you wish to see in the world." - Mahatma Gandhi

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Ecls-list mailing list
Ecls-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list
Tomas Hlavaty | 8 Apr 22:30 2015

Re: libffi-prefix

Hi Daniel,

Daniel Kochmański <jack <at> hellsgate.pl> writes:
> thanks! Patch is applied on branch upgrade-libs. Soon it will be
> merged onto develop.

thank you!

Tomas

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Ecls-list mailing list
Ecls-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list
Tomas Hlavaty | 6 Apr 23:38 2015

libffi-prefix

Hi,

I have fixed the ecl package for NixOS and had to add a configure option
for libffi-prefix.  Would it be possible to commit this change into the
ecl sources so that no extra patch is required when a "custom" libffi
prefix is needed?

Thank you,

Tomas

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Ecls-list mailing list
Ecls-list@...
https://lists.sourceforge.net/lists/listinfo/ecls-list
Roger Sen Montero | 6 Apr 20:47 2015
Picon

Testing re-organisation

Daniel,

Just not to duplicate effort, what do you have in mind for the testing part of ecl? Currently tests are downloaded from Sourceforge (and are not part of the distribution), the makefile used is less than optimal and the output of the results is difficult to manipulate.

 So what is the plan for the test files? I see three possible options:

 1) Include them in the main distribution/git repository.

 PROs: no external dependencies.
 CONs: bigger source tar.gz. // test linked to downloaded ecl version.
 
 2) Include them in a secondary git repository and do a git clone before running the tests.

 PROs: being able to update tests for all existing ecl versions. // we don't increase .tar.gz
 CONs: dependency with git.

 3) Move the tests to a secondary git lab repo and download as we do it today but from the .tar.gz in gitlab.

 PROs: being able to update tests for all existing ecl versions. // we don't increase .tar.gz
 CONs: maybe some kind of bandwidth limit with gitlab?

 Also there's the need to update tests/Makefile, but this is a trivial tasks.

 Comments? I'm happy to create a branch and do this changes.

--
Roger Sen Montero
roger.sen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
+34 649 975 570
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Ecls-list mailing list
Ecls-list@...
https://lists.sourceforge.net/lists/listinfo/ecls-list
Daniel Kochmański | 31 Mar 10:54 2015
Picon

[new developer]

Hello all,

Roger Sen Montero has joined development team today. Congratulations!

:-)

Best regards,
Daniel

--

-- 
Daniel Kochmański | Poznań, Poland
;; aka jackdaniel

"Be the change that you wish to see in the world." - Mahatma Gandhi

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ecls-list mailing list
Ecls-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list
Roger Sen Montero | 29 Mar 21:50 2015
Picon

Re: Experimental

Evrim,

 find attached a patch to clean up deprecated API.

On Sun, Mar 29, 2015 at 6:02 PM, Roger Sen Montero <roger.sen <at> gmail.com> wrote:
Evrim,

 Checked the gc directory and I see currect gc is 7.5.0. If this is the case there's no need to update anything as 7.5.0 is modern enough.

 But this update on the boehmgc has triggered some warnings on the use of deprecated functions/variables, like:

GC_no_dls = 1;

GC_all_interior_pointers = 0;

GC_time_limit = GC_TIME_UNLIMITED;

GC_dont_gc();

GC_oom_fn 

GC_java_finalization = 1;


in alloc_2.d as in newer boehm the interface is slightly diferent, see:

http://www.hpl.hp.com/hosted/linux/mail-archives/gc/2012-July/005273.html

 Regards.




in alloc2.d




 Regards.

On Sun, Mar 29, 2015 at 1:36 PM, Evrim Ulu <evrimulu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Hello Roger,

Could you enlighten me about the details?

evrim.

On Thu, Mar 26, 2015 at 2:30 PM, Roger Sen Montero <roger.sen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Evrim,

 by the way, are you planning to update the garbage collector? If I recall correctly the current version uses some deprecated kernel API.

 Regards.

On Thu, Mar 26, 2015 at 12:10 PM, Evrim Ulu <evrimulu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Thanks Roger, glad to hear that. 

Android app is now in the repo contrib/android. See README.android.

Best,
evrim.

On Thu, Mar 26, 2015 at 10:41 AM, Roger Sen Montero <roger.sen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Evrim,

 good news from the mac side (Darwin 14.1.0 Darwin Kernel Version 14.1.0: Thu Feb 26 19:26:47 PST 2015; root:xnu-2782.10.73~1/RELEASE_X86_64 x86_64)

 ECL 15.3.7 (git:3e3682510951debc91cf6d02edc04d413ed67f34) experimental branch compiles & loads quicklisp correctly (quickloaded "vecto")

 For tests, fairly good... I see no differences between the experimental and main branch.




On Wed, Mar 25, 2015 at 1:35 PM, Evrim Ulu <evrimulu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
No worries, we need to upgrade them at some point, 
The sooner it breaks the better it is.

I've pushed the patches to experimental branch at gitlab. Hope this host is permanent for a while.

Btw, I don't have a macbook now, let me know if somebody wants to give me access so that I can try.

Let me finish the android app first.

Later.
evrim.

On Wed, Mar 25, 2015 at 2:34 PM, Daniel Kochmański <jackdaniel <at> hellsgate.pl> wrote:
Hey,

Evrim Ulu writes:

> Hey Daniel,
>
> So we are moving again? gee, created an account: evrim.
> Please add me so that i can push the patches.

Not my fault :-p

I've added you to the team.
>
> Regarding to libffi, I have no idea yet, i'll look into it, if you could
> point me the bugs, i'll be glad.

libffi causes no bugs, it just doesn't build on ARMv5 architecture
(upstream libffi does on the contrary).

http://sourceware.org/libffi/

Regarding bugs, I'm aware of one in gc, but this will probably fix more
stuff:

https://sourceforge.net/p/ecls/bugs/305/

Best regards,
Daniel

>
> evrim.
>
> On Wed, Mar 25, 2015 at 2:12 PM, Daniel Kochmański <jackdaniel-Dd/qh/Dfy4KlPcVs/6D9LQ@public.gmane.org>
> wrote:
>
>> Hey,
>>
>> you might have ommited that we've moved to gitlab.com due to gitorious
>> closing down soon. If you let me know about your gitlab account info,
>> I'll add you to the team. This was unfortunate, that soon after
>> migration we have to migrate once again.
>>
>> Regarding your patches - it's replacement of gmp and gc with upstream
>> ones? If you could also add upstream libffi, you could merge it to
>> develop branch, since libffi breaks on armv5 and old gc has some quirks
>> like bug on sf bugtracker.
>>
>> Oh, and the most important: thank you for your hard work! :-) It's nice
>> to work with fellow hackers.
>>
>> Best regards,
>> Daniel

>>
>> Evrim Ulu writes:
>>
>> > Dear list,
>> >
>> > I've updated experimental branch. We now have brand new gmp, bdwgc,
>> > libatomic_ops in the repo.
>> >
>> > I've also made a configure script called configure.android to compile to
>> > android target. I'll push a sample android app into contrib/android soon.
>> >
>> > best,
>> > evrim.
>> >
>> ------------------------------------------------------------------------------
>> > Dive into the World of Parallel Programming The Go Parallel Website,
>> sponsored
>> > by Intel and developed in partnership with Slashdot Media, is your hub
>> for all
>> > things parallel software development, from weekly thought leadership
>> blogs to
>> > news, videos, case studies, tutorials and more. Take a look and join the
>> > conversation now.
>> http://goparallel.sourceforge.net/_______________________________________________
>> > Ecls-list mailing list
>> > Ecls-list-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>> > https://lists.sourceforge.net/lists/listinfo/ecls-list
>>
>> --
>> Daniel Kochmański | Poznań, Poland
>> ;; aka jackdaniel
>>
>> "Be the change that you wish to see in the world." - Mahatma Gandhi
>>

--
Daniel Kochmański | Poznań, Poland
;; aka jackdaniel

"Be the change that you wish to see in the world." - Mahatma Gandhi


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ecls-list mailing list
Ecls-list-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/ecls-list




--




--




--



--
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ecls-list mailing list
Ecls-list@...
https://lists.sourceforge.net/lists/listinfo/ecls-list
Evrim Ulu | 25 Mar 13:35 2015
Picon

Re: Experimental

No worries, we need to upgrade them at some point, 
The sooner it breaks the better it is.

I've pushed the patches to experimental branch at gitlab. Hope this host is permanent for a while.

Btw, I don't have a macbook now, let me know if somebody wants to give me access so that I can try.

Let me finish the android app first.

Later.
evrim.

On Wed, Mar 25, 2015 at 2:34 PM, Daniel Kochmański <jackdaniel-Dd/qh/Dfy4KlPcVs/6D9LQ@public.gmane.org> wrote:
Hey,

Evrim Ulu writes:

> Hey Daniel,
>
> So we are moving again? gee, created an account: evrim.
> Please add me so that i can push the patches.

Not my fault :-p

I've added you to the team.
>
> Regarding to libffi, I have no idea yet, i'll look into it, if you could
> point me the bugs, i'll be glad.

libffi causes no bugs, it just doesn't build on ARMv5 architecture
(upstream libffi does on the contrary).

http://sourceware.org/libffi/

Regarding bugs, I'm aware of one in gc, but this will probably fix more
stuff:

https://sourceforge.net/p/ecls/bugs/305/

Best regards,
Daniel

>
> evrim.
>
> On Wed, Mar 25, 2015 at 2:12 PM, Daniel Kochmański <jackdaniel-Dd/qh/Dfy4KlPcVs/6D9LQ@public.gmane.org>
> wrote:
>
>> Hey,
>>
>> you might have ommited that we've moved to gitlab.com due to gitorious
>> closing down soon. If you let me know about your gitlab account info,
>> I'll add you to the team. This was unfortunate, that soon after
>> migration we have to migrate once again.
>>
>> Regarding your patches - it's replacement of gmp and gc with upstream
>> ones? If you could also add upstream libffi, you could merge it to
>> develop branch, since libffi breaks on armv5 and old gc has some quirks
>> like bug on sf bugtracker.
>>
>> Oh, and the most important: thank you for your hard work! :-) It's nice
>> to work with fellow hackers.
>>
>> Best regards,
>> Daniel
>>
>> Evrim Ulu writes:
>>
>> > Dear list,
>> >
>> > I've updated experimental branch. We now have brand new gmp, bdwgc,
>> > libatomic_ops in the repo.
>> >
>> > I've also made a configure script called configure.android to compile to
>> > android target. I'll push a sample android app into contrib/android soon.
>> >
>> > best,
>> > evrim.
>> >
>> ------------------------------------------------------------------------------
>> > Dive into the World of Parallel Programming The Go Parallel Website,
>> sponsored
>> > by Intel and developed in partnership with Slashdot Media, is your hub
>> for all
>> > things parallel software development, from weekly thought leadership
>> blogs to
>> > news, videos, case studies, tutorials and more. Take a look and join the
>> > conversation now.
>> http://goparallel.sourceforge.net/_______________________________________________
>> > Ecls-list mailing list
>> > Ecls-list <at> lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/ecls-list
>>
>> --
>> Daniel Kochmański | Poznań, Poland
>> ;; aka jackdaniel
>>
>> "Be the change that you wish to see in the world." - Mahatma Gandhi
>>

--
Daniel Kochmański | Poznań, Poland
;; aka jackdaniel

"Be the change that you wish to see in the world." - Mahatma Gandhi

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ecls-list mailing list
Ecls-list@...
https://lists.sourceforge.net/lists/listinfo/ecls-list
Evrim Ulu | 25 Mar 12:47 2015
Picon

Experimental

Dear list,

I've updated experimental branch. We now have brand new gmp, bdwgc, libatomic_ops in the repo.

I've also made a configure script called configure.android to compile to android target. I'll push a sample android app into contrib/android soon.

best,
evrim.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ecls-list mailing list
Ecls-list@...
https://lists.sourceforge.net/lists/listinfo/ecls-list
Rujia Liu | 20 Mar 17:37 2015

[emscripten] exception in cs_set_size (when executing cl-boot)

Dear all,

Now that I've successfully compiled ECL with empscripten after quite a few tweaking in code and config. However, it crashes:

>node a.out.js
Calling stub instead of signal()
Calling stub instead of signal()
Calling stub instead of signal()
Calling stub instead of signal()
Calling stub instead of signal()
Calling stub instead of signal()
Calling stub instead of signal()

Internal or unrecoverable error in:
can't reset env->cs_limit.
Calling stub instead of signal()

d:\ecl-em\msvc\bclink\a.out.js:84
      throw ex;
            ^
abort() at Error
    at jsStackTrace (d:\ecl-em\msvc\bclink\a.out.js:987:13)
    at stackTrace (d:\ecl-em\msvc\bclink\a.out.js:1004:22)
    at Object.abort (d:\ecl-em\msvc\bclink\a.out.js:227043:25)
    at _abort (d:\ecl-em\msvc\bclink\a.out.js:6686:22)
    at _ecl_internal_error (d:\ecl-em\msvc\bclink\a.out.js:106763:3)
    at _cs_set_size (d:\ecl-em\msvc\bclink\a.out.js:189770:3)
    at _ecl_cs_set_org (d:\ecl-em\msvc\bclink\a.out.js:139536:2)
    at _cl_boot (d:\ecl-em\msvc\bclink\a.out.js:51609:2)
    at _main (d:\ecl-em\msvc\bclink\a.out.js:51142:3)
    at Object.asm._main (d:\ecl-em\msvc\bclink\a.out.js:225080:19)

The crashing function is:

static void
cs_set_size(cl_env_ptr env, cl_index new_size)
{
    volatile char foo = 0;
    cl_index safety_area = ecl_option_values[ECL_OPT_C_STACK_SAFETY_AREA];
    new_size += 2*safety_area;
#ifdef ECL_DOWN_STACK
    if (&foo > env->cs_org - new_size + 16) {
        env->cs_limit = env->cs_org - new_size + 2*safety_area;
        if (env->cs_limit < env->cs_barrier)
            env->cs_barrier = env->cs_limit;
    }
#else
    if (&foo < env->cs_org + new_size - 16) {
        env->cs_limit = env->cs_org + new_size - 2*safety_area;
        if (env->cs_limit > env->cs_barrier)
            env->cs_barrier = env->cs_limit;
    }
#endif
    else
        ecl_internal_error("can't reset env->cs_limit.");
    env->cs_size = new_size;
}

I didn't change ECL_DOWN_STACK in config.h so it remains 1.

Any thoughts about this? More information:

1.  I disabled FFI (by commenting out ECL_FFI), will it affact anything? I think FFI does not make sense with emscripten so I disabled it.
2. "Calling stub instead of signal()" is printed from the sub implementation of signal(), provided by empscriten, like this:

>grep "Calling stub" *.js -A 2 -B 2

  function ___libc_current_sigrtmax() {
      Module.printErr('Calling stub instead of __libc_current_sigrtmax');
      return 0;
    }
--

  function _signal(sig, func) {
      Module.printErr('Calling stub instead of signal()');
      return 0;
    }
--

  function _raise(sig) {
      Module.printErr('Calling stub instead of raise()');
    ___setErrNo(ERRNO_CODES.ENOSYS);
        Runtime.warnOnce('raise() returning an error as we do not support it');
--

  function ___libc_current_sigrtmin() {
      Module.printErr('Calling stub instead of __libc_current_sigrtmin');
      return 0;
    }

Thanks!

- Rujia

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ecls-list mailing list
Ecls-list@...
https://lists.sourceforge.net/lists/listinfo/ecls-list

Gmane