Re: [Ecls-list] Release ready

2011-01-17 Thread Marko Kocić
Hi Juan,

I can confirm that libffi on mingw now works fine after moving it to
CORE_LIBS. I have yet to confirm that this also fixes Gentoo build.
Also, requiring asdf problem similar to one Stas reported dissapeared.

As a side note, I was able to quickload lispbuilder-sdl on mingw using
Ecl for the first time, and can confirm that, at list on the first
glance, it works. It is goot to have CL impl that allows me to run
slime and gui application in parallel on windows.
I also quickloaded hunchentoot web server successfully (for the first
time with ecl). Unfortunatelly, it doesn't seem to work. Those two
libraries depends on quite a lot of other libraries, so it is a good
sign that those are compilable with ECL.

Thanks for the best release ever, hope the next one will be even better :)

Regards,
Marko Kocić

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list


Re: [Ecls-list] Release ready

2011-01-17 Thread Marko Kocić
This links might be interesting:

http://www.metabang.com/unclog/otherpag/asdfinst.html
http://bc.tech.coop/blog/051012.html
http://bc.tech.coop/blog/060108.html

They describe dependencies between libraries, alhout those are a bit
out of date, but it clearly identifies key libraries used by everyone.
Something like that which include all quicklisp world libraries would
be interesting.
As for the goal for the next release to ensure better library support
for ECL, I fully agree with it. It can be really frustrating for the
beginner or casual user if he tries to load library that works in SBCL
only to find out that it doesn't even compile in ECL.

Regards,
Marko Kocić

On Mon, Jan 17, 2011 at 10:59 AM, Juan Jose Garcia-Ripoll
juanjose.garciarip...@googlemail.com wrote:
 On Mon, Jan 17, 2011 at 10:42 AM, Marko Kocić marko.ko...@gmail.com wrote:

 Unfortunatelly, it doesn't seem to work. Those two
 libraries depends on quite a lot of other libraries, so it is a good
 sign that those are compilable with ECL.

 Hi Marko, thanks a lot for the detailed report. My goal for the next release
 is indeed enlarge the number of libraries that are tested using the
 facilities provided by quicklisp. You have mentioned a couple of them, but
 maybe it would be better first to examine the most common dependencies of
 those libraries (cl-unicode, for instance, is one, cl-ppcre, etc, etc). Some
 of those still have incompatibilities or may reveal problems in ECL.

 Juanjo

 --
 Instituto de Física Fundamental, CSIC
 c/ Serrano, 113b, Madrid 28006 (Spain)
 http://juanjose.garciaripoll.googlepages.com


--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list


Re: [Ecls-list] Release ready

2011-01-16 Thread Stas Boukarev
Stas Boukarev stass...@gmail.com writes:

 Juan Jose Garcia-Ripoll juanjose.garciarip...@googlemail.com writes:

 Hi everybody,
 Regarding Stas Boukarev's problems with require-ing ASDF and compiling a
 test file that defines the ASDF package, I could not reproduce it in any
 system with a clean new copy of ECL.
 This is quite unfortunate, because this really is a show-stopper here, I
 can't load any .fas which weren't compiled in the current instance of
 ECL.

 Here is my further analyses:
 Consider the function
 ecl_make_package
 http://ecls.git.sourceforge.net/git/gitweb.cgi?p=ecls/ecl;a=blob;f=src/c/package.d;h=5939239084d30db5d484ce3ff8924a3ee64ef004;hb=HEAD#l195
 which is eventually called when loading the code I showed earlier.

 It calls
 x = find_pending_package(env, name, nicknames);

 which returns a package, because it finds it in env-packages_to_be_created 
 (which, I
 presume, is set up by LOAD), so that means that if (Null(x)) { ... } is
 not executed, and the variable `other' isn't set to anything.
 Next, it iterates over nicknames, which it has none, and `other' is still
 untouched.
 And finally, it does
 if (!Null(other))

 but the variable `other' wasn't ever initialized, and when I insert a print
 statement there, it shows #illegal pointer bf9c2d38, which isn't null,
 and it's eventually passed to CEpackage_error, which then
 complains not a lisp data object.
And the patch which fixes the problem for me.
diff --git a/src/c/package.d b/src/c/package.d
index 5939239..88d5957 100644
--- a/src/c/package.d
+++ b/src/c/package.d
@@ -195,7 +195,7 @@ cl_object
 ecl_make_package(cl_object name, cl_object nicknames, cl_object use_list)
 {
 const cl_env_ptr env = ecl_process_env();
-	cl_object x, l, other;
+	cl_object x, l, other = Cnil;
 
 /* Type checking, coercions, and the like, happen before we
  * acquire the lock */

-- 
With Best Regards, Stas.
--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl___
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list


Re: [Ecls-list] Release ready

2011-01-16 Thread Juan Jose Garcia-Ripoll
Thanks for identifying the problem. It seems that the uninitialized variable
was only detected by gcc 4.5, while all other compilers I used (4.4. 4.0,
3.something) ignored that. I already uploaded the fix.

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl___
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list


Re: [Ecls-list] Release ready

2011-01-16 Thread Matthew Mondor
On Sun, 16 Jan 2011 19:16:23 +0100
Juan Jose Garcia-Ripoll juanjose.garciarip...@googlemail.com wrote:

 The patch for etags and the fix for the Makefile were committed today. Some
 changes were needed to make it work on other makes

I confirm these fixed it for me.

Thanks!
-- 
Matt

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list


Re: [Ecls-list] Release ready

2011-01-15 Thread Stas Boukarev
Juan Jose Garcia-Ripoll juanjose.garciarip...@googlemail.com writes:

 I had to fix a number of bugs that were submitted during the last days.
 Unless somebody complains very loud (please, no! :-) I will tag and upload
 the 11.1.1 release this weekend.

When doing (require 'asdf)
I get
;;; Loading #P/usr/local/lib/ecl-11.1.1/asdf.fas

Internal or unrecoverable error in:
not a lisp data object
  [2: No such file or directory]

;;; ECL C Backtrace
;;; /usr/local/lib/libecl.so.11.1(si_dump_c_backtrace+0x2f) [0xb77de577]
;;; /usr/local/lib/libecl.so.11.1(ecl_internal_error+0x8c) [0xb77d180d]
;;; /usr/local/lib/libecl.so.11.1(cl_class_of+0x216) [0xb77bcc4e]
;;; /usr/local/lib/libecl.so.11.1(+0xa78d6) [0xb77528d6]
;;; /usr/local/lib/libecl.so.11.1(APPLY_fixed+0x6a) [0xb78177eb]
;;; /usr/local/lib/libecl.so.11.1(ecl_apply_from_stack_frame+0xc6) [0xb77afed0]
;;; /usr/local/lib/libecl.so.11.1(cl_funcall+0xc5) [0xb77b01bb]
;;; /usr/local/lib/libecl.so.11.1(+0x113156) [0xb77be156]
;;; /usr/local/lib/libecl.so.11.1(_ecl_standard_dispatch+0x240) [0xb77be403]
;;; /usr/local/lib/libecl.so.11.1(ecl_apply_from_stack_frame+0x12d) [0xb77aff37]
;;; /usr/local/lib/libecl.so.11.1(cl_apply+0x1f4) [0xb77b03bd]
;;; /usr/local/lib/libecl.so.11.1(+0xb42e1) [0xb775f2e1]
;;; /usr/local/lib/libecl.so.11.1(APPLY+0x1b3) [0xb780dc43]
;;; /usr/local/lib/libecl.so.11.1(ecl_apply_from_stack_frame+0xe4) [0xb77afeee]
;;; /usr/local/lib/libecl.so.11.1(cl_apply+0x8d) [0xb77b0256]
;;; /usr/local/lib/libecl.so.11.1(+0xadfd2) [0xb7758fd2]
;;; /usr/local/lib/libecl.so.11.1(+0xae178) [0xb7759178]
;;; /usr/local/lib/libecl.so.11.1(APPLY+0x79) [0xb780db09]
;;; /usr/local/lib/libecl.so.11.1(ecl_apply_from_stack_frame+0x102) [0xb77aff0c]
;;; /usr/local/lib/libecl.so.11.1(cl_funcall+0xc5) [0xb77b01bb]
;;; /usr/local/lib/libecl.so.11.1(_ecl_standard_dispatch+0x285) [0xb77be448]
;;; /usr/local/lib/libecl.so.11.1(ecl_apply_from_stack_frame+0x12d) [0xb77aff37]
;;; /usr/local/lib/libecl.so.11.1(cl_apply+0x1f4) [0xb77b03bd]
;;; /usr/local/lib/libecl.so.11.1(+0xe1c25) [0xb778cc25]
;;; /usr/local/lib/libecl.so.11.1(APPLY+0x1b3) [0xb780dc43]
;;; /usr/local/lib/libecl.so.11.1(ecl_apply_from_stack_frame+0xe4) [0xb77afeee]
;;; /usr/local/lib/libecl.so.11.1(cl_apply+0x1f4) [0xb77b03bd]
;;; /usr/local/lib/libecl.so.11.1(+0xe23bc) [0xb778d3bc]
;;; /usr/local/lib/libecl.so.11.1(+0xe47b3) [0xb778f7b3]
;;; /usr/local/lib/libecl.so.11.1(APPLY_fixed+0x92) [0xb7817813]
;;; /usr/local/lib/libecl.so.11.1(ecl_apply_from_stack_frame+0xc6) [0xb77afed0]
;;; /usr/local/lib/libecl.so.11.1(cl_funcall+0xc5) [0xb77b01bb]

-- 
With Best Regards, Stas.

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list


Re: [Ecls-list] Release ready

2011-01-15 Thread Juan Jose Garcia-Ripoll
Configuration flags? Platform?

Sent from my iPod

On Jan 15, 2011, at 10:42 AM, Stas Boukarev stass...@gmail.com wrote:

 Juan Jose Garcia-Ripoll juanjose.garciarip...@googlemail.com writes:

 I had to fix a number of bugs that were submitted during the last days.
 Unless somebody complains very loud (please, no! :-) I will tag and upload
 the 11.1.1 release this weekend.

 When doing (require 'asdf)
 I get
 ;;; Loading #P/usr/local/lib/ecl-11.1.1/asdf.fas

 Internal or unrecoverable error in:
 not a lisp data object
  [2: No such file or directory]

 ;;; ECL C Backtrace
 ;;; /usr/local/lib/libecl.so.11.1(si_dump_c_backtrace+0x2f) [0xb77de577]
 ;;; /usr/local/lib/libecl.so.11.1(ecl_internal_error+0x8c) [0xb77d180d]
 ;;; /usr/local/lib/libecl.so.11.1(cl_class_of+0x216) [0xb77bcc4e]
 ;;; /usr/local/lib/libecl.so.11.1(+0xa78d6) [0xb77528d6]
 ;;; /usr/local/lib/libecl.so.11.1(APPLY_fixed+0x6a) [0xb78177eb]
 ;;; /usr/local/lib/libecl.so.11.1(ecl_apply_from_stack_frame+0xc6) 
 [0xb77afed0]
 ;;; /usr/local/lib/libecl.so.11.1(cl_funcall+0xc5) [0xb77b01bb]
 ;;; /usr/local/lib/libecl.so.11.1(+0x113156) [0xb77be156]
 ;;; /usr/local/lib/libecl.so.11.1(_ecl_standard_dispatch+0x240) [0xb77be403]
 ;;; /usr/local/lib/libecl.so.11.1(ecl_apply_from_stack_frame+0x12d) 
 [0xb77aff37]
 ;;; /usr/local/lib/libecl.so.11.1(cl_apply+0x1f4) [0xb77b03bd]
 ;;; /usr/local/lib/libecl.so.11.1(+0xb42e1) [0xb775f2e1]
 ;;; /usr/local/lib/libecl.so.11.1(APPLY+0x1b3) [0xb780dc43]
 ;;; /usr/local/lib/libecl.so.11.1(ecl_apply_from_stack_frame+0xe4) 
 [0xb77afeee]
 ;;; /usr/local/lib/libecl.so.11.1(cl_apply+0x8d) [0xb77b0256]
 ;;; /usr/local/lib/libecl.so.11.1(+0xadfd2) [0xb7758fd2]
 ;;; /usr/local/lib/libecl.so.11.1(+0xae178) [0xb7759178]
 ;;; /usr/local/lib/libecl.so.11.1(APPLY+0x79) [0xb780db09]
 ;;; /usr/local/lib/libecl.so.11.1(ecl_apply_from_stack_frame+0x102) 
 [0xb77aff0c]
 ;;; /usr/local/lib/libecl.so.11.1(cl_funcall+0xc5) [0xb77b01bb]
 ;;; /usr/local/lib/libecl.so.11.1(_ecl_standard_dispatch+0x285) [0xb77be448]
 ;;; /usr/local/lib/libecl.so.11.1(ecl_apply_from_stack_frame+0x12d) 
 [0xb77aff37]
 ;;; /usr/local/lib/libecl.so.11.1(cl_apply+0x1f4) [0xb77b03bd]
 ;;; /usr/local/lib/libecl.so.11.1(+0xe1c25) [0xb778cc25]
 ;;; /usr/local/lib/libecl.so.11.1(APPLY+0x1b3) [0xb780dc43]
 ;;; /usr/local/lib/libecl.so.11.1(ecl_apply_from_stack_frame+0xe4) 
 [0xb77afeee]
 ;;; /usr/local/lib/libecl.so.11.1(cl_apply+0x1f4) [0xb77b03bd]
 ;;; /usr/local/lib/libecl.so.11.1(+0xe23bc) [0xb778d3bc]
 ;;; /usr/local/lib/libecl.so.11.1(+0xe47b3) [0xb778f7b3]
 ;;; /usr/local/lib/libecl.so.11.1(APPLY_fixed+0x92) [0xb7817813]
 ;;; /usr/local/lib/libecl.so.11.1(ecl_apply_from_stack_frame+0xc6) 
 [0xb77afed0]
 ;;; /usr/local/lib/libecl.so.11.1(cl_funcall+0xc5) [0xb77b01bb]

 --
 With Best Regards, Stas.

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list


Re: [Ecls-list] Release ready

2011-01-15 Thread Stas Boukarev
Juan Jose Garcia-Ripoll juanjose.garciarip...@googlemail.com writes:

 Configuration flags? Platform?

Interestingly, the following succeeds:
 (make-package ASDF)

#ASDF package
 (require 'asdf)

;;; Loading #P/usr/local/lib/ecl-11.1.1/asdf.fas
;;; Loading #P/usr/local/lib/ecl-11.1.1/cmp.fas
(ASDF CMP)


-- 
With Best Regards, Stas.

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list


Re: [Ecls-list] Release ready

2011-01-15 Thread Stas Boukarev
Juan Jose Garcia-Ripoll juanjose.garciarip...@googlemail.com writes:

 Configuration flags? Platform?
Digging further:

Given file
;;;
(eval-when (:compile-toplevel :load-toplevel :execute)
  (unless (find-package :asdf)
(make-package :asdf :use '(:cl

(in-package :asdf)
(print 'foo)
;;;

Start fresh ecl:
(compile-file foo.lisp)

Exit ecl, start it again:
(load foo.fas) = crash

I guess it has to do with discrepancies between compile-time and load-time
packages, and interning FOO causes problems.

-- 
With Best Regards, Stas.

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list