
#10761: GHC panic when compiling vimus: failed to map segment from shared object -------------------------------------+------------------------------------- Reporter: haasn | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.2 Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Compile-time | (amd64) crash | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by haasn): I figured out how to trigger whether or not that sample fails: It works if I switch to the “vanilla” GCC profile (x86_64-pc-linux- gnu-4.9.3-vanilla, which has no hardening options enabled). It fails if I switch to the “hardened” GCC profile , even if I pick a version that has PIE and SSP disabled by default (x86_64-pc-linux- gnu-4.9.3-hardenednopiessp). So this particular failure, apart from potentially being a bug in either vimus or Cabal, is also triggered by the usage of hardened GCC. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10761#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler