From owner-freebsd-questions Tue Jul 28 17:38:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA25427 for freebsd-questions-outgoing; Tue, 28 Jul 1998 17:38:44 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from www.schell.de (root@[195.20.238.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA25265 for ; Tue, 28 Jul 1998 17:37:25 -0700 (PDT) (envelope-from sas@schell.de) Received: from guerilla.foo.bar (hennen1.iserlohn.netsurf.de [194.195.194.193]) by www.schell.de (8.8.5/8.8.5) with ESMTP id CAA09450; Wed, 29 Jul 1998 02:36:02 +0200 Received: from localhost (localhost.foo.bar [127.0.0.1]) by guerilla.foo.bar (8.9.0/8.9.0) with SMTP id CAA13182; Wed, 29 Jul 1998 02:25:19 +0200 (CEST) Date: Wed, 29 Jul 1998 02:25:19 +0200 (CEST) From: Sascha Schumann To: Doug White cc: "Security Mgr." , "freebsd-questions@FreeBSD.ORG" Subject: Re: Egcs and FreeBSd 2.2.7 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 28 Jul 1998, Doug White wrote: > > On Sat, 25 Jul 1998, Security Mgr. wrote: > > > OK Wow... it worked....... Using the ports collection > > /usr/ports/lang/egcs ive sucessfully built the egcs compiler and did get > > it installed...... > > > > On a whim... and for curiosity sake i then tried to rebuild a 2.2.7 > > kernel with egcs... it built with some > > minor warning messages and installed.... rebooted and all seems > > stable...... > > > > taking this a step further......... i installed egcs over the default > > gcc 2.7.2 and ran a buildworld, > > > > IT did rebuild everything............. i then ran > > installworld........... that also worked........ > > > > so it seems ive just completely recompiled FreeBSD 2.2.7 with the ports > > egcs snapshot, everything runs fine and is stable.......... > > IT WORKED......... but should i expect any less from freebsd ;) > > Huh. Last I head egcs couldn't build a kernel without introducing fatal > flaws into it. Perhaps they fixed it. > Let me tell you a story: Once upon a time we got a new server here. It was a SMP machine, so we tried a SMP kernel compiled with egcs 1.0.3a. I never had trouble with the compiler, so I thought it would work just fine. So, the server was running, it was in the lab and noone used it. Then there were (again) some complains about the 3com boomerang driver on SMP machines (did I mention it? I'm speaking from Linux), so I wrote a little test program which simulated a massive load of web requests. And whoops - our new server died within minutes. To bring this story to an short end: The server would work perfectly in UP mode (perfectly - it didn't crash during our tests), but would crash in SMP. A switch from egcs to gcc 2.7.2.3 cured the problems within minutes. So, if you have problems, try gcc (or better: stick with it). Bye, Sascha (running on Linux 2.1.111 compiled with pgcc-980715) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message