#5357: ghc-7.2.1-rc1 broke unregisterised build
----------------------------------+-----------------------------------------
Reporter: slyfox | Owner: simonmar
Type: bug | Status: new
Priority: highest | Milestone: 7.4.1
Component: Compiler | Version:
Resolution: | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: Building GHC failed | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: | Related:
----------------------------------+-----------------------------------------
Comment(by simonmar):
commit 0545b5500c19b7266046447c1352e936a9ee7c99
{{{
Author: Simon Marlow <[email protected]>
Date: Wed Jan 4 13:29:14 2012 +0000
dsCImport (CLabel): drop foralls when checking for FunPtr
We were mislabelling some foreign imports as IsData rather than
IsFunction, because the type was forall a. FunPtr (... a ...).
Eventually this gave rise to these obscure error when compiling
unregisterised:
libraries/base/Foreign/Marshal/Alloc.hc:473:0:
warning: built-in function ‘free’ declared as non-function
libraries/base/Foreign/Marshal/Alloc.hc:1004:0:
error: ‘free’ redeclared as different kind of symbol
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5357#comment:13>
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