#4973: building ghc7.0.1.20110217 under x86 solaris fails ----------------------------------+----------------------------------------- Reporter: maeder | Owner: igloo Type: bug | Status: patch Priority: highest | Milestone: 7.2.1 Component: Compiler | Version: 7.0.2 Resolution: | Keywords: Testcase: | Blockedby: Difficulty: | Os: Solaris Blocking: | Architecture: x86 Failure: Building GHC failed | ----------------------------------+-----------------------------------------
Comment(by simonmar): If we have to use `-mimpure-text` I think that indicates a bug somewhere else. It means we have relocations that would modify the text section, i.e. code that is not position-independent. Instead of working around the bug with `-mimpure-text` we should fix the bug in `-fPIC`. Using the workaround will affect performance (shared libs will not really be shared). At the very least, if fixing `-fPIC` is not practical right now, we could apply the workaround with a big comment explaining why it is a workaround, and file a separate ticket for the real bug. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4973#comment:38> 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