Skip to content

internal error: scavenge_mark_stack:

Hi!   
   
I 'patched' ghc-6.4 source with the latest Adjustor.c   
on the hope to get FFI support under amd64.   
   
However, attempt to compile gtk2hs gives:   
   
[...]   
  
make[2]: Leaving directory  
`/var/tmp/portage/gtk2hs-0.9.7/work/gtk2hs-0.9.7'  
if test -f glib/glib.precomp; then :; else make  
glib/glib.precomp; fi;  
make[2]: Entering directory  
`/var/tmp/portage/gtk2hs-0.9.7/work/gtk2hs-0.9.7'  
/var/tmp/portage/gtk2hs-0.9.7/work/gtk2hs-0.9.7/tools/c2hs/c2hsLocal  
+RTS -H300m -M350m -RTS  
-C-I/usr/include/glib-2.0 -C-I/usr/lib/glib-2.0/include  
--cppopts='-include "config.h"'  
--precomp=glib/glib.precomp glib-object.h  
elapsed time: 0.00 (start)  
elapsed time: 0.00 (about to parse headder)  
elapsed time: 3.11 (about to serialise header)  
c2hsLocal: internal error: scavenge_mark_stack:  
unimplemented/strange closure type -1780819864  
@ 0x2a95dad118  
    Please report this as a bug to  
glasgow-haskell-bugs@haskell.org,  
    or http://www.sourceforge.net/projects/ghc/  
make[2]: *** [glib/glib.precomp] Error 254  
make[2]: Leaving directory  
`/var/tmp/portage/gtk2hs-0.9.7/work/gtk2hs-0.9.7'  
make[1]: *** [glib/System/Glib/Types.hs] Error 2  
make[1]: Leaving directory  
`/var/tmp/portage/gtk2hs-0.9.7/work/gtk2hs-0.9.7'  
ghc-6.4: can't find file `glib/System/Glib/Types.hs'  
make: *** [glib/libHSglib_a.deps] Error 1  
make: *** Deleting file `glib/libHSglib_a.deps'  
  
 
Sincerely, 
Gour 
 
Trac metadata
Trac field Value
Version None
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedDuplicate
Component None
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information