#7315: Link error while compiling executables ---------------------------------+------------------------------------------ Reporter: bgamari | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.7 Keywords: | Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: None/Unknown Difficulty: Unknown | Testcase: Blockedby: | Blocking: Related: | ---------------------------------+------------------------------------------ Changes (by igloo):
* difficulty: => Unknown Old description: > 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 New description: 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 }}} -- -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7315#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs