#7201: ghc assumes that ld can understand --hash-size [regression]
-------------------------------------+--------------------------------------
Reporter: bos | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.6.1-rc1 | Keywords:
Os: Linux | Architecture: Unknown/Multiple
Failure: GHC doesn't work at all | Testcase:
Blockedby: | Blocking:
Related: |
-------------------------------------+--------------------------------------
On my Fedora 17 box, I'm using gold as the default linker, and I cannot
link any packages built with GHC 7.6 because GHC seems to be passing an
invalid argument to the linker.
{{{
$ cabal install -v random
[... blah blah blah ...]
/bin/ld -x --hash-size=31 --reduce-memory-overheads -r -o
dist/build/HSrandom-1.0.1.1.o dist/build/System/Random.o
/bin/ld: --hash-size=31: unknown option
/bin/ld: use the --help option for usage information
Failed to install random-1.0.1.1
}}}
This does not happen with GHC 7.4 or earlier.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7201>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs