#4151: Validate fails with GhcRtsWithPapi = YES
---------------------------------+------------------------------------------
Reporter: dmp | Owner: dmp
Type: bug | Status: new
Priority: normal | Component: Build System
Version: 6.13 | Keywords: papi
Os: Unknown/Multiple | Testcase:
Architecture: Unknown/Multiple | Failure: Other
---------------------------------+------------------------------------------
Validation fails when validating with PAPI support (i.e. GhcRtsWithPapi =
YES
in validate.mk). The problem is that the posix symbols are defined by a
header
included from papi.h. Compilation then fails because these symbols are
redefined in PosixSource.h. This patch adds a #undef for each symbol
before
defining it to what is needed for GHC. For some reason this is only
triggered
by a validate run, not a normal compilation.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4151>
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