Re: [GHC] #7442: [PATCH] Fix broken -fPIC on Darwin/PPC
#7442: [PATCH] Fix broken -fPIC on Darwin/PPC -+-- Reporter: PHO | Owner: Type: bug | Status: patch Priority: normal| Milestone: Component: Compiler | Version: 7.7 Keywords:| Os: MacOS X Architecture: powerpc | Failure: Building GHC failed Difficulty: Unknown |Testcase: Blockedby:|Blocking: Related:| -+-- Comment(by pho@…): commit 2334112f46a02a15b4e7594462ffa476a300167b {{{ Author: PHO p...@cielonegro.org Date: Sat Nov 24 20:07:27 2012 +0900 Fix broken -fPIC on Darwin/PPC (#7442) The workaround described in note [darwin-x86-pic] applies to Darwin/PPC too. compiler/cmm/CmmPipeline.hs | 16 1 files changed, 12 insertions(+), 4 deletions(-) }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7442#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #7442: [PATCH] Fix broken -fPIC on Darwin/PPC
#7442: [PATCH] Fix broken -fPIC on Darwin/PPC --+- Reporter: PHO | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler |Version: 7.7 Resolution: fixed| Keywords: Os: MacOS X | Architecture: powerpc Failure: Building GHC failed | Difficulty: Unknown Testcase: | Blockedby: Blocking: |Related: --+- Changes (by igloo): * status: patch = closed * resolution: = fixed Comment: Applied, thanks -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7442#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #7442: [PATCH] Fix broken -fPIC on Darwin/PPC
#7442: [PATCH] Fix broken -fPIC on Darwin/PPC -+-- Reporter: PHO | Owner: Type: bug | Status: patch Priority: normal| Milestone: Component: Compiler | Version: 7.7 Keywords:| Os: MacOS X Architecture: powerpc | Failure: Building GHC failed Difficulty: Unknown |Testcase: Blockedby:|Blocking: Related:| -+-- Changes (by PHO): * status: infoneeded = patch Comment: You are right. That explains why my first patch produced a non-working binary when I actually turned `DYNAMIC_BY_DEFAULT` to `YES`. So I updated my [https://github.com/phonohawk/ghc/commit/2334112f46a02a15b4e7594462ffa476a300167b patch]: {{{ % git fetch git://github.com/phonohawk/ghc.git ticket-7442 }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7442#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #7442: [PATCH] Fix broken -fPIC on Darwin/PPC
#7442: [PATCH] Fix broken -fPIC on Darwin/PPC -+-- Reporter: PHO | Owner: Type: bug | Status: infoneeded Priority: normal| Milestone: Component: Compiler | Version: 7.7 Keywords:| Os: MacOS X Architecture: powerpc | Failure: Building GHC failed Difficulty: Unknown |Testcase: Blockedby:|Blocking: Related:| -+-- Changes (by simonmar): * status: patch = infoneeded * difficulty: = Unknown Comment: On darwin/x86 we needed a different fix, see `Note [darwin-x86-pic]` in `compiler/cmm/CmmPipeline.hs`. I think you might need to do the same on darwin/PPC, please take a look and see what you think. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7442#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #7442: [PATCH] Fix broken -fPIC on Darwin/PPC
#7442: [PATCH] Fix broken -fPIC on Darwin/PPC +--- Reporter: PHO | Owner: Type: bug | Status: patch Priority: normal | Component: Compiler Version: 7.7 | Keywords: Os: MacOS X | Architecture: powerpc Failure: Building GHC failed | Blockedby: Blocking: |Related: +--- Changes (by PHO): * status: new = patch -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7442#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs