------- Comment #13 from dominiq at lps dot ens dot fr  2010-03-12 10:38 -------
I just got the failure today at revision 157401 on x86_64-apple-darwin10. I
have saved the build directory and restarted for a successful bootstrap.
Comparing the config.log files in x86_64-apple-darwin10/i386/libgomp/config.log
and _fail/stage3-x86_64-apple-darwin10/i386/libgomp/config.log, I see

...
 configure:15406: $? = 0
 configure:15406: ./conftest
-configure:15406: $? = 0
-configure:15426: result: yes
+configure:15406: $? = 1
+configure: program exited with status 1
+configure: failed program was:
+| /* confdefs.h */
+| #define PACKAGE_NAME "GNU OpenMP Runtime Library"
+| #define PACKAGE_TARNAME "libgomp"
+| #define PACKAGE_VERSION "1.0"
+| #define PACKAGE_STRING "GNU OpenMP Runtime Library 1.0"
+| #define PACKAGE_BUGREPORT ""
+| #define PACKAGE_URL "http://www.gnu.org/software/libgomp/";
+| #define PACKAGE "libgomp"
+| #define VERSION "1.0"
+| #define STDC_HEADERS 1
+| #define HAVE_SYS_TYPES_H 1
+| #define HAVE_SYS_STAT_H 1
+| #define HAVE_STDLIB_H 1
+| #define HAVE_STRING_H 1
+| #define HAVE_MEMORY_H 1
+| #define HAVE_STRINGS_H 1
+| #define HAVE_INTTYPES_H 1
+| #define HAVE_STDINT_H 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_DLFCN_H 1
+| #define LT_OBJDIR ".libs/"
+| #define STDC_HEADERS 1
+| #define TIME_WITH_SYS_TIME 1
+| #define STRING_WITH_STRINGS 1
+| #define HAVE_UNISTD_H 1
+| #define HAVE_SEMAPHORE_H 1
+| #define HAVE_SYS_TIME_H 1
+| #define HAVE_SYS_TIME_H 1
+| #define HAVE_GETLOADAVG 1
+| #define HAVE_STRTOULL 1
+| #define HAVE_BROKEN_POSIX_SEMAPHORES 1
+| /* end confdefs.h.  */
+| #include <pthread.h>
+|              __thread int a;
+|              static int *a_in_other_thread;
+|              static void *
+|              thread_func (void *arg)
+|              {
+|                a_in_other_thread = &a;
+|                return (void *)0;
+|              }
+| int
+| main ()
+| {
+| pthread_t thread;
+|              void *thread_retval;
+|              int *a_in_main_thread;
+|              if (pthread_create (&thread, (pthread_attr_t *)0,
+|                                  thread_func, (void *)0))
+|                return 0;
+|              a_in_main_thread = &a;
+|              if (pthread_join (thread, &thread_retval))
+|                return 0;
+|              return (a_in_other_thread == a_in_main_thread);
+|   ;
+|   return 0;
+| }
+configure:15426: result: no
 configure:15436: checking whether the target supports hidden visibility
...

Note that I do not see that in the comparison with
_fail/stage2-x86_64-apple-darwin10/i386/libgomp/config.log.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43170

Reply via email to