This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcc-3.4.1 build problem
- From: "John R. Shannon" <john at johnrshannon dot com>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 30 Jul 2004 08:17:13 -0600
- Subject: gcc-3.4.1 build problem
- Reply-to: john at johnrshannon dot com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I've been working on porting gcc 3.4.x to various NetBSD platforms. I've been
successful on several. Occasionally, the boootstrap build stops in stage 1
with the following error; does this look familiar to anyone:
stage1/xgcc -Bstage1/ -B/usr/pkg/gcc34/alpha--netbsd1.6.2/bin/ -c -g -O2
- -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
- -pedantic -Wno-long-long -Wold-style-definition -DHAVE_CONFIG_H
- -I/home/shannonj/pkgsrc/lang/gcc34/work/.buildlink/include
- -I/usr/pkg/include -I/usr/include -I. -I.
- -I/home/shannonj/pkgsrc/lang/gcc34/work/gcc-3.4.1/gcc
- -I/home/shannonj/pkgsrc/lang/gcc34/work/gcc-3.4.1/gcc/.
- -I/home/shannonj/pkgsrc/lang/gcc34/work/gcc-3.4.1/gcc/../include -I../intl \
/home/shannonj/pkgsrc/lang/gcc34/work/gcc-3.4.1/gcc/c-opts.c -o
c-opts.o
/home/shannonj/pkgsrc/lang/gcc34/work/gcc-3.4.1/gcc/c-opts.c:120: warning: ISO
C forbids forward references to `enum' types
/home/shannonj/pkgsrc/lang/gcc34/work/gcc-3.4.1/gcc/c-opts.c:120: warning:
"enum opt_code" declared inside parameter list
/home/shannonj/pkgsrc/lang/gcc34/work/gcc-3.4.1/gcc/c-opts.c:120: warning: its
scope is only this definition or declaration, which is probably not what you
want
/home/shannonj/pkgsrc/lang/gcc34/work/gcc-3.4.1/gcc/c-opts.c:120: warning:
parameter has incomplete type
/home/shannonj/pkgsrc/lang/gcc34/work/gcc-3.4.1/gcc/c-opts.c:123: warning: ISO
C forbids forward references to `enum' types
/home/shannonj/pkgsrc/lang/gcc34/work/gcc-3.4.1/gcc/c-opts.c:123: error: field
`code' has incomplete type
/home/shannonj/pkgsrc/lang/gcc34/work/gcc-3.4.1/gcc/c-opts.c: In function
`c_common_missing_argument':
/home/shannonj/pkgsrc/lang/gcc34/work/gcc-3.4.1/gcc/c-opts.c:140: error:
`OPT_fconstant_string_class_' undeclared (first use in this function)
/home/shannonj/pkgsrc/lang/gcc34/work/gcc-3.4.1/gcc/c-opts.c:140: error: (Each
undeclared identifier is reported only once
/home/shannonj/pkgsrc/lang/gcc34/work/gcc-3.4.1/gcc/c-opts.c:140: error: for
each function it appears in.)
/home/shannonj/pkgsrc/lang/gcc34/work/gcc-3.4.1/gcc/c-opts.c:144: error:
`OPT_A' undeclared (first use in this function)
/home/shannonj/pkgsrc/lang/gcc34/work/gcc-3.4.1/gcc/c-opts.c:148: error:
`OPT_D' undeclared (first use in this function)
Suggestions?
uname -m = alpha
uname -r = 1.6.2
uname -s = NetBSD
configure:2076: gcc -v </dev/null >&5
Using builtin specs.
gcc version 2.95.3 20010315 (release) (NetBSD nb3)
as and ld from binutils-2.15.0.0
Thank You
- --
John R. Shannon
john@johnrshannon.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (NetBSD)
iEYEARECAAYFAkEKWGkACgkQOKbCxya4HYtPmQCgj6uDTAxSDbQKRQij5L4uuXvP
kd4An35/K3CysqLvydoZlCxRqZWxpbJ1
=yyAu
-----END PGP SIGNATURE-----