PATCH: PR boehm-gc/48299: FAIL: boehm-gc.c/thread_leak_test.c

Patrick Marlier patrick.marlier@gmail.com
Thu Feb 23 19:50:00 GMT 2012


On 02/23/2012 02:04 PM, Patrick Marlier wrote:
> Hello,
>
> As I see in my x86_64/linux gcc build and for example recently in:
> http://gcc.gnu.org/ml/gcc-testresults/2012-02/msg02269.html
>
> === boehm-gc tests ===
> Running target unix/-m32
> FAIL: boehm-gc.c/thread_leak_test.c -O2 (test for excess errors)
> === boehm-gc Summary for unix/-m32 ===
> Running target unix
> FAIL: boehm-gc.c/thread_leak_test.c -O2 (test for excess errors)
>
> due to redefinition of GC_LINUX_THREADS.
>
> Any reason why this patch was not applied?
> http://gcc.gnu.org/ml/gcc-patches/2011-03/msg01903.html
>
> Thanks!
> --
> Patrick

Also note that the trunk boehm-gc seems to be fixed like this:

Index: testsuite/boehm-gc.c/thread_leak_test.c
===================================================================
--- testsuite/boehm-gc.c/thread_leak_test.c     (revision 184398)
+++ testsuite/boehm-gc.c/thread_leak_test.c     (working copy)
@@ -1,4 +1,7 @@
-#define GC_LINUX_THREADS
+#ifndef GC_THREADS
+# define GC_THREADS
+#endif
+
  #include "leak_detector.h"
  #include <pthread.h>
  #include <stdio.h>



More information about the Gcc mailing list