Date: Fri, 27 Apr 2001 15:57:25 -0700 From: Alfred Perlstein <bright@wintelcom.net> To: Joao Carlos Mendes Luis <jonny@jonny.eng.br> Cc: stable@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Re: Trouble with 4.3-RELEASE compiler Message-ID: <20010427155725.L18676@fw.wintelcom.net> In-Reply-To: <20010427194022.A18639@roma.coe.ufrj.br>; from jonny@jonny.eng.br on Fri, Apr 27, 2001 at 07:40:22PM -0300 References: <20010427194022.A18639@roma.coe.ufrj.br>
next in thread | previous in thread | raw e-mail | index | archive | help
please don't cc both hackers and stable lists. * Joao Carlos Mendes Luis <jonny@jonny.eng.br> [010427 15:41] wrote: > Hi, > > I was installing a squid server with 4.3-RELEASE, and found that > FreeBSD has now a bug in the compiler that affects squid. The default > compilation of squid is with CFLAGS=-g -O2 -Wall, and this setup > triggers the bug. > > I've left a trimmed down copy of the problem files at > ftp://ftp.jonny.eng.br/hidden/jonny/trouble.tgz, compile it with > gcc -g -O2 -Wall teste.c rfc1035.c, and see the bug happening. Remove > the -O2 or change it for -O, and see it going away. > > Should this be a reason to roll back the compiler to version > 2.95.2, as it was before Tue Apr 10 19:23:19 2001 UTC, when it > changed to 2.95.3? What to do with the upcoming CDs? As far as I know FreeBSD doesn't support nor recommened compiling things (especially large mission critical programs) with anything higher than -O. The reason I'm cc'ing -ports is because I notice an inordinate amount of ports that compile C and C++ things using crazy optimizations like -O3 or -O2 along with sometimes silly things like -m486. Is there a guidline to encourage turning down optimization to something safer for our ported applications? -- -Alfred Perlstein - [alfred@freebsd.org] http://www.egr.unlv.edu/~slumos/on-netbsd.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010427155725.L18676>