Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 304848 Details for
Bug 445545
ocamlc fails trying to allocate 34 GB of RAM
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
ocaml-3.10.1-map32bit.patch
ocaml-3.10.1-map32bit.patch (text/plain), 805 bytes, created by
Richard W.M. Jones
on 2008-05-08 11:09:10 UTC
(
hide
)
Description:
ocaml-3.10.1-map32bit.patch
Filename:
MIME Type:
Creator:
Richard W.M. Jones
Created:
2008-05-08 11:09:10 UTC
Size:
805 bytes
patch
obsolete
>diff -ur ocaml-3.10.1.orig/byterun/unix.c ocaml-3.10.1/byterun/unix.c >--- ocaml-3.10.1.orig/byterun/unix.c 2007-11-20 15:47:41.000000000 +0000 >+++ ocaml-3.10.1/byterun/unix.c 2008-05-08 11:54:11.000000000 +0100 >@@ -346,6 +346,10 @@ > > #include <sys/mman.h> > >+#ifndef MAP_32BIT /* Fedora bug 445545 */ >+#define MAP_32BIT 0 >+#endif >+ > char *caml_aligned_mmap (asize_t size, int modulo, void **block) > { > char *raw_mem; >@@ -354,7 +358,7 @@ > > Assert (modulo < Page_size); > raw_mem = (char *) mmap(last_addr, size + Page_size, PROT_READ | PROT_WRITE, >- MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); >+ MAP_32BIT | MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); > if (raw_mem == MAP_FAILED) return NULL; > last_addr = raw_mem + size + 2 * Page_size; > *block = raw_mem;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 445545
: 304848