Closed snoyberg closed 8 years ago
Hi Michael,
The library (double-conversion) has led to a trouble on a Windows platform only once in the past, did you also try the latest version? (double-conversion 2.0.6). There is -f-have-text-format flag that skips this dependency at the cost of performance.
This library compiled successfully with double-conversion and GHC 7.6.3 in the past, but it is quite possible that text-format misses some dependency constraint on version of double-conversion library at the moment.
Do you maybe use a special linker, or special compiler options that would cause "double-conversion" to fail? May I know details of your environment (env variables, platform details, etc.)
The only special aspects I know of in this setup are (1) I'm building into a Stackage package database, separate from my normal user database, and (2) I have the gold linker installed.
Looks like I need to try and debug it with gold linker... Is my workaround acceptable until then? (I mean the -f-have-text-format flag.)
For now, I've simply disabled hPDB for GHC 7.6, so I need no other changes for now.
As I said, hPDB worked for me on both GHC 7.6.3 and 7.8.1 (which I'm currently using.) That means that fault is almost certainly with Gold or rather ancient version of double-conversion (latest is 2.0.0.6.)
Just wanted to note I'm having same issue, without hPDB, but with my own project relying on text-format which relies on double-conversion.
This is actually due to a longstanding GHC bug that was fixed in 7.8.
Since we have a workaround option, and the issue is fixed in 7.8, I will keep it as-is.