From owner-freebsd-current Thu Jan 24 7:30: 7 2002 Delivered-To: freebsd-current@freebsd.org Received: from smtpproxy2.mitre.org (smtpproxy2.mitre.org [128.29.154.90]) by hub.freebsd.org (Postfix) with ESMTP id 8C54637B400; Thu, 24 Jan 2002 07:29:50 -0800 (PST) Received: from avsrv2.mitre.org (avsrv2.mitre.org [128.29.154.4]) by smtpproxy2.mitre.org (8.11.3/8.11.3) with ESMTP id g0OFTmc20239; Thu, 24 Jan 2002 10:29:48 -0500 (EST) Received: from MAILHUB1 (mailhub1.mitre.org [129.83.20.31]) by smtpsrv2.mitre.org (8.11.3/8.11.3) with ESMTP id g0OFTki18898; Thu, 24 Jan 2002 10:29:46 -0500 (EST) Received: from dhcp-105-164.mitre.org (128.29.105.164) by mailhub1.mitre.org with SMTP id 8948631; Thu, 24 Jan 2002 10:28:08 -0500 Message-ID: <3C502822.61B07D9D@mitre.org> Date: Thu, 24 Jan 2002 10:28:34 -0500 From: Jason Andresen Organization: The MITRE Corporation X-Mailer: Mozilla 4.75 [en]C-20000818M (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Terry Lambert Cc: Alp Atici , freebsd-hackers@freebsd.org, freebsd-current@freebsd.org Subject: Re: FreeBSD 5.x References: <3C4A53EE.B882356C@mindspring.com> <3C4D788E.CE483AF0@mitre.org> <3C4DEA57.A7EEF3A2@mindspring.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Terry Lambert wrote: > > Jason Andresen wrote: > > Odd, I can't reproduce that under RedHat: > > I guess you are saying there is a conspiracy to make GCC work > only on RedHat? > > I could believe that... 8-) 8-) 8-). > > Actually, that was against 3.0 at -O2. > > If that's been fixed, I guess we can cut over, as soom as the > non-x86 code generation for our other supported platforms > works again (tried compiling your RedHat for Alpha lately?). Hmm: RedHat (6 ~): gcc3 -O3 -funroll-loops -Wall -pedantic -o gcctest gcctest.c gcctest.c:2: warning: return type defaults to `int' gcctest.c: In function `main': gcctest.c:5: warning: implicit declaration of function `foo' gcctest.c:9: warning: implicit declaration of function `printf' gcctest.c:12: warning: control reaches end of non-void function RedHat (7 ~): ./gcctest hello, stupid compiler! RedHat 24 (8 ~): gcc3 -O2 -funroll-loops -Wall -pedantic -o gcctest gcctest.c gcctest.c:2: warning: return type defaults to `int' gcctest.c: In function `main': gcctest.c:5: warning: implicit declaration of function `foo' gcctest.c:9: warning: implicit declaration of function `printf' gcctest.c:12: warning: control reaches end of non-void function RedHat (9 ~): ./gcctest hello, stupid compiler! RedHat 24 (10 ~): gcc3 -O2 -Wall -pedantic -o gcctest gcctest.c gcctest.c:2: warning: return type defaults to `int' gcctest.c: In function `main': gcctest.c:5: warning: implicit declaration of function `foo' gcctest.c:9: warning: implicit declaration of function `printf' gcctest.c:12: warning: control reaches end of non-void function RedHat (11 ~): uname -a Linux rogue 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686 unknown RedHat (12 ~): gcc3 -v Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.0.2/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --host=i386-redhat-linux Thread model: posix gcc version 3.0.2 20010905 (Red Hat Linux 7.1 3.0.1-3) RedHat (13 ~): Hmm, I can't reproduce the problem with any setting... Maybe it is time to look into upgrading GCC. -- \ |_ _|__ __|_ \ __| Jason Andresen jandrese@mitre.org |\/ | | | / _| Network and Distributed Systems Engineer _| _|___| _| _|_\___| Office: 703-883-7755 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message