This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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


Forwarded message:
>From dave Sun Apr 15 14:43:32 EDT 2001
Subject: Re: 100's of FAILs in g++ testsuite under hpux 10.20
To: oldham@codesourcery.com (Jeffrey Oldham)
Date: Sun, 15 Apr 2001 14:43:32 -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: <20010411083627.A9944@codesourcery.com> from "Jeffrey Oldham" at Apr 11, 2001 08:36:27 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: 1527      

> 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
 
 


-- 
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]