From owner-freebsd-hackers@FreeBSD.ORG Sun Nov 14 14:43:25 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBEFE16A4CE for ; Sun, 14 Nov 2004 14:43:25 +0000 (GMT) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0288D43D55 for ; Sun, 14 Nov 2004 14:43:25 +0000 (GMT) (envelope-from keramida@freebsd.org) Received: from gothmog.gr (patr530-b143.otenet.gr [212.205.244.151]) iAEEh7wK001659; Sun, 14 Nov 2004 16:43:16 +0200 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.13.1/8.13.1) with ESMTP id iAEEgKmq002725; Sun, 14 Nov 2004 16:42:20 +0200 (EET) (envelope-from keramida@freebsd.org) Received: (from giorgos@localhost) by gothmog.gr (8.13.1/8.13.1/Submit) id iAEEgFqn002723; Sun, 14 Nov 2004 16:42:15 +0200 (EET) (envelope-from keramida@freebsd.org) Date: Sun, 14 Nov 2004 16:42:15 +0200 From: Giorgos Keramidas To: Josef Grosch Message-ID: <20041114144214.GA2645@gothmog.gr> References: <20041114112855.GA68329@mooseriver.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041114112855.GA68329@mooseriver.com> cc: hackers@freebsd.org Subject: Re: gcc3.4 broken X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Nov 2004 14:43:26 -0000 On 2004-11-14 03:28, Josef Grosch wrote: > I'm trying to build eclipse on a 5.2.1 box. When the build gets to gcc 3.4 > it fails. > ## Compile error > /usr/ports/lang/gcc34/work/build/gcc/xgcc > -B/usr/ports/lang/gcc34/work/build/gcc/ > -B/usr/local/i386-portbld-freebsd5.2.1/bin/ > -B/usr/local/i386-portbld-freebsd5.2.1/lib/ -isystem > /usr/local/i386-portbld-freebsd5.2.1/include -isystem > /usr/local/i386-portbld-freebsd5.2.1/sys-include -c -DHAVE_CONFIG_H > -O2 -O -pipe -mcpu=pentiumpro > -I. -I../.././..//gcc-3.4-20041112/libiberty/../include -W -Wall > -Wtraditional -pedantic > ../.././..//gcc-3.4-20041112/libiberty/fibheap.c -o fibheap.o `-mcpu=' > is deprecated. Use `-mtune=' or '-march=' instead. Hmmm, you have both -O and -O2 in there. Have you by any chance set CFLAGS to anything in your environment *before* trying to install the gcc34 port?