[GHC] #7792: unregisterised build broken
GHC
cvs-ghc at haskell.org
Sun Mar 24 17:22:58 CET 2013
#7792: unregisterised build broken
---------------------------------+------------------------------------------
Reporter: igloo | Owner:
Type: bug | Status: new
Priority: highest | Milestone: 7.8.1
Component: Compiler | Version: 7.7
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Unregisterised builds are currently broken: Compiling C calls in CMM files
fails with e.g.
{{{
error: ‘debugBelch’ undeclared
}}}
The C call is being translated into
{{{
_cH = (W_)&debugBelch;
_cG = (W_)&stg_ap_0_ret_str;
((void (*)(void *))_cH)((void *)_cG);;
}}}
so `pprForeignCall` isn't getting called, and thus doesn't add the
prototype for `debugBelch`.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7792>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list