id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
706	GHC uses _stub.c files regardless of whether any 'foreign import' decls remain in a .hs file	ncalexan@…	simonmar	It appears GHC links any _stub.o files it can find, which is not correct (although usually it only leads to duplicate symbols.)  To duplicate, have two modules A and B, and a foreign import in A.  A_stub.o will be built as usual.  Copy A_stub.o to B_stub.o, relink and have duplicate symbols.	bug	closed	high	7.4.1	Compiler (FFI)	6.4.1	fixed	ffi, link		Unknown/Multiple	Unknown/Multiple	Compile-time crash	Moderate (less than a day)		3687		
