#4999: build fails on powerpc: error: 'ObjectCode' has no member named 'misalignment' -------------------------------+-------------------------------------------- Reporter: nomeata | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Runtime System | Version: 7.0.2 Keywords: | Testcase: Blockedby: | Difficulty: Os: Linux | Blocking: Architecture: powerpc | Failure: Building GHC failed -------------------------------+--------------------------------------------
Comment(by erikd): Ok, with that bad patch chunk removed, it compiles, with these warnings: {{{ rts/Linker.c:1891:16: error: 'misalignment' may be used uninitialized in this function rts/Linker.c: In function 'loadObj': rts/Linker.c:2066:7: error: 'misalignment' may be used uninitialized in this function }}} The stage one compile completes, but it errors out in stage 2 when compling the vector library. Looking at the code in rts/Linker.c, misalignment is caclucaled by a function machoGetMisalignment() which seems to be darwin_HOST_OS specific. We need the powerpc-linux version of that function. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4999#comment:7> 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