id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
1648	ghci linker does not know about rts_getWord64	duncan	simonmar	"I stumbled into this with this code:

{{{
foreign export ccall ""gtk2hs_store_get_column_type_impl""
  customTreeModelGetColumnType_static :: StablePtr
    (CustomTreeModelImplementation row) -> CInt -> IO GType
}}}

{{{GType}}} turns out to be a {{{CULong}}} and I'm on a 64bit arch.

So the _stub.c file end up using {{{rts_getWord64}}}

However when we try and load {{{ghci -package gtk}}} we get a linker error from the ghci linker because it doesn't know {{{rts_getWord64}}}.

Indeed, inspecting {{{rts/Linker.c we}}} have {{{rts_getWord}}} and {{{rts_getWord32}}} but not {{{rts_getWord64}}}."	bug	closed	normal	6.8.1	Runtime System	6.6.1	fixed			Linux	x86_64 (amd64)		Easy (less than 1 hour)	ffi019			
