This is the mail archive of the gcc-patches@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]

Re: 100's of FAILs in g++ testsuite under hpux 10.20


> > -namespace std 
> > -{
> > -  extern "C" int errno;
> > -}
> > -
> >  #endif
> 
> Even with the patch, hundreds of execution failures still occurred on
> mips-sgi-irix6.5.  Feel free to install the patch.  It does not appear
> to make things worse.

The patch is no longer needed and the patch applied to the main could
be reversed.  The undefined std::errno problem is now fixed with this patch:

2001-04-19  Mark Mitchell  <mark@codesourcery.com>

        * cp-tree.h (DECL_LANGUAGE): Don't assume DECL_LANG_SPECIFIC is
	set.
	(SET_DECL_LANGUAGE): New macro.
	* decl.c (duplicate_decls): Use SET_DECL_LANGUAGE.
	(pushdecl): Likewise.
	(build_library_fn_1): Likewise.
	(build_cp_library_fn): Likewise.
	(grokfndecl): Likewise.
	(grokvardecl): Mark `extern "C"' variables as having C linkage.
	* decl2.c (grokclassfn): Use SET_DECL_LANGUAGE.
	* lex.c (retrofit_lang_decl): Likewise.
	* mangle.c (mangle_decl_string): Don't mangle the names of
	variables declared with C language linkage.
	* semantics.c (finish_member_declaration): Use SET_DECL_LANGUAGE.

If you note, the g++ testsuite failures have changed from compile (link)
failures to execute failures.  Under hpux 10.20, there are still problems with
duplicate symbol definitions in modules in the shared version of libstdc++-v3.
You might look in the testsuite g++.log to see what is causing the excution
errors on mips-sgi-irix6.5.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


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