[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Crash when launched -nw on Mac OS X, compiled with gcc 4.0.1
From: |
Richard Stallman |
Subject: |
Re: Crash when launched -nw on Mac OS X, compiled with gcc 4.0.1 |
Date: |
Mon, 24 Jul 2006 10:42:01 -0400 |
When launched in Terminal GNU Emacsen 22.0.50 and 23.0.0 both crash
after some time. In gdb GNU Emacs continues until:
Program received signal EXC_BAD_INSTRUCTION, Illegal instruction/
operand.
0x001f26d8 in Fsqrt (arg=501192) at floatfns.c:561
561 IN_FLOAT (d = sqrt (d), "sqrt", arg);
Please examine relevant variables (you can start with d)
to determine what's actually happening in the function.
After a few 'make distclean ; ./configure ... ; make' cycles it seems
to be this gcc option that makes GNU Emacs crash when running with no
windows: -mpowerpc-gpopt. This is again true for both GNU Emacsen
22.0.50 and 23.0.0. More optimisation like -O2 works.
This could be a GCC bug. However, the only way to track it down
is to find the place where the compiled code is wrong. To do that,
you need to debug the program in the usual way.
If you put a breakpoint at Fsqrt and step thru, what do you see?
- Crash when launched -nw on Mac OS X, compiled with gcc 4.0.1, Peter Dyballa, 2006/07/23
- Re: Crash when launched -nw on Mac OS X, compiled with gcc 4.0.1,
Richard Stallman <=
- Re: Crash when launched -nw on Mac OS X, compiled with gcc 4.0.1, Peter Dyballa, 2006/07/24
- Re: Crash when launched -nw on Mac OS X, compiled with gcc 4.0.1, Richard Stallman, 2006/07/24
- Re: Crash when launched -nw on Mac OS X, compiled with gcc 4.0.1, Peter Dyballa, 2006/07/25
- Re: Crash when launched -nw on Mac OS X, compiled with gcc 4.0.1, Nick Roberts, 2006/07/25
- Re: Crash when launched -nw on Mac OS X, compiled with gcc 4.0.1, Peter Dyballa, 2006/07/25
- Re: Crash when launched -nw on Mac OS X, compiled with gcc 4.0.1, Nick Roberts, 2006/07/25
- Re: Crash when launched -nw on Mac OS X, compiled with gcc 4.0.1, YAMAMOTO Mitsuharu, 2006/07/25
- Re: Crash when launched -nw on Mac OS X, compiled with gcc 4.0.1, Richard Stallman, 2006/07/26
- Re: Crash when launched -nw on Mac OS X, compiled with gcc 4.0.1, Peter Dyballa, 2006/07/26
- Re: Crash when launched -nw on Mac OS X, compiled with gcc 4.0.1, Richard Stallman, 2006/07/27