From owner-freebsd-current Sat Aug 22 20:01:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA10171 for freebsd-current-outgoing; Sat, 22 Aug 1998 20:01:39 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp03.primenet.com (smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA10158 for ; Sat, 22 Aug 1998 20:01:37 -0700 (PDT) (envelope-from tlambert@usr04.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.8/8.8.8) id UAA06089; Sat, 22 Aug 1998 20:00:54 -0700 (MST) Received: from usr04.primenet.com(206.165.6.204) via SMTP by smtp03.primenet.com, id smtpd006075; Sat Aug 22 20:00:49 1998 Received: (from tlambert@localhost) by usr04.primenet.com (8.8.5/8.8.5) id UAA20904; Sat, 22 Aug 1998 20:00:48 -0700 (MST) From: Terry Lambert Message-Id: <199808230300.UAA20904@usr04.primenet.com> Subject: Re: gcc 2.8 To: entropy@compufit.at (Alexander Sanda) Date: Sun, 23 Aug 1998 03:00:48 +0000 (GMT) Cc: wwoods@cybcon.com, freebsd-current@FreeBSD.ORG In-Reply-To: <19980822135031.A358@compufit.at> from "Alexander Sanda" at Aug 22, 98 01:50:31 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Anybody here useing gcc 2.8 to compile world and/or kernel? > > gcc-2.8.1 has some problems with current kernel source (as of last > weekend). > > However, I have installed gcc-2.8.1 from the packages collection, and I > have the vague feeling, that this compiler has some problems. I > compiled one of my kde apps, using -O2 and -mpentiumpro and the app > started to segfault occasionally. Since I recompiled with gcc-2.7.2.1, > it never segfaulted again... Be aware that using DESTDIR at all will result in your compiler getting the gcc 2.7.2 rather than the 2.8.1 headers and libgcc.a. FreeBSD (incorrectly) overrides these values in the .mk files (see the files /usr/share/mk/bsd.prog.mk and /usr/share/mk/bsd.lib.mk for details). So it is at least unsuitable for building the world (without you hacking these files) and probably unsuitable for building ports in the context of a build hierarchy. > Once a while ago, I did some experiments with compiling the Linux kernel > using different compilers (stock gcc-2.7, egcs, pgcc) and benchmarking > them with lmbench or byte. The results: They all ranged within > measurement tolerance, imho. Even if you run lmbench twice on the same > system, the results will slightly differ. Now try the very old (and small) gcc 1.x that we used to use. 8-). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message