This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: PR boehm-gc/48299: FAIL: boehm-gc.c/thread_leak_test.c
- From: Patrick Marlier <patrick dot marlier at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 23 Feb 2012 14:14:17 -0500
- Subject: Re: PATCH: PR boehm-gc/48299: FAIL: boehm-gc.c/thread_leak_test.c
- Authentication-results: mr.google.com; spf=pass (google.com: domain of patrick.marlier@gmail.com designates 10.229.78.161 as permitted sender) smtp.mail=patrick.marlier@gmail.com; dkim=pass header.i=patrick.marlier@gmail.com
- References: <4F468DBF.4090202@gmail.com>
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>