[GHC] #10761: GHC panic when compiling vimus: failed to map segment from shared object

GHC ghc-devs at haskell.org
Sat Aug 8 22:05:59 UTC 2015


#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):

 Update: Turns out this particular failure was caused by /tmp being mounted
 ‘noexec’. I've remounted it without that option and now I get a different
 panic in the same place:

 {{{
 [38 of 39] Compiling Vimus.Command    ( src/Vimus/Command.hs,
 dist/build/Vimus/Command.o )
 ghc: panic! (the 'impossible' happened)
   (GHC version 7.10.2 for x86_64-unknown-linux):
         Loading temp shared object failed: /tmp/ghc18764_0/libghc_39.so:
 undefined symbol: nm_getyx
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10761#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list