[GHC] #10131: improve error message for build on noexec-mounted device
GHC
ghc-devs at haskell.org
Mon Mar 2 21:32:52 UTC 2015
#10131: improve error message for build on noexec-mounted device
-------------------------------------+-------------------------------------
Reporter: lspitzner | Owner:
Type: feature | Status: new
request | Milestone:
Priority: normal | Version: 7.8.4
Component: Compiler | Operating System: Unknown/Multiple
Keywords: | Type of failure: Other
Architecture: | Blocked By:
Unknown/Multiple | Related Tickets:
Test Case: |
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
i was building (in a sandbox) on a ramdisk that was accidentally mounted
with the noexec flag. for example during the install of `vector`, you get
an error like
Loading package primitive-0.5.4.0 ... <command line>: can't load
.so/.DLL for: somepath/.cabal-sandbox/lib/x86_64-linux-
ghc-7.8.4/primitive-0.5.4.0/libHSprimitive-0.5.4.0-ghc7.8.4.so (somepath
/.cabal-sandbox/lib/x86_64-linux-
ghc-7.8.4/primitive-0.5.4.0/libHSprimitive-0.5.4.0-ghc7.8.4.so: failed to
map segment from shared object)
relevant output of `mount`:
none on somepath type tmpfs
(rw,nosuid,nodev,noexec,relatime,gid=103,user=lspitzner)
this is by far no minimal test-case, but i hope my description of the
problem is sufficient. if not, i can provide verbose output for my or
other test-cases.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10131>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list