Ethereal-dev: Re: [Ethereal-dev] packet-parlay.c takes a very long time to compile in Fedora C

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

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Fri, 21 Apr 2006 12:04:38 +0200 (CEST)
Hi,

Seeing the same thing here, a long compile. It's not 10 minutes, but
condiderable. But what do you expect from a source file over 100KLOC!
~/src/ethereal/ethereal$ wc plugins/giop/packet-parlay.c
 108689  251398 3164243 plugins/giop/packet-parlay.c
~/src/ethereal/ethereal$ gcc --version
gcc (GCC) 4.0.3 (Debian 4.0.3-1)

Thanx,
Jaap

On Fri, 21 Apr 2006, Jeff Morriss wrote:

>
>
> W. Borgert wrote:
> > Quoting Jeff Morriss <jeff.morriss@xxxxxxxxxxx>:
> >> Has anyone else noticed that packet-parlay.c (in plugins/giop/) takes a
> >> _very_ long time to compile?  I recently upgraded from Fedora Core 4 to
> >> Fedora Core 5 and now it takes around 10 minutes to compile it (on my
> >> 1.6 GHz Pentium 4); I seriously thought the compiler was hung it was
> >> taking so long...
> >
> > I think, that I did the latest changes on this file and I did not
> > notice such a problem. Which version is it exactly, that you are
> > using? I'm running Debian testing/etch on amd64.
>
> I have Fedora Core 5 with:
>
> gcc (GCC) 4.1.0 20060304 (Red Hat 4.1.0-3)
> Copyright (C) 2006 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> >> Of course I have no clue how long it used to take and I don't have an
> >> (easy) way to test this on other versions or platforms at the moment--is
> >> anyone else seeing anything like this?
> >
> > Maybe you could send me the file off-list and I will look, whether
> > there are differences to my version.
>
> I sent you the file.
>
> I had done a "make maintainer clean; svn up; ./autogen.sh; ./configure;
> make" so I hope everything got rebuilt correctly.
>
> Maybe it's a compiler bug--it won't be the first time I hit one of those
> compiling Ethereal :-)
>