From owner-freebsd-questions Thu Feb 8 19:45:36 2001 Delivered-To: freebsd-questions@freebsd.org Received: from bfs2.ug.cs.sunysb.edu (bfs2.ug.cs.sunysb.edu [129.49.21.4]) by hub.freebsd.org (Postfix) with ESMTP id 2FB9437B65D for ; Thu, 8 Feb 2001 19:45:17 -0800 (PST) Received: from public.ug.cs.sunysb.edu (public.ug.cs.sunysb.edu [129.49.21.112]) by bfs2.ug.cs.sunysb.edu (8.9.3/8.9.3) with ESMTP id WAA33935 for ; Thu, 8 Feb 2001 22:45:16 -0500 (EST) (envelope-from christor@public.ug.cs.sunysb.edu) Received: (from christor@localhost) by public.ug.cs.sunysb.edu (8.11.1/8.8.5) id f193jFZ45690; Thu, 8 Feb 2001 22:45:15 -0500 (EST) From: Rued Christopher MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14979.26570.911569.872294@public.ug.cs.sunysb.edu> Date: Thu, 8 Feb 2001 22:45:14 -0500 (EST) To: freebsd-questions@freebsd.org Subject: gcc running out of swap space during build... X-Mailer: VM 6.72 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Let me first start by explaining why this question is being sent to this list: I was able to compile the same program on the same machine with the same amount of swap space and 128 MB less RAM under 3.3-R. I am now running 4.2-Stable. uname -a: FreeBSD chris 4.2-STABLE FreeBSD 4.2-STABLE #0: Tue Jan 30 10:30:20 EST 2001 chris@chris:/usr/obj/usr/src/sys/ROVER i386 Now, on to the problem: When I try to compile XSB (a Prolog programming language), it gets up to a point where it tries to compile `builtin.c', and then starts eating up memory at a frightening rate. Eventually, I run out of swap space and it dies. The exact command looks like this: gcc -c -O4 -fomit-frame-pointer -finline-functions \ -Winline -m486 -ansi -pedantic -Wall builtin.c Any clue why this is happening? If you would like to try to compile XSB (for testing this on your own machine) it is available for download from: http://download.sourceforge.net/xsb/XSB-2.2.tar.gz. Any help you can give is greatly appreciated. -Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message