guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

111/118: Don't use ADDR_LIMIT_3GB


From: Ludovic Courtès
Subject: 111/118: Don't use ADDR_LIMIT_3GB
Date: Tue, 19 May 2015 14:46:04 +0000

civodul pushed a commit to branch nix
in repository guix.

commit b73de6e49b64d01974649a1e67a77113b768c2b1
Author: Eelco Dolstra <address@hidden>
Date:   Fri Nov 14 14:16:20 2014 +0100

    Don't use ADDR_LIMIT_3GB
    
    This gives 32-bit builds on x86_64-linux more memory.
---
 nix/libstore/build.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/nix/libstore/build.cc b/nix/libstore/build.cc
index 49a6ac9..8d3b216 100644
--- a/nix/libstore/build.cc
+++ b/nix/libstore/build.cc
@@ -2110,7 +2110,7 @@ void DerivationGoal::initChild()
         if (drv.platform == "i686-linux" &&
             (settings.thisSystem == "x86_64-linux" ||
              (!strcmp(utsbuf.sysname, "Linux") && !strcmp(utsbuf.machine, 
"x86_64")))) {
-            if (personality(PER_LINUX32_3GB) == -1)
+            if (personality(PER_LINUX32) == -1)
                 throw SysError("cannot set i686-linux personality");
         }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]