Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 2000 14:31:42 +0200
From:      Martin Cracauer <cracauer@cons.org>
To:        Yuan-Chen Cheng <ycheng@beta.wsl.sinica.edu.tw>
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: gnu/13438: objc forward core dump using system cc
Message-ID:  <20000327143141.A17693@cons.org>
In-Reply-To: <200003271010.CAA14968@freefall.freebsd.org>; from ycheng@beta.wsl.sinica.edu.tw on Mon, Mar 27, 2000 at 02:10:09AM -0800
References:  <200003271010.CAA14968@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In <200003271010.CAA14968@freefall.freebsd.org>, Yuan-Chen Cheng wrote: 
> The following reply was made to PR gnu/13438; it has been noted by GNATS.
> 
> From: Yuan-Chen Cheng <ycheng@beta.wsl.sinica.edu.tw>
> To: freebsd-gnats-submit@FreeBSD.org, ycheng@sinica.edu.tw
> Cc:  
> Subject: Re: gnu/13438: objc forward core dump using system cc
> Date: Mon, 27 Mar 2000 18:09:15 +0800
> 
>  no more core dump on freebsd 4.0-RELEASE (on K6)
>  but the output value is still wrong.

This is most probably an occurance of a double casted to int, but
being too big for the int. (A reason why exception can be good, BTW).

If you'd like to investigate, you could build a libgobjc.a with debug,
then insert
  fpsetmask(FP_X_INV);
at the beginning of main(), then run the program linked with the -g
library in gdb and see which source line thows the exception.

Martin
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer@cons.org> http://www.cons.org/cracauer/
  Tel.: (private) +4940 5221829 Fax.: (private) +4940 5228536


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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