Index: src/closures.c
--- src/closures.c.orig
+++ src/closures.c
@@ -878,6 +878,7 @@ dlmmap (void *start, size_t length, int prot,
       return ptr;
     }
 
+#if 0
   if (execfd == -1 && is_emutramp_enabled ())
     {
       ptr = mmap (start, length, prot & ~PROT_EXEC, flags, fd, offset);
@@ -896,6 +897,7 @@ dlmmap (void *start, size_t length, int prot,
 	 with ((prot & ~PROT_WRITE) | PROT_EXEC) and mremap with
 	 MREMAP_DUP and prot at this point.  */
     }
+#endif
 
   if (execsize == 0 || execfd == -1)
     {
