$ grep FRAME /boot/config
# CONFIG_FRAME_POINTER is not set
... and to reiterate:
(a) I did dissassemble a few kernel modules, and they do actually
use stdstackframesa everywhere but leaf routines.
(b) I have made a test.c and compiled it with -fomit-frame-pointer,
and it showed standard stackframes all along where there were
none with all my other compilers.
so... yes, I am sure that it is that way.
(What I am not sure: if standard stackframes are intentional for some
unknown reasons and so I have to clean mdk9 gcc3 from my disk and
install another version, and also modifying my configure.ac scripts
to make a shot at 3.2 saying "don't" to anyone who tries to use it).
-- cheers, guido (CC' me for questions!)
>
> Begin forwarded message:
>
> Date: Mon, 23 Sep 2002 13:34:06 -0700 (PDT)
> From: David Walser <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: [Cooker] warning: gcc3.2 ignores -fomit-frame-pointer,
> silently
>
>
> Are you 100% sure? The patch from kernel 2.4.18 to
> 2.4.19 has this:
>
> CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 \
> - -fomit-frame-pointer -fno-strict-aliasing
> -fno-common
> + -fno-strict-aliasing -fno-common
> +ifndef CONFIG_FRAME_POINTER
> +CFLAGS += -fomit-frame-pointer
> +endif
>
> --- Guido Draheim <[EMAIL PROTECTED]> wrote:
>
>>It seems the gcc3.2 ignores -fomit-frame-pointer,
>>without
>>giving any diagnostics about it. I had noticed it
>>with
>>some of my software *breaking* because of that as
>>some
>>assembler parts were trying to access %ebp then.
>>
>>This may affect the mdk9 *kernel* itself - usally
>>the
>>linux kernel should be compiled with
>>-fomit-frame-pointer,
>>and a quick dissassemble-check on some
>>modules/drivers
>>showed a standard stackframe now. Perhaps some other
>>option
>>enforced a standard stackframe but traditionally it
>>means
>>that the kernel is *slowed* down in this mode.
>>
>>Are no-omit-frame-pointer/use-standard-stackframe
>>intentional? It is atleast beyond my expections, so
>>I'm issuing it as a warning-flashlight - I haven't
>>found notice of it in general gcc docs, so is that
>>only a behaviour of the mdk gcc3?
>>
>>$ gcc --version
>>gcc (GCC) 3.2 (Mandrake Linux 9.0 3.2-1mdk)
>>
>>-- cheers, guido (not subscribed to
>>cooker ML)
>>
>>
>
>
> __________________________________________________
> Do you Yahoo!?
> New DSL Internet Access from SBC & Yahoo!
> http://sbc.yahoo.com
>
>