From owner-freebsd-hackers Thu Mar 25 16:53:49 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp2.vnet.net (smtp2.vnet.net [166.82.1.32]) by hub.freebsd.org (Postfix) with ESMTP id 3056314E95 for ; Thu, 25 Mar 1999 16:53:46 -0800 (PST) (envelope-from rivers@dignus.com) Received: from dignus.com (ponds.vnet.net [166.82.177.48]) by smtp2.vnet.net (8.9.1a/8.9.1) with ESMTP id TAA03303; Thu, 25 Mar 1999 19:55:04 -0500 (EST) Received: from lakes.dignus.com (lakes.dignus.com [10.0.0.3]) by dignus.com (8.9.2/8.8.5) with ESMTP id TAA33502; Thu, 25 Mar 1999 19:53:20 -0500 (EST) Received: (from rivers@localhost) by lakes.dignus.com (8.9.2/8.6.9) id TAA24508; Thu, 25 Mar 1999 19:53:19 -0500 (EST) Date: Thu, 25 Mar 1999 19:53:19 -0500 (EST) From: Thomas David Rivers Message-Id: <199903260053.TAA24508@lakes.dignus.com> To: dennis@etinc.com, hackers@FreeBSD.ORG Subject: Re: Compiler problems In-Reply-To: <199903260032.TAA15414@etinc.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Quite frequently, particularly when compiling a large program with quite a few > included modules, I get random assembler errors. Running the make again > works fine. > > Is this a memory or swap space problem? Its beyond annoying. > > Dennis > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > Gcc isn't all that great at ensuring the ASM source is actually written to the temp directory. If your temp directory is full, gcc blindly goes ahead and "writes" the file - not checking return codes... closes the file and then calls the assembler.... The assembler only gets partial sources... and thus, produces an error. I believe you can instruct gcc to use a different temp directory - or perhaps the -pipe option (which pipes the output of the compiler to the assembler) would be a work-around for you. - Dave Rivers - To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message