emacs-pretest-bug
[Top][All Lists]
Advanced

[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: Nick Roberts
Subject: Re: Crash when launched -nw on Mac OS X, compiled with gcc 4.0.1
Date: Wed, 26 Jul 2006 09:33:10 +1200

 > > What happens if you start Emacs as a graphical application and  
 > > evaluate
 > > (sqrt 527076) in the scratch buffer?
 > 
 >      pete 317 /\ ./emacs -Q --debug-init
 >      Fatal error (4)Illegal instruction
 >
 > Between these two lines I let the X client compute the square root --  
 > after some seconds it crashed!

So calculating sqrt is the cause and not the symptom.

 > The GCC docs say about -mpowerpc-gpopt:
 > 
 >      The -mpowerpc option allows GCC to generate instructions that are  
 > found only in the 32-bit subset of the PowerPC architecture.  
 > Specifying -mpowerpc-gpopt implies -mpowerpc and also allows GCC to  
 > use the optional PowerPC architecture instructions in the General  
 > Purpose group, including floating-point square root. Specifying - 
 > mpowerpc-gfxopt implies -mpowerpc and also allows GCC to use the  
 > optional PowerPC architecture instructions in the Graphics group,  
 > including floating-point select.

My guess would be that your processor doesn't support -mpowerpc-gpopt

 >...
 > Since leaving away -mpowerpc-gpopt leads to an executable that runs  
 > without windows it must be either a bug in the (Apple) compiler or in  
 > my hardware, isn't it? (Configuring with the Fink supplied tools gcc  
 > 4.1.0, autoconf 2.60, automake 1.9 does not seem to work.)

I don't think -mpowerpc-gpopt should be needed for a graphical build
but perhaps someone more familiar with Apple computers can comment.


-- 
Nick                                           http://www.inet.net.nz/~nickrob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]