Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Dec 2013 12:18:41 -0800
From:      Ricky Huang <rhuang.work@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   GCC 4.6 fails on types_used_by_cur_var_decl
Message-ID:  <6D1EB67A-BABF-4A63-8F14-EEAE78CFA832@gmail.com>

next in thread | raw e-mail | index | archive | help
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?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6D1EB67A-BABF-4A63-8F14-EEAE78CFA832>