chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-janitors] #570: Unable to deploy sxpath library with Chicke


From: Chicken Trac
Subject: Re: [Chicken-janitors] #570: Unable to deploy sxpath library with Chicken 4.6.7 under Mac OS X
Date: Tue, 03 May 2011 13:40:22 -0000

#570: Unable to deploy sxpath library with Chicken 4.6.7 under Mac OS X
-----------------------+----------------------------------------------------
  Reporter:  iraikov   |       Owner:  felix        
      Type:  defect    |      Status:  assigned     
  Priority:  critical  |   Milestone:  4.7.0        
 Component:  unknown   |     Version:  4.6.x        
Resolution:            |    Keywords:  deploy sxpath
-----------------------+----------------------------------------------------

Comment(by iraikov):

 Ok, unfortunately CSC_OPTIONS and CHICKEN_OPTIONS don't seem to be
 properly passed by chicken-install, so I had to run the compilation steps
 manually. There is not something as convenient as strace/ltrace in Mac OS
 X, but I managed to get dyld to output a trace of its activities, and this
 is all included in the new build log I have attached.

 The hex values are the initial bytes of sxpath-lolevel.import.so, and the
 output of dyld confirms that this is what fails to load. Let me know if
 there is some additional debug information I can obtain.

 Replying to [comment:3 felix]:
 > The -:d was apparently not passed through. I need the debug-mode output
 of "chicken" when it attempts to load the import library. Can you somehow
 hack a "-:d" into the failing compilation command (for example, with
 "CSC_OPTIONS=\"-compiler 'chicken -:d'\"", or run the compilation steps
 manually and add {{-compiler "chicken -:d"}} to the last invocation of
 `csc`.
 >
 > Are the hex-values the initial bytes of sxpath.import.so (or some other
 file)? If yes, then probably some attempt to dynamically load a compiled
 file fails. You can also use `DYLD_DEBUG` (or something similar) to list
 some information regarding dynamic loading. Or something `strace`-y.

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/570#comment:4>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]