[GHC] #7708: sys/cpuset.h cannot be found on FreeBSD
GHC
cvs-ghc at haskell.org
Tue Feb 26 01:49:12 CET 2013
#7708: sys/cpuset.h cannot be found on FreeBSD
---------------------------------+------------------------------------------
Reporter: kazu-yamamoto | Owner:
Type: bug | Status: patch
Priority: normal | Milestone:
Component: Build System | Version: 7.7
Keywords: | Os: FreeBSD
Architecture: Unknown/Multiple | Failure: Building GHC failed
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Comment(by kazu-yamamoto):
Manpage of cpuset_getaffinity() says:
{{{
#include <sys/param.h>
#include <sys/cpuset.h>
}}}
This bug happens because the check program only includes sys/cpuset.h. The
patch first checks whether or not sys/param.h exist. If exists, check
whether or not sys/cpuset.h exist with sys/param.h included.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7708#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list