Re: Problem with cabal's --enable-library-coverage on 7.8.1rc2

2014-03-14 Thread Federico Mastellone
I don’t know the cause of the error, I commented on this related cabal issue I found: https://github.com/haskell/cabal/issues/1700 On Mar 10, 2014, at 14:41, Carter Schonwald wrote: > So, was the issue cabal not catching the linker error? > > > On Mon, Mar 10, 2014 at 12:04 PM, Federico Maste

Re: Problem with cabal's --enable-library-coverage on 7.8.1rc2

2014-03-10 Thread Carter Schonwald
So, was the issue cabal not catching the linker error? On Mon, Mar 10, 2014 at 12:04 PM, Federico Mastellone wrote: > Found the problem, > > I did not have the modules that were used but not exposed enumerated under > "other-modules” on cabal's library definition. This builds OK on 7.6.3 even >

Re: Problem with cabal's --enable-library-coverage on 7.8.1rc2

2014-03-10 Thread Federico Mastellone
Found the problem, I did not have the modules that were used but not exposed enumerated under "other-modules” on cabal's library definition. This builds OK on 7.6.3 even with a correct code coverage report, but fails to build with the linking error under 7.8-rc2. When I add the “other-modules”

Re: Problem with cabal's --enable-library-coverage on 7.8.1rc2

2014-03-09 Thread Carter Schonwald
great! Thanks for taking the time to shrink the bug, look forward to helping on the ticket On Sun, Mar 9, 2014 at 12:32 PM, Federico Mastellone wrote: > With a package of mine that I reduced it to just two modules, the one on > the link below. > I did not file a bug, I wanted to ask here first.

Re: Problem with cabal's --enable-library-coverage on 7.8.1rc2

2014-03-09 Thread Federico Mastellone
With a package of mine that I reduced it to just two modules, the one on the link below. I did not file a bug, I wanted to ask here first. I'll do it now > On 09/03/2014, at 11:41, Carter Schonwald wrote: > > Ok. What cabal package? Have you filed a bug report on ghc trac? > >> On Sunday, Ma

Re: Problem with cabal's --enable-library-coverage on 7.8.1rc2

2014-03-09 Thread Carter Schonwald
Ok. What cabal package? Have you filed a bug report on ghc trac? On Sunday, March 9, 2014, Federico Mastellone wrote: > Downloaded gcc-4.9 binary from http://hpc.sourceforge.net and tested > again with both 7.6.3 and 7.8-rc2 > > Fails with the same error with 7.8-rc2 and does not fail with 7.6.

Re: Problem with cabal's --enable-library-coverage on 7.8.1rc2

2014-03-09 Thread Federico Mastellone
Downloaded gcc-4.9 binary from http://hpc.sourceforge.net and tested again with both 7.6.3 and 7.8-rc2 Fails with the same error with 7.8-rc2 and does not fail with 7.6.3 ld: illegal text reloc in '_enablezmlibraryzmcoveragezm0zi0zi1_Library_sendMsg2_info' to '__hpc_tickboxes_enablezmlibraryzm

Re: Problem with cabal's --enable-library-coverage on 7.8.1rc2

2014-03-07 Thread Carter Schonwald
No. Try real GCC. Follow my linked directions. Xcode GCC is fake. It's clang. Follow my directions please. On Friday, March 7, 2014, Federico Mastellone wrote: > It’s the same error with and without the clang-xcode5-wrapper that is > named as an alternative solution > > On Mar 7, 2014, at 1

Re: Problem with cabal's --enable-library-coverage on 7.8.1rc2

2014-03-07 Thread Federico Mastellone
It’s the same error with and without the clang-xcode5-wrapper that is named as an alternative solution On Mar 7, 2014, at 13:10, Carter Schonwald wrote: > try using real GCC > > i have these directions https://gist.github.com/cartazio/7131371 > > > On Fri, Mar 7, 2014 at 10:47 AM, Federico

Re: Problem with cabal's --enable-library-coverage on 7.8.1rc2

2014-03-07 Thread Carter Schonwald
try using real GCC i have these directions https://gist.github.com/cartazio/7131371 On Fri, Mar 7, 2014 at 10:47 AM, Federico Mastellone wrote: > Hi, > > On Mac OS X 10.9.2 with ghc 7.8.0.20140228 and cabal 1.18.0.3 > > Doing: > cabal configure --enable-library-coverage > cabal build > > Fails