Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Apr 1995 11:38:13 +0200
From:      Julian Howard Stacey <jhs@regent.e-technik.tu-muenchen.de>
To:        ports@FreeBSD.org
Subject:   Building for Sather-1.0.5 - Memory Intensive ?
Message-ID:  <199504210938.LAA18534@vector.eikon.e-technik.tu-muenchen.de>

next in thread | raw e-mail | index | archive | help

Making Sather can consume all my swap (64M) while compiling, 
thus it can prejudice other tasks running on the same machine.

Background 
.ctm_status=ports-cur 290

ps -laxwwhm | more
  UID   PID  PPID CPU PRI NI   VSZ  RSS WCHAN  STAT TT       TIME COMMAND
  200 18439 18438   5 -18  0 31224 4476 -      T    p3    2:13.63 ../Boot/cs -ho
me .. -com cs.commands -o cs -fast -only_reachable

A remake of the tree, after I broke the previous make with a ^C , as there 
was no memory left to prepare this mail:

make -i 
.....
===>  Building for Sather-1.0.5
if [ ! -z "" ]; then  echo "You must turn off the SATHER_COMMANDS environment variable.";  exit 1;  fi
cd Boot/cs.code; make CC='gcc' CFLAGS='-O2' CS='cs'
`../cs' is up to date.
cd Compiler; ../Boot/cs -home .. -com cs.commands -o cs -fast -only_reachable
^Z
Suspended


The previous overnight make had got to here before going wrong:
cd /usr/ports;make -i
........
gcc -O2 -c code9.c
gcc -O2 -c code10.c
gcc -O2 -o ../cs globals.o code0.o code1.o code2.o code3.o code4.o code5.o code6.o code7.o code8.o code9.o code10.o  ../../System/base.a ../../System/GC/gc.a -lm
cd Compiler; ../Boot/cs -home .. -com cs.commands -o cs -fast -only_reachable
cd Test; ../Compiler/cs -home .. -com tests.commands -o test; ./test>test-output
Class AREF{INT} passed all checkable tests.
Class ARRAY2 passed all checkable tests.
Class ARRAY3 passed all checkable tests.
Class VEC failed test 2 (str)
Class VEC failed test 3 (str)
Class VEC failed test 4 (str)
Class VEC failed test 7 (dot)
Class VEC failed test 30 (min_value)
Class MAT passed all checkable tests.
Class FSTR passed all checkable tests.
Class INT passed all checkable tests.
Class RND passed all checkable tests.
Class BOOL passed all checkable tests.
Class CHAR passed all checkable tests.
Class FLTD passed all checkable tests.
Class ARRAY{T} passed all checkable tests.
Class Misc failed test 11 (value aset/aget)
cd Test;  echo "Compiling 1st..." ;  ../Compiler/cs -com ../Compiler/cs.commands -home .. -output_C -o cs -O -deterministic -check all;  mv cs first.cs;  echo "Compiling 2nd..." ;  ./first.cs     -com ../Compiler/cs.commands -home .. -output_C -o cs -O -deterministic -check all;  mv cs first.cs;  rm -f -r first.cs.code;  mv cs.code first.cs.code;  echo "Compiling 3rd..." ;  ./first.cs     -com ../Compiler/cs.commands -home .. -output_C -o cs -O -deterministic -check all;  echo "Checking for fixed point..." ;  cmp cs.code/globals.c first.cs.code/globals.c;  cmp cs.code/decs.h first.cs.code/decs.h;  cmp cs.code/code0.c first.cs.code/code0.c;  cmp cs.code/code1.c first.cs.code/code1.c;  cmp cs.code/code2.c first.cs.code/code2.c;  cmp cs.code/code3.c first.cs.code/code3.c;  cmp cs.code/code4.c first.cs.code/code4.c;  cmp cs.code/code5.c first.cs.code/code5.c;  echo "Everything okay, cleaning up..." ;  rm -f -r cs.code first.cs.code first.cs cs
Compiling 1st...
Compiling 2nd...
Compiling 3rd...


Julian S



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504210938.LAA18534>