#7267: linux-ppc64: Segfault during stage2 build
---------------------------------+------------------------------------------
Reporter: erikd | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.7 | Keywords:
Os: Linux | Architecture: powerpc64
Failure: Building GHC failed | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Comment(by erikd):
Back to debugging this one. Noticed things like:
{{{
/tmp/ghc16063_0/ghc16063_0.hc:3204:2:
warning: conflicting types for built-in function 'memcpy' [enabled by
default]
}}}
resulting from `compiler/utils/StringBuffer.lhs` which generates
`compiler/utils/StringBuffer.hc` containing:
{{{
ghcFunPtr = ((void * (*)(void *, void *, W_))memcpy);
}}}
however, `memcpy` really has a type:
{{{
void *memcpy(void *dest, const void *src, size_t n);
}}}
with a `const` on the `src` parameter. Pretty sure this is not relevant to
this problem.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7267#comment:1>
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