This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: 100's of FAILs in g++ testsuite under hpux 10.20
- To: libstdc++ at gcc dot gnu dot org
- Subject: Re: 100's of FAILs in g++ testsuite under hpux 10.20
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Fri, 20 Apr 2001 11:34:15 -0400 (EDT)
Forwarded message:
>From dave Fri Apr 20 11:31:14 EDT 2001
Subject: Re: 100's of FAILs in g++ testsuite under hpux 10.20
To: oldham@codesourcery.com (Jeffrey Oldham)
Date: Fri, 20 Apr 2001 11:31:14 -0400 (EDT)
From: "John David Anglin" <dave@hiauly1>
Cc: gcc-bugs@gcc.gnu.org, gcc-patches@gcc.gnu.org, libstdc++-v3@gcc.gnu.org
In-Reply-To: <20010420075644.A5655@codesourcery.com> from "Jeffrey Oldham" at Apr 20, 2001 07:56:44 am
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 1554
> > -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)
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)