
On Wed, May 03, 2006 at 05:56:18PM +0200, Georg Sauthoff wrote:
On Wed, May 03, 2006 at 11:50:46AM +0100, Simon Marlow wrote:
Hi, [..]
Try running GHC with -v, see whether the -fomit-frame-pointer flag is being passed to gcc. If not, try to find out why - it should be added by code in ghc/compiler/main/DriverFlags.hs.
Ok, did that - and gcc gets the -fomit-frame-pointer flag. Log is attached.
obviously, this raises suspicion that the Sun gcc[1] ignores the -fomit-frame-pointer flag. A minimal test case on solaris/x86 and linux/x86 confirms this suspicion. I will talk to a local gcc/solaris expert. Regards Georg Sauthoff [1] gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) which is shipped with Solaris 10 (installed under /usr/sfw (sfw == Sun Freeware))