From owner-freebsd-current Fri Apr 9 18:50:40 1999 Delivered-To: freebsd-current@freebsd.org Received: from pozo.com (pozo.com [216.101.162.50]) by hub.freebsd.org (Postfix) with ESMTP id 08E471523B for ; Fri, 9 Apr 1999 18:50:38 -0700 (PDT) (envelope-from mantar@pacbell.net) Received: from dual (dual.pozo.com [216.101.162.51]) by pozo.com (8.9.3/8.9.3) with ESMTP id SAA21553; Fri, 9 Apr 1999 18:48:25 -0700 (PDT) (envelope-from mantar@pacbell.net) Message-Id: <4.2.0.32.19990409184036.00a525e0@216.101.162.50> X-Sender: null@216.101.162.50 X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.32 (Beta) Date: Fri, 09 Apr 1999 18:48:25 -0700 To: obrien@NUXI.com From: Manfred Antar Subject: Re: EGCS troubles Cc: current@FreeBSD.ORG In-Reply-To: <19990409093700.B24462@nuxi.com> References: <4.2.0.32.19990409092450.00a3f960@216.101.162.50> <370DA528.A37CFCD6@altavista.net> <4.2.0.32.19990409092450.00a3f960@216.101.162.50> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 09:37 AM 4/9/99 -0700, David O'Brien wrote: >> The Only way I could get Jade to work with the new compiler >> was with CFLAGS= -O -pipe > >That is not so bad. Before EGCS, we would state that "-O" is the only >optimization that is know to always work and what we tell people to use. > >Mike Smith has written about this many times in Hackers and Current. mysql322 from ports is another one, if you try and compile it with the stock -O -pipe it builds up till almost the end but when it gets to sql.yacc.cc the machine just hangs there and finally dies (no input or output). I have to go into the debugger and reboot. But if you add -fno-exceptions it builds fine.It's taken a couple of days but I've weeded out all of the programs that depended on old gcc libs and rebuilt them. Manfred ===================== || mantar@pacbell.net || || Ph. (415) 681-6235 || ===================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message