Ethereal-dev: RE: [Ethereal-dev] Compiling with -O3 crashes ethereal

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Biot Olivier <Olivier.Biot@xxxxxxxxxxx>
Date: Sat, 27 Dec 2003 19:28:46 +0100
Hi all,

I successfully compiled the current CVS snapshot of Ethereal with -O3. It
runs faster than with -O2 (about 15-30% faster).

I don't think the crash Thomas reported was due to -O3 compilation.

Should anyone else like to compile Ethereal with -O3, then you have to edit
all configure files (there are 3 of them), and replace O2 with O3. I didn't
find any autotools info on this (but I didn't search either :).

Regards,

Olivier

| -----Original Message-----
| From: Thomas Reitelbach
| 
| On Saturday 27 December 2003 04:28, you wrote:
| > On Fri, Dec 26, 2003 at 10:55:10PM +0100, Thomas Reitelbach wrote:
| > > It crashes with the following message on console:
| > > ** ERROR **: file ftypes.c: line 420 (fvalue_set): 
| assertion failed:
| > > (fv->ftype->set_value)
| >
| > Do you have a stack trace?
| 
| Well, this was a bit tricky since -O3 automatically removed 
| any debugging 
| symbols. But i managed to get it working, see my gdb session 
| in the attached 
| file.
| 
| Thomas
| 
| P.S.: i'm subscribed to the list, no need to CC me.
| -- 
| Just because the message may never be received does not mean it is 
| not worth sending.
|