Re: egcs warning



On 1 Dec 1998, Owen Taylor wrote:

> 
> Scott Stone <sstone@turbolinux.com> writes:
> 
> > On Tue, 1 Dec 1998, Jeff Garzik wrote:
> > 
> > > Scott Stone wrote:
> > > > 
> > > > 
> > > > I'm having stability trouble with GTK apps when using the -O6 flag with
> > > > egcs to build.  If I use -O2 or lower, it works perfectly, however.  Just
> > > > an FYI, if anyone's having any weird problems with their apps, make sure
> > > > you're not using -O3 or higher with egcs (I believe that -O3, -O4, -O5,
> > > > and -O6 are the same with egcs).
> > > > 
> > > > I'm using egcs 1.1b, and gtk+ 1.0.6 stable.
> > > 
> > > The problem is that you are not using the stable version of egcs
> > > (it's called gcc).  -O6 breaks a lot of things, not just GTK and GNOME.
> > 
> > heh, well, egcs does a lot of things better than gcc, as well.  And I
> > believe -O6 is even more dangerous on the old gcc than it is with egcs..
> > But I don't want to start an egcs vs gcc thread here.  I just wanted to
> > let people know about the -O6 thing, so I won't be posting any more
> > messages on this topic.
> 
> On the other hand, if you can find specific instances of pieces
> of code, or reproducible bugs that occur with -O6, that
> would be an interesting bug report either to us to to
> the egcs team.

I've written a little application launcher bar that, when you use the
windowmanager 'destroy' function (or just exit X), catches the sigpipe
produced, and if using -O6 will hang there unless it sends a signal 9 to
itself (really).  With -O2 it exits correctly (yes, I'm using gtk_exit
here).

I hear there's a new egcs coming soon, I'll test it with that too and see
if the problem is resolved.

--------------------------------------------------
Scott M. Stone <sstone@pht.com, sstone@pht.co.jp>
Head of TurboLinux Development/Systems Administrator
Pacific HiTech, Inc (USA) / Pacific HiTech, KK (Japan)




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]