#7234: Linker spews useless error message and failes.
---------------------------------+------------------------------------------
    Reporter:  timthelion        |        Owner:                  
        Type:  bug               |       Status:  closed          
    Priority:  normal            |    Component:  Build System    
     Version:  7.4.2             |   Resolution:  invalid         
    Keywords:                    |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown    
    Testcase:                    |    Blockedby:                  
    Blocking:                    |      Related:                  
---------------------------------+------------------------------------------
Changes (by colah):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 This isn't a GHC bug but an ImplicitCAD one. It's the result of me being
 sloppy when merging someone's work into master: they created a file
 (Graphics.Implicit.Export.TextBuilderUtils) and I forgot to add it to
 ImplicitCAD's cabal file. Thus cabal didn't install that module and so
 ImplicitCAD seems to install fine, but if you try to build something using
 ImplicitCAD, part of it is missing and so it fails in linking.

 If you look carefully at the error messages from ld, you'll see:


 {{{
 
implicitzm0zi0zi2_GraphicsziImplicitziExportziTextBuilderUtils_zdwbuildTruncFloat_closure
                   Graphics  Implicit  Export  TextBuilderUtils
 buildTruncFloat
                   Graphics.Implicit.Export.TextBuilderUtils
 (buildTruncFloat)
 }}}

 which is the missing file and exports a function buildTruncFloat.

 You don't see this if you work in the ImplicitCAD folder because it uses
 the local copy, so this didn't get caught earlier.

 Sorry about any confusion and thanks for catching this bug!

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7234#comment:4>
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

Reply via email to