[commit: packages/bytestring] master, revert-46-patch-1, wip/nix-local-build: `cabal repl` error (98d7782)

git at git.haskell.org git at git.haskell.org
Tue May 3 22:42:43 UTC 2016


Repository : ssh://git@git.haskell.org/bytestring

On branches: master,revert-46-patch-1,wip/nix-local-build
Link       : http://git.haskell.org/packages/bytestring.git/commitdiff/98d77823f144856de77a38fb2964788614d26c35

>---------------------------------------------------------------

commit 98d77823f144856de77a38fb2964788614d26c35
Author: Athan Clark <athan.clark at gmail.com>
Date:   Thu Mar 19 11:18:21 2015 -0600

    `cabal repl` error
    
    I'm not sure if this is an intended issue or flaw, but on GHC-7.8.3 running on an Intel i7 in linux, I could not seem to get into an interactive repl unless `-fobject-code` was also added - the `Data.ByteString.Builder.ASCII` module wasn't compiling. Here is the error for more detail: http://lpaste.net/128004


>---------------------------------------------------------------

98d77823f144856de77a38fb2964788614d26c35
 bytestring.cabal | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bytestring.cabal b/bytestring.cabal
index 40fa4ad..5eb5a41 100644
--- a/bytestring.cabal
+++ b/bytestring.cabal
@@ -125,6 +125,7 @@ library
                     -fmax-simplifier-iterations=10
                     -fdicts-cheap
                     -fspec-constr-count=6
+                    -fobject-code
 
   c-sources:         cbits/fpstring.c
                      cbits/itoa.c



More information about the ghc-commits mailing list