From owner-freebsd-questions@FreeBSD.ORG Tue Dec 17 20:18:47 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0130531E for ; Tue, 17 Dec 2013 20:18:47 +0000 (UTC) Received: from mail-pa0-x22e.google.com (mail-pa0-x22e.google.com [IPv6:2607:f8b0:400e:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C9B5C1748 for ; Tue, 17 Dec 2013 20:18:46 +0000 (UTC) Received: by mail-pa0-f46.google.com with SMTP id kl14so4967899pab.33 for ; Tue, 17 Dec 2013 12:18:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:subject:message-id:date:to:mime-version; bh=nJr7h8amezmZhchkPPpLQ9wUPnl3QG5LEa8NBLtjiKk=; b=Vi4xc2vTV1bTg0M7yw/RsfMxiBbepDI/Q/qYr0jQQc8kGV0Tl75E5Ai+C4uOIYMzyU V3ludOxjUis2SzjytNAY9n+L1zIu2xiTI3BY7FrodhUpy5HiSDJRdku0ledwvCYYxjup IYWInfoJCviyJl0FUqzLDXQjSt18KTZ+y4YjOxpZpPzK/VWLJ/BQ0OENKpts1W+p4FRR JZXRG/KYUtnlbrdyTOGO4QbEvh7vRa87Gs1gwoyLw5HzYHgfxeVBwpkNZoKQCrHO1XTX zR10+AWYdMGBijavi4YYayzdpmRrqwgSVZnt/jvpWQp1YsIUbzvjCJqhYF8BrpOuXXo/ vDLA== X-Received: by 10.68.217.129 with SMTP id oy1mr29597998pbc.23.1387311526369; Tue, 17 Dec 2013 12:18:46 -0800 (PST) Received: from [10.0.1.3] (cpe-76-88-76-16.san.res.rr.com. [76.88.76.16]) by mx.google.com with ESMTPSA id qf7sm48678375pac.14.2013.12.17.12.18.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 17 Dec 2013 12:18:44 -0800 (PST) From: Ricky Huang Subject: GCC 4.6 fails on types_used_by_cur_var_decl Message-Id: <6D1EB67A-BABF-4A63-8F14-EEAE78CFA832@gmail.com> Date: Tue, 17 Dec 2013 12:18:41 -0800 To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) X-Mailer: Apple Mail (2.1510) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Dec 2013 20:18:47 -0000 Hello all, Initially I had 4.6.3 which I couldn't install over with 4.6.4 (it = complained about "installing into the same location") so I had to = "pkg_delete -f" it. Then I tried to "make install" in /usr/ports/lang/gcc and the build = fails with: .././../gcc-4.6.4/gcc/c-family/c-common.c:9537:28: error: use of = undeclared identifier 'types_used_by_cur_var_decl' while (!VEC_empty (tree, types_used_by_cur_var_decl)) .././../gcc-4.6.4/gcc/c-family/c-common.c:9537:28: error: use of = undeclared identifier 'types_used_by_cur_var_decl' while (!VEC_empty (tree, types_used_by_cur_var_decl)) .././../gcc-4.6.4/gcc/c-family/c-common.c:9539:34: error: use of = undeclared identifier 'types_used_by_cur_var_decl' tree type =3D VEC_pop (tree, types_used_by_cur_var_decl); .././../gcc-4.6.4/gcc/c-family/c-common.c:9539:34: error: use of = undeclared identifier 'types_used_by_cur_var_decl' tree type =3D VEC_pop (tree, types_used_by_cur_var_decl); Is this the case where types_used_by_cur_var_decl was not extern = declared somewhere else (probably in its header)? And a more important question, how did this kind of error sneak into the = trunk code? I had "portsnap fetch update" prior, so the port is up to = date=85 I was under the impression that everything on the head of the = trunk should be stable and at least compilable?