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

--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-03-29 
11:21:53 UTC ---
At revision 171632 the test also failed on x86_64-apple-darwin10.7.0:

...
Executing on host: ../libtool --silent --tag=CC --mode=link 
/opt/gcc/build_w/gcc/xgcc -B/opt/gcc/build_w/gcc/
/opt/gcc/work/boehm-gc/testsuite/boehm-
gc.c/thread_leak_test.c
/opt/gcc/build_w/x86_64-apple-darwin10.7.0/./boehm-gc/libgcjgc.la  -O2 
-I/opt/gcc/build_w/x86_64-apple-darwin10.7.0/./boehm-g
c/include -I/opt/gcc/work/boehm-gc/testsuite/../include   -Wc,-shared-libgcc
-lpthread -lm   -m64 -o ./thread_leak_test    (timeout = 300)
PASS: boehm-gc.c/thread_leak_test.c -O2 (test for excess errors)
Setting LD_LIBRARY_PATH to
.:/opt/gcc/build_w/gcc:/opt/gcc/build_w/x86_64-apple-darwin10.7.0/./boehm-gc/.libs:.libs:.:/opt/gcc/build_w/gcc:/opt/gcc/bu
ild_w/x86_64-apple-darwin10.7.0/./boehm-gc/.libs:.libs
Leaked composite object at 0x1000c0fe0
(/opt/gcc/work/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:12, sz=4,
NORMAL)

Leaked composite object at 0x1000c0ec0
(/opt/gcc/work/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:12, sz=4,
NORMAL)
Leaked composite object at 0x1000c0f20
(/opt/gcc/work/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:12, sz=4,
NORMAL)

Leaked composite object at start: 0x1000c0f00, appr. length: 48
WARNING: program timed out.
FAIL: boehm-gc.c/thread_leak_test.c -O2 execution testExecuting on host:
../libtool --mode=clean rm -f  thread_leak_test    (timeout = 300)
libtool: clean: rm -f thread_leak_test .libs/thread_leak_test
.libs/thread_leak_testS.o^M
libtool: clean: rmdir .libs >/dev/null 2>&1
...

while it passed at revision 171578. Manual runs give

[macbook] boehm-gc/testsuite% ../libtool --silent --tag=CC --mode=link 
/opt/gcc/build_w/gcc/xgcc -B/opt/gcc/build_w/gcc/
/opt/gcc/work/boehm-gc/testsuite/boehm-gc.c/leak_test.c
/opt/gcc/build_w/x86_64-apple-darwin10.7.0/i386/boehm-gc/libgcjgc.la  -O2 
-I/opt/gcc/build_w/x86_64-apple-darwin10.7.0/i386/boehm-gc/include
-I/opt/gcc/work/boehm-gc/testsuite/../include   -Wc,-shared-libgcc -lpthread
-lm   -m32 -o ./leak_test
[macbook] boehm-gc/testsuite% time ./leak_test                                 
                                                               Leaked composite
object at 0x92fd0 (/opt/gcc/work/boehm-gc/testsuite/boehm-gc.c/leak_test.c:16,
sz=4, NORMAL)
0.012u 0.021s 0:00.06 50.0%    0+0k 0+1io 0pf+0w
[macbook] boehm-gc/testsuite% ../libtool --silent --tag=CC --mode=link
/opt/gcc/build_w/gcc/xgcc -B/opt/gcc/build_w/gcc/
/opt/gcc/work/boehm-gc/testsuite/boehm-gc.c/leak_test.c
/opt/gcc/build_w/x86_64-apple-darwin10.7.0/i386/boehm-gc/libgcjgc.la -O2
-I/opt/gcc/build_w/x86_64-apple-darwin10.7.0/i386/boehm-gc/include
-I/opt/gcc/work/boehm-gc/testsuite/../include -Wc,-shared-libgcc -lpthread -lm
-m32 -o ./thread_leak_test
[macbook] boehm-gc/testsuite% time ./thread_leak_test                          
                                                                      Leaked
composite object at 0x92fd0
(/opt/gcc/work/boehm-gc/testsuite/boehm-gc.c/leak_test.c:16, sz=4, NORMAL)
0.012u 0.022s 0:00.04 75.0%    0+0k 0+0io 0pf+0w
[macbook] boehm-gc/testsuite% ../libtool --silent --tag=CC --mode=link
/opt/gcc/build_w/gcc/xgcc -B/opt/gcc/build_w/gcc/
/opt/gcc/work/boehm-gc/testsuite/boehm-gc.c/leak_test.c
/opt/gcc/build_w/x86_64-apple-darwin10.7.0/./boehm-gc/libgcjgc.la -O2
-I/opt/gcc/build_w/x86_64-apple-darwin10.7.0/./boehm-gc/include
-I/opt/gcc/work/boehm-gc/testsuite/../include -Wc,-shared-libgcc -lpthread -lm
-m64 -o ./leak_test
[macbook] boehm-gc/testsuite% time ./leak_test                                 
                                                                      Leaked
composite object at 0x1000beef0
(/opt/gcc/work/boehm-gc/testsuite/boehm-gc.c/leak_test.c:16, sz=8, NORMAL)
0.013u 0.024s 0:00.06 50.0%    0+0k 0+2io 0pf+0w
[macbook] boehm-gc/testsuite% ../libtool --silent --tag=CC --mode=link
/opt/gcc/build_w/gcc/xgcc -B/opt/gcc/build_w/gcc/
/opt/gcc/work/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c
/opt/gcc/build_w/x86_64-apple-darwin10.7.0/./boehm-gc/libgcjgc.la -O2
-I/opt/gcc/build_w/x86_64-apple-darwin10.7.0/./boehm-gc/include
-I/opt/gcc/work/boehm-gc/testsuite/../include -Wc,-shared-libgcc -lpthread -lm
-m64 -o ./thread_leak_test
[macbook] boehm-gc/testsuite% time ./thread_leak_testLeaked composite object at
0x1000c0fe0 (/opt/gcc/work/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:11,
sz=4, NORMAL)
Leaked composite object at 0x1000c0f80
(/opt/gcc/work/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:11, sz=4,
NORMAL)

Leaked composite object at 0x1000c0ef0
(/opt/gcc/work/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:11, sz=4,
NORMAL)

Leaked composite object at 0x1000c0d10
(/opt/gcc/work/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:11, sz=4,
NORMAL)

Leaked composite object at 0x1000c0e30
(/opt/gcc/work/boehm-gc/testsuite/boehm-gc.c/thread_leak_test.c:11, sz=4,
NORMAL)

0.013u 0.023s 0:00.04 75.0%    0+0k 0+0io 0pf+0w

Reply via email to