This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/24991] [4.1/4.2 Regression] gfortran build fails with - error:gthr-default.h: No such file or directory
- From: "andreast at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Nov 2005 22:43:51 -0000
- Subject: [Bug libfortran/24991] [4.1/4.2 Regression] gfortran build fails with - error:gthr-default.h: No such file or directory
- References: <bug-24991-10129@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #30 from andreast at gcc dot gnu dot org 2005-11-25 22:43 -------
does this work for others too? Or do I miss a linux 'feature' ?
Index: io/io.h
===================================================================
--- io/io.h (revision 107496)
+++ io/io.h (working copy)
@@ -32,7 +32,8 @@
#include <setjmp.h>
#include "libgfortran.h"
-#ifdef HAVE_PRAGMA_WEAK
+#include "tm.h"
+#ifdef GTHREAD_USE_WEAK
/* Used by gthr.h. */
#define SUPPORTS_WEAK 1
#endif
Testing on sparc-solaris8 and darwin-ppc?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24991