This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/42695] New: gcc/config/vxworks.c not compatible with gcc/tree
- From: "simon at pushface dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jan 2010 21:44:11 -0000
- Subject: [Bug bootstrap/42695] New: gcc/config/vxworks.c not compatible with gcc/tree
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The build fails with
../../gcc-trunk-svn/gcc/config/vxworks.c: In function
?vxworks_emutls_var_fields?:
../../gcc-trunk-svn/gcc/config/vxworks.c:73:27: error: macro "build_decl"
requires 4 arguments, but only 3 given
../../gcc-trunk-svn/gcc/config/vxworks.c:72:11: error: ?build_decl? undeclared
(first use in this function)
../../gcc-trunk-svn/gcc/config/vxworks.c:72:11: error: (Each undeclared
identifier is reported only once
../../gcc-trunk-svn/gcc/config/vxworks.c:72:11: error: for each function it
appears in.)
../../gcc-trunk-svn/gcc/config/vxworks.c:78:27: error: macro "build_decl"
requires 4 arguments, but only 3 given
../../gcc-trunk-svn/gcc/config/vxworks.c:84:27: error: macro "build_decl"
requires 4 arguments, but only 3 given
because in gcc/tree.h r148442 a new argument of type location_t was inserted in
the first position in build_decl_stat().
I got the build to proceed by supplying UNKNOWN_LOCATION for this parameter (as
in builtins.c).
--
Summary: gcc/config/vxworks.c not compatible with gcc/tree
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: simon at pushface dot org
GCC build triplet: i386-apple-darwin9.6.0
GCC host triplet: i386-apple-darwin9.6.0
GCC target triplet: powerpc-wrs-vxworks
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42695