This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 100's of FAILs in g++ testsuite under hpux 10.20
- To: oldham at codesourcery dot com (Jeffrey Oldham)
- 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: Sun, 15 Apr 2001 14:43:32 -0400 (EDT)
- Cc: gcc-bugs at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org, libstdc++-v3 at gcc dot gnu dot org
> On Tue, Apr 10, 2001 at 09:03:48PM -0400, John David Anglin wrote:
> > With yesterdays cvs source for the 3.0 branch, I see hundreds of FAILs
> > because std::errno is undefined:
>
> The same problem has been occurring on mips-sgi-irix6.5 since 24Mar.
> It did not occur 17Mar. Bootstrapping gcc between those dates was
> broken so no data is known.
It would be really great if this patch got installed on the 3.0 branch
to prevent the above problem and enable better testing of g++. It was
installed on the main over a month ago. I believe a number of others
have asked for it.
I tried upgrading to the latest cvs version and using it with the branch
but ran into this problem under hpux:
...
checking for threads package to use... threads-no.h
checking for exception model to use... configure: error: unable to detect except
ion model
make[1]: *** [configure-target-libstdc++-v3] Error 1
DCE threads are available on the system but the gcc option `-threads'
must be used to detect/build/link with this thread package.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
2001-04-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
* include/c_std/bits/std_cerrno.h: Don't define std:errno.
--- std_cerrno.h.orig Mon Feb 5 17:27:40 2001
+++ std_cerrno.h Sat Apr 14 22:33:08 2001
@@ -39,11 +39,6 @@
#pragma GCC system_header
#include <errno.h>
-namespace std
-{
- extern "C" int errno;
-}
-
#endif