Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jan 2002 10:28:34 -0500
From:      Jason Andresen <jandrese@mitre.org>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        Alp Atici <aa878@columbia.edu>, freebsd-hackers@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: FreeBSD 5.x
Message-ID:  <3C502822.61B07D9D@mitre.org>
References:  <Pine.GSO.4.44.0201191709540.2959-100000@ciao.cc.columbia.edu> <3C4A53EE.B882356C@mindspring.com> <3C4D788E.CE483AF0@mitre.org> <3C4DEA57.A7EEF3A2@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <rogue/pts/0> (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 <rogue/pts/0> (7 ~): ./gcctest
hello, stupid compiler!
RedHat <rogue/pts/0> 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 <rogue/pts/0> (9 ~): ./gcctest
hello, stupid compiler!
RedHat <rogue/pts/0> 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 <rogue/pts/0> (11 ~): uname -a
Linux rogue 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686 unknown
RedHat <rogue/pts/0> (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 <rogue/pts/0> (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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C502822.61B07D9D>