chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] #458: Chicken can't profile itself


From: Chicken Trac
Subject: [Chicken-janitors] #458: Chicken can't profile itself
Date: Thu, 16 Dec 2010 19:50:39 -0000

#458: Chicken can't profile itself
--------------------------------------------------+-------------------------
 Reporter:  sjamaan                               |       Owner:       
     Type:  defect                                |      Status:  new  
 Priority:  major                                 |   Milestone:  4.7.0
Component:  compiler                              |     Version:  4.6.x
 Keywords:  expander, profiler, self-compilation  |  
--------------------------------------------------+-------------------------
 I tried to run this:

 {{{
 $ gmake PLATFORM=bsd PREFIX=~/chicken-test CHICKEN='chicken -profile'
 DEBUGBUILD=1
 }}}

 And this gives me:

 {{{
 Warning: reference to possibly unbound identifier `g555'

 Error: module unresolved: setup-api
 }}}

 If I then quickly compile this file without profiling info, I get a binary
 which barfs that {{{##sys#error-hook}}} is undefined.

 I think this indicates a deeper problem with the profiler which might also
 occur on some other programs.

 It could be a problem in the expander, or in the code that generates
 profiling info. The undefined g555 occurs somewhere in an expansion of
 {{{lambda}}}, so my hunch is it's a problem with {{{expand-profile-
 lambda}}}.

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/458>
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]