id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
7315	Link error while compiling executables	bgamari		"
On GHC master (ef786b6cbc5f67a673bf8c10be5311317c1e7b88) attempting to build any executable results in a linker error. For instance, `cabal install cmdargs` results in,
{{{
     [37 of 37] Compiling Main             ( Main.hs, dist/build/cmdargs/cmdargs-tmp/Main.o )
     Linking dist/build/cmdargs/cmdargs ...
     /usr/bin/ld: cannot find -lHStransformers-0.3.0.0-ghc7.7.20121009
     collect2: error: ld returned 1 exit status
     cabal: Error: some packages failed to install:
     cmdargs-0.10 failed during the building phase. The exception was:
     ExitFailure 1
}}}
Yet transformers appears to be installed (although the version suffix doesn't appear to match),
{{{
     $ ls ~/.cabal/lib/transformers-0.3.0.0/ghc-7.7.20121009/
     Control  Data  HStransformers-0.3.0.0.o  libHStransformers-0.3.0.0.a  libHStransformers-0.3.0.0_p.a
}}}
"	bug	closed	normal		Compiler	7.7	fixed			Unknown/Multiple	Unknown/Multiple	None/Unknown	Unknown				
