From owner-freebsd-ports@FreeBSD.ORG Tue Aug 17 17:01:41 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93F6716A4CE for ; Tue, 17 Aug 2004 17:01:41 +0000 (GMT) Received: from anchor-post-34.mail.demon.net (anchor-post-34.mail.demon.net [194.217.242.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C62C43D1F for ; Tue, 17 Aug 2004 17:01:41 +0000 (GMT) (envelope-from root@hclb.demon.co.uk) Received: from hclb.demon.co.uk ([158.152.8.23]) by anchor-post-34.mail.demon.net with esmtp (Exim 3.35 #1) id 1Bx7L9-000EjL-0Y for freebsd-ports@freebsd.org; Tue, 17 Aug 2004 17:01:40 +0000 Received: from localhost.demon.co.uk by hclb.demon.co.uk with esmtp (Smail3.2.0.111 #1) id m1Bx1X5-002ANoC; Tue, 17 Aug 2004 10:49:35 +0000 (GMT) Date: Tue, 17 Aug 2004 10:49:35 +0000 (GMT) From: Dave Evans To: freebsd-ports@freebsd.org In-Reply-To: <20040810190838.W47154@hclb.demon.co.uk> Message-ID: <20040817103616.F1733@hclb.demon.co.uk> References: <20040810190838.W47154@hclb.demon.co.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Dave Evans Subject: Re: lang/gcc34 does not compile fully X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Aug 2004 17:01:41 -0000 A week ago, I wrote about my problems with compiling lang/gcc34. I'm glad to say I've found the solution. -mcpu=pentiumpro considered harmful. The -mcpu option was upsetting the post-stage2 compilation and configuration of build/i386-portbld-freebsd5.2/libiberty. Configure was failing to find certain standard include files, thus regex.c was failing to compile. There were also numerous warnings from other files in the directory. To get rid of -mcpu, install the latest files in /usr/share/mk and rebuild gcc from clean. === Another little problemette. If I install new include files on the system, how do I run the fixincludes script without having to rebuild and reinstall the whole compiler, which takes ages on my Pentium 120?