id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
6063	GHC's build-time ld-flag checks are problematic	parcs	thoughtpolice	"If the linker that GHC was built against happened to recognize the `--hash-size` and `--reduce-memory-overhead` flags, but the current system linker does not, GHC will indiscriminately pass those flags to the current linker when attempting to link anything, and the linking will fail due to an 'unrecognized option' error.

I have experienced this behavior when I upgraded to GHC 7.4.1 on debian. The GHC package in question was built against `bfd ld`, which recognized those linker flags, but my system linker is `gold`, which does not recognized those flags. Therefore, I could not build anything until i reverted to `bfd ld`.

(Relevant commits: 3275b7bd2a803a3adc0b952b6fbfeb738fc15a74 and 9ccb59ed6e5edf73c876e87429e69e8848162497)"	bug	patch	high	7.8.1	Compiler	7.4.1			bos@… mail@…	Linux	Unknown/Multiple	GHC doesn't work at all	Unknown				#4862
