This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: First stage bootstrap failure on apple-ppc-darwin


cp/decl.c has:

int
copy_fn_p (tree d)
{
  tree args;
  tree arg_type;
  int result = 1;

gcc_assert (DECL_FUNCTION_MEMBER_P (d));

if (DECL_TEMPLATE_INFO (d) && is_member_template (DECL_TI_TEMPLATE (d)))
.....


is_member_template use to have definition in cp/pt.c. But it has gone.

Probably caused by:

2004-10-07 Mark Mitchell <mark@codesourcery.com>

        * cp-tree.h (ICS_USER_FLAG): Remove comment about obsolete flag.
        (DECL_MEMBER_TEMPLATE_P): New macro.
        (is_member_template): Remove.

...
	* pt.c (is_member_template): Remove.
...

- fariborz


On Oct 12, 2004, at 2:15 PM, Fariborz Jahanian wrote:


This happened after today's checkout. Is this a know problem.

- Thanks, fariborz (fjahanian@apple.com)

gcc -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fno-common -DHAVE_CONFIG_H -o cc1plus \
cp/cp-lang.o stub-objc.o cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o cp/class.o cp/decl2.o cp/error.o cp/lex.o cp/parser.o cp/ptree.o cp/rtti.o cp/typeck.o cp/cvt.o cp/except.o cp/friend.o cp/init.o cp/method.o cp/search.o cp/semantics.o cp/tree.o cp/repo.o cp/dump.o cp/optimize.o cp/mangle.o cp/cp-objcp-common.o cp/name-lookup.o cp/cxx-pretty-print.o cp/cp-gimplify.o tree-mudflap.o attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o c-dump.o darwin-c.o rs6000-c.o c-pretty-print.o c-opts.o c-pch.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-gimplify.o tree-inline.o main.o tree-browser.o libbackend.a ../libcpp/libcpp.a ../libcpp/libcpp.a ./../intl/libintl.a -liconv ../libiberty/libiberty.a
ld: warning multiple definitions of symbol _locale_charset
./../intl/libintl.a(localcharset.o) definition of _locale_charset in section (__TEXT,__text)
/usr/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
ld: Undefined symbols:
_is_member_template
_check_var_type
make[1]: *** [cc1plus] Error 1
make: *** [all-gcc] Error 2




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]