[Wine] gcc1: out of memory error when installing wine

sandy123 wineforum-user at winehq.org
Tue Sep 6 16:37:47 CDT 2011


I am installing wine 1.1.26 on suse 9.2.  I am installing it from source.  I can't get it to install.  Everything goes well until I get this far.  This is the first error that I got:
gcc -c -I. -I. -I../../../include -I../../../include   -D_REENTRANT -fPIC -Wall-pipe -fno-strict-aliasing -Wwrite-strings -Wpointer-arith  -g -O2  -o package.o package.c

gcc1: out of memory allocating 287975456 bytes after a total of 22175744 bytes
make[2]: *** [package.o] Error 1
make[2]: Leaving directory `/home/Gytatan/Desktop/allneededinstallwine/wine-1.1.26/dlls/msi/tests'
make[1]: *** [msi/tests] Error 2

The next time I tried I got this error at the same place in the installation, but it didn't mention out of memory:

gcc -c -I. -I. -I../../../include -I../../../include   -D_REENTRANT -fPIC -Wall-pipe -fno-strict-aliasing -Wwrite-strings -Wpointer-arith  -g -O2  -o package.o package.c
{standard input}: Assembler messages:
{standard input}:46104: Warning: end of file not at end of a line; newline inserted
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <URL:http://www.suse.de/feedback> for instructions.
make[2]: *** [package.o] Error 1
make[2]: Leaving directory `/home/Gytatan/Desktop/allneededinstallwine/wine-1.1.26/dlls/msi/tests'
{standard input}:47451: Error: unbalanced parenthesis in operand 1.
make[1]: *** [msi/tests] Error 2
make[1]: Leaving directory `/home/Gytatan/Desktop/allneededinstallwine/wine-1.1.26/dlls'
make: *** [dlls] Error 2

Compilation failed, aborting install.

Possible reason to get that error was that there wasn't enough space to install.  I changed my ulimit to unlimited, then I did grep MemTotal/proc/meminfo to find out my memory and this is what I got: 
core file size        (blocks, -c) 0
data seg size         (kbytes, -d) unlimited
file size             (blocks, -f) unlimited
max locked memory     (kbytes, -l) 32
max memory size       (kbytes, -m) unlimited
open files                    (-n) 1024
pipe size          (512 bytes, -p) 8
stack size            (kbytes, -s) unlimited
cpu time             (seconds, -t) unlimited
max user processes            (-u) 2045
virtual memory        (kbytes, -v) unlimited

If I understand right, the part wine installs into is supposed to be this part, and this is the memory I show in that: df -h $HOME
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda2              37G  3.6G   34G  10% /
Can you help? Please?







More information about the wine-users mailing list