#4999: build fails on powerpc: error: 'ObjectCode' has no member named 'misalignment' ------------------------+--------------------------------------------------- Reporter: nomeata | Owner: Type: bug | Status: new Priority: normal | Component: Runtime System Version: 7.0.2 | Keywords: Testcase: | Blockedby: Os: Linux | Blocking: Architecture: powerpc | Failure: Building GHC failed ------------------------+---------------------------------------------------
Comment(by erikd): It seems like the logic which sets USE_MMAP: {{{ #if defined(linux_HOST_OS ) || defined(freebsd_HOST_OS) || \ defined(dragonfly_HOST_OS) || defined(netbsd_HOST_OS ) || \ defined(openbsd_HOST_OS ) || \ ( defined(darwin_HOST_OS ) && !defined(powerpc_HOST_ARCH) ) || \ defined(kfreebsdgnu_HOST_OS) \ }}} should be changed to: {{{ #if !defined(powerpc_HOST_ARCH) && \ ( defined(linux_HOST_OS ) || defined(freebsd_HOST_OS) || \ defined(dragonfly_HOST_OS) || defined(netbsd_HOST_OS ) || \ defined(openbsd_HOST_OS ) || defined(darwin_HOST_OS ) || \ defined(kfreebsdgnu_HOST_OS) ) \ }}} so that powerpc_HOST_ARCH is tested regardless of the OS. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4999#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org