From owner-freebsd-stable@FreeBSD.ORG Thu Jan 27 08:36:24 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 34DFF16A4CE for ; Thu, 27 Jan 2005 08:36:24 +0000 (GMT) Received: from kirk.baltic.net (kirk.baltic.net [193.189.247.10]) by mx1.FreeBSD.org (Postfix) with SMTP id A569943D41 for ; Thu, 27 Jan 2005 08:36:22 +0000 (GMT) (envelope-from gni@gecko.de) Received: (qmail 5394 invoked from network); 27 Jan 2005 08:30:49 -0000 Received: from waldorf.gecko.de (HELO kermit.int.gecko.de) (193.189.247.200) by kirk.baltic.net with SMTP; 27 Jan 2005 08:30:49 -0000 Received: from lorien.int.gecko.de (lorien [192.168.120.159]) j0R8aLgs019085; Thu, 27 Jan 2005 09:36:21 +0100 (CET) Received: from lorien.int.gecko.de (localhost [127.0.0.1]) by lorien.int.gecko.de (8.12.9/8.12.9) with ESMTP id j0R8hGxt048047; Thu, 27 Jan 2005 09:43:16 +0100 (MET) (envelope-from munk@lorien.int.gecko.de) Received: (from munk@localhost) by lorien.int.gecko.de (8.12.9/8.12.9/Submit) id j0R8hFTf048046; Thu, 27 Jan 2005 09:43:15 +0100 (MET) Date: Thu, 27 Jan 2005 09:43:15 +0100 From: Gunther Nikl To: Chris Message-ID: <20050127084315.GA47831@lorien.int.gecko.de> References: <20050126104801.30643.qmail@web54008.mail.yahoo.com> <3aaaa3a0501260403611abe49@mail.gmail.com> <41F7F842.3030507@cs.tu-berlin.de> <3aaaa3a050126234230d8496c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3aaaa3a050126234230d8496c@mail.gmail.com> User-Agent: Mutt/1.4.2.1i cc: freebsd-stable@freebsd.org Subject: Re: Linking problems with gcc 3.4.2 and glibc on 5.3-stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jan 2005 08:36:24 -0000 On Thu, Jan 27, 2005 at 07:42:11AM +0000, Chris wrote: > I then decided to try psybnc myself and this is what happens using > gcc 3.4.2 bundled with 5.3. > > Initializing bouncer compilation > [*] Running Conversion Tool for older psyBNC Data. > tools/convconf.c: In function `cofile': > tools/convconf.c:81: error: label at end of compound statement > *** Error code 1 > > Stop in /usr/home/chrysalis/psybnc. The above isn't using the ports collection, right? Thus your complaint is not justified. You simply blame the compiler. Yes, compilers have bugs but the do evolve too. And in this case GCC 3.4.x catches a bug _in_ the source that previous GCC versions missed. > however if I install gcc 3.3.6 and then edit the top line in Makefile > to cc = gcc33 then it compiles fine. You really should have looked at the place GCC complained about: it _is_ a bug in the source! There is a label and no statement after the label. Add a ; and it will compile. Older GCC versionss accept that. > I will as you suggest try a later gcc in the 3.4.x branch as there is > newer version then what is bundled in 5.3 and I will report back. I would suggest that you update+use ports because the ports-collection has a patch for this particular problem: files/patch-tools-convconf.c > I havent test ezbounce with 3.3.6 yet. This is C++ and probably a different issue. Gunther