From owner-freebsd-questions Mon May 27 17:11:51 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA11611 for questions-outgoing; Mon, 27 May 1996 17:11:51 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id RAA11605 for ; Mon, 27 May 1996 17:11:47 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id RAA09754; Mon, 27 May 1996 17:09:42 -0700 From: Terry Lambert Message-Id: <199605280009.RAA09754@phaeton.artisoft.com> Subject: Re: objective-C runtime system of gcc 2.7.2 doesn't work on FreeBSD? To: apl@cs.hut.fi (Antti-Pekka Liedes) Date: Mon, 27 May 1996 17:09:42 -0700 (MST) Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: from "Antti-Pekka Liedes" at May 26, 96 10:57:43 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > I already posted about this to comp.lang.objective-c, but as this is > probably an OS related problem, I decided to ask about it in here too. > > The objective-C runtime system of gcc 2.7.2 produces a floating point > exception in sendmsg.c line 210 (__builtin_return). This doesn't happen > with gcc 2.6.3, only with 2.7.2, on both FreeBSD 2.1.0R and 2.2 960501 > snapshot. > > I know there is a similar problem with gcc 2.7.2 on Linux. It is fixed > there by either linking with -lieee or changing libc to a newer version. > But what could be a solution on FreeBSD? Manually disable the FP exception causing the problem by calling the fpsetmask() function. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.