From owner-freebsd-questions@FreeBSD.ORG Fri Oct 19 16:44:21 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83BF816A417 for ; Fri, 19 Oct 2007 16:44:21 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mx1.freebsd.org (Postfix) with ESMTP id 11EE313C458 for ; Fri, 19 Oct 2007 16:44:20 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so478525nfb for ; Fri, 19 Oct 2007 09:44:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=nkXXrisoa198Ltjm2yy8UtycoU2w92aSFM+9bZHXD7U=; b=e7M2zX4kc8eXiACP7WJ+TRqbss14QMrpI1t8bLyEtYXAvedmQCj1XHNgwe4dHd78DCtO2K3GRgLOumP/1mK8f0W3QkGJOAmsbgNXCS970MRi3GhGaJ6sEmxt4MUzmroPmYgLNYOXDYpZP0vhvepF1AHVh5LH14Ra5rYKkeAV7Gw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BnsFvLUWb01kY7JQ4OUkEkc+KwEa9uU1yk8d+gW3iMMuYNh3SpMJtfctXqbI4xT2xXZvVv1941AAR19fzxVRMH6BHuU4gYeCSkS3DULtgBVMJ7F2xvuk54/Ah8dm2X1fPpIgjD/HS5JP/mYSrHSmkFPKWlR8p7pcmBNckehozAg= Received: by 10.86.49.13 with SMTP id w13mr1479233fgw.1192810757153; Fri, 19 Oct 2007 09:19:17 -0700 (PDT) Received: by 10.86.71.6 with HTTP; Fri, 19 Oct 2007 09:19:17 -0700 (PDT) Message-ID: <790a9fff0710190919s1387d773p8c8c42b91e784cd5@mail.gmail.com> Date: Fri, 19 Oct 2007 11:19:17 -0500 From: "Scot Hetzel" To: "Aryeh M. Friedman" In-Reply-To: <47189A77.8060402@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47189A77.8060402@gmail.com> Cc: freebsd-current@freebsd.org, freebsd-questions@freebsd.org Subject: Re: lang/gcc34 broken on 8-current?!?!? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Oct 2007 16:44:21 -0000 I had this same problem. There is an error in the freebsd-spec.h file which causes __FreeBSD__ to be defined twice when FBSD_MAJOR=8. This is caused by a missing 'else' before the 'if (FBSD_MAJOR == 7)' statement. See PR 117287 for the fix. If you have devel/gccxml installed, you'll also need PR 117289. Scot On 10/19/07, Aryeh M. Friedman wrote: > FreeBSD monster 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Thu Oct 18 20:17:48 > UTC 2007 aryeh@monster:/usr/obj/usr/src/sys/MONSTER amd64 > > > mv tmp-libgcc.mk libgcc.mk > TARGET_CPU_DEFAULT="" \ > HEADERS="ansidecl.h" DEFINES="" \ > /bin/sh .././..//gcc-3.4.6/gcc/mkconfig.sh tconfig.h > ./xgcc -B./ -B/usr/local/x86_64-portbld-freebsd8.0/bin/ -isystem > /usr/local/x86_64-portbld-freebsd8.0/include -isystem > /usr/local/x86_64-portbld-freebsd8.0/sys-include > -L/usr/ports/lang/gcc34/work/build/gcc/../ld -O2 -DIN_GCC -W -Wall > -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes > -Wold-style-definition -isystem ./include -I. -I. > -I.././..//gcc-3.4.6/gcc -I.././..//gcc-3.4.6/gcc/. > -I.././..//gcc-3.4.6/gcc/../include -g0 -finhibit-size-directive > -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss > -fno-unit-at-a-time \ > -c .././..//gcc-3.4.6/gcc/crtstuff.c -DCRT_BEGIN \ > -o crtbegin.o > :78:1: warning: "__FreeBSD__" redefined > :77:1: warning: this is the location of the previous definition > In file included from .././..//gcc-3.4.6/gcc/tsystem.h:44, > from .././..//gcc-3.4.6/gcc/crtstuff.c:62: > ./include/stddef.h:57:26: machine/ansi.h: No such file or directory > gmake[2]: *** [crtbegin.o] Error 1 > gmake[2]: Leaving directory `/usr/ports/lang/gcc34/work/build/gcc' > gmake[1]: *** [stage1_build] Error 2 > gmake[1]: Leaving directory `/usr/ports/lang/gcc34/work/build/gcc' > gmake: *** [bootstrap-lean] Error 2 > *** Error code 2 > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >