pkgsrc-Bugs archive

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

Re: pkg/35015: devel/cmake needs a large datasize to compile



The following reply was made to PR pkg/35015; it has been noted by GNATS.

From: Klaus Heinz <k.heinz%oktsieben.kh-22.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: salo%NetBSD.org@localhost
Subject: Re: pkg/35015: devel/cmake needs a large datasize to compile
Date: Wed, 3 Oct 2007 16:34:19 +0200

 Lubomir Sedlacik wrote:
 
 >  no, there is a problem with gcc 3.x.  please see:
 >  http://releng.netbsd.org/cgi-bin/req-pkgsrc.cgi?show=1843
 >  for further details.
 
 More input:
 
   $ uname -mrs 
   NetBSD 3.1 i386
   $ gcc --version
   gcc (GCC) 3.3.3 (NetBSD nb3 20040520)
   Copyright (C) 2003 Free Software Foundation, Inc.
   This is free software; see the source for copying conditions.  There is
   NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
   PURPOSE.
 
 Building the current version of devel/cmake (cmake-2.4.6nb3) breaks here:
 
   [ 45%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmDependsJava.o
   [ 46%] Building CXX object 
Source/CMakeFiles/CMakeLib.dir/cmDependsJavaLexer.o
   [ 46%] Building CXX object 
Source/CMakeFiles/CMakeLib.dir/cmDependsJavaParser.o
   cc1plus: out of memory allocating 264177376 bytes after a total of 6488420 
bytes
   gmake[2]: *** [Source/CMakeFiles/CMakeLib.dir/cmDependsJavaParser.o] Error 1
   gmake[1]: *** [Source/CMakeFiles/CMakeLib.dir/all] Error 2
   gmake: *** [all] Error 2
   *** Error code 2
 
 
 After adding
 
   UNLIMIT_RESOURCES=     datasize
 
 to the pkgsrc Makefile it works for me:
 
   [ 45%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmDependsJava.o
   [ 46%] Building CXX object 
Source/CMakeFiles/CMakeLib.dir/cmDependsJavaLexer.o
   [ 46%] Building CXX object 
Source/CMakeFiles/CMakeLib.dir/cmDependsJavaParser.o
   [ 47%] Building CXX object 
Source/CMakeFiles/CMakeLib.dir/cmDependsJavaParserHelper.o
   [ 47%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmExprLexer.o
   [ 48%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmExprParser.o
 
 The same applies if I check out devel/cmake (cmake-2.4.2nb1) from
 2006-10-01 but the rest of pkgsrc from today.
 
 
 Lubomir, how did you come to the conclusion that the problem is related
 to optimisation?
 
 ciao
      Klaus
 



Home | Main Index | Thread Index | Old Index