crash in config.guess on Power Mac G5 under Mac OS X 10.4.6
vincent at vinc17.org
Fri May 19 23:05:27 CEST 2006
On 2006-05-19 13:58:19 -0500, Gabriel Dos Reis wrote:
> Vincent Lefevre <vincent at vinc17.org> writes:
> | On 2006-05-19 18:37:42 +0200, Torbjorn Granlund wrote:
> | > Vincent Lefevre <vincent at vinc17.org> writes:
> | >
> | > On 2006-05-19 15:46:58 +0200, Torbjorn Granlund wrote:
> | > > Please look at the code. Setting up signal handling seems risky,
> | > > and will likely cause more breakage than it fixes.
> | >
> | > Why?
> | >
> | > Systems might not have signals, the include files vary, we might
> | > not even be running Unix, etc, etc.
> | Wrong! The <signal.h> header was even in K&R C.
> That hardly means it works correctly and does what you want.
But at least, this would fix the problem on a number of systems
(and in particular, probably Mac OS X, well... I hope so). On the
other systems, if a bad instruction doesn't send a signal, then
there wouldn't be any change compared to the current behavior.
But then, the only way to fix the problem for all possible systems
would be not to run the code that has a bad instruction.
BTW, the current behavior is bad on Linux too, since a core dump may
be generated and fill the disk space. And asking the users to disable
core dumps is a bad idea, as they are useful for debugging and for
Vincent Lefèvre <vincent at vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
More information about the gmp-bugs