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


> 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
 
 


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