1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
|
make[1]: Entering directory `[...]/master.build'
make libstaticrootslib.la cordtest gctest leaktest middletest smashtest hugetest realloc_test staticrootstest tracetest threadleaktest threadkey_test subthread_create initsecondarythread test_cpp disclaim_test disclaim_bench
make[2]: Entering directory `[...]/master.build'
/bin/bash ./libtool --tag=CC --mode=compile gcc-4.6 -DHAVE_CONFIG_H -I./include -I../master/include -I./libatomic_ops/src -I../master/libatomic_ops/src -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -MT staticrootslib.lo -MD -MP -MF .deps/staticrootslib.Tpo -c -o staticrootslib.lo `test -f 'tests/staticrootslib.c' || echo '../master/'`tests/staticrootslib.c
libtool: compile: gcc-4.6 -DHAVE_CONFIG_H -I./include -I../master/include -I./libatomic_ops/src -I../master/libatomic_ops/src -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -MT staticrootslib.lo -MD -MP -MF .deps/staticrootslib.Tpo -c ../master/tests/staticrootslib.c -fPIC -DPIC -o .libs/staticrootslib.o
libtool: compile: gcc-4.6 -DHAVE_CONFIG_H -I./include -I../master/include -I./libatomic_ops/src -I../master/libatomic_ops/src -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -MT staticrootslib.lo -MD -MP -MF .deps/staticrootslib.Tpo -c ../master/tests/staticrootslib.c -o staticrootslib.o >/dev/null 2>&1
mv -f .deps/staticrootslib.Tpo .deps/staticrootslib.Plo
/bin/bash ./libtool --tag=CC --mode=link gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -version-info 1:3:0 -no-undefined -rpath /nowhere -o libstaticrootslib.la staticrootslib.lo ./libgc.la
libtool: link: gcc-4.6 -shared -fPIC -DPIC .libs/staticrootslib.o -Wl,-rpath -Wl,[...]/master.build/.libs -Wl,-rpath -Wl,[...]/master.build.install/lib ./.libs/libgc.so -O2 -Wl,-soname -Wl,libstaticrootslib.so.1 -o .libs/libstaticrootslib.so.1.0.3
libtool: link: (cd ".libs" && rm -f "libstaticrootslib.so.1" && ln -s "libstaticrootslib.so.1.0.3" "libstaticrootslib.so.1")
libtool: link: (cd ".libs" && rm -f "libstaticrootslib.so" && ln -s "libstaticrootslib.so.1.0.3" "libstaticrootslib.so")
libtool: link: ar cru .libs/libstaticrootslib.a staticrootslib.o
libtool: link: ranlib .libs/libstaticrootslib.a
libtool: link: ( cd ".libs" && rm -f "libstaticrootslib.la" && ln -s "../libstaticrootslib.la" "libstaticrootslib.la" )
gcc-4.6 -DHAVE_CONFIG_H -I./include -I../master/include -I./libatomic_ops/src -I../master/libatomic_ops/src -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -MT cordtest.o -MD -MP -MF .deps/cordtest.Tpo -c -o cordtest.o `test -f 'cord/tests/cordtest.c' || echo '../master/'`cord/tests/cordtest.c
mv -f .deps/cordtest.Tpo .deps/cordtest.Po
/bin/bash ./libtool --tag=CC --mode=link gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -o cordtest cordtest.o ./libgc.la ./libcord.la
libtool: link: gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -o .libs/cordtest cordtest.o ./.libs/libgc.so ./.libs/libcord.so -Wl,-rpath -Wl,[...]/master.build.install/lib
gcc-4.6 -DHAVE_CONFIG_H -I./include -I../master/include -I./libatomic_ops/src -I../master/libatomic_ops/src -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -MT test.o -MD -MP -MF .deps/test.Tpo -c -o test.o `test -f 'tests/test.c' || echo '../master/'`tests/test.c
mv -f .deps/test.Tpo .deps/test.Po
/bin/bash ./libtool --tag=CC --mode=link gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -o gctest test.o ./libgc.la -lpthread -ldl
libtool: link: gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -o .libs/gctest test.o ./.libs/libgc.so -lpthread -ldl -Wl,-rpath -Wl,[...]/master.build.install/lib
gcc-4.6 -DHAVE_CONFIG_H -I./include -I../master/include -I./libatomic_ops/src -I../master/libatomic_ops/src -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -MT leak_test.o -MD -MP -MF .deps/leak_test.Tpo -c -o leak_test.o `test -f 'tests/leak_test.c' || echo '../master/'`tests/leak_test.c
mv -f .deps/leak_test.Tpo .deps/leak_test.Po
/bin/bash ./libtool --tag=CC --mode=link gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -o leaktest leak_test.o ./libgc.la
libtool: link: gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -o .libs/leaktest leak_test.o ./.libs/libgc.so -Wl,-rpath -Wl,[...]/master.build.install/lib
gcc-4.6 -DHAVE_CONFIG_H -I./include -I../master/include -I./libatomic_ops/src -I../master/libatomic_ops/src -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -MT middle.o -MD -MP -MF .deps/middle.Tpo -c -o middle.o `test -f 'tests/middle.c' || echo '../master/'`tests/middle.c
mv -f .deps/middle.Tpo .deps/middle.Po
/bin/bash ./libtool --tag=CC --mode=link gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -o middletest middle.o ./libgc.la
libtool: link: gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -o .libs/middletest middle.o ./.libs/libgc.so -Wl,-rpath -Wl,[...]/master.build.install/lib
gcc-4.6 -DHAVE_CONFIG_H -I./include -I../master/include -I./libatomic_ops/src -I../master/libatomic_ops/src -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -MT smash_test.o -MD -MP -MF .deps/smash_test.Tpo -c -o smash_test.o `test -f 'tests/smash_test.c' || echo '../master/'`tests/smash_test.c
mv -f .deps/smash_test.Tpo .deps/smash_test.Po
/bin/bash ./libtool --tag=CC --mode=link gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -o smashtest smash_test.o ./libgc.la
libtool: link: gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -o .libs/smashtest smash_test.o ./.libs/libgc.so -Wl,-rpath -Wl,[...]/master.build.install/lib
gcc-4.6 -DHAVE_CONFIG_H -I./include -I../master/include -I./libatomic_ops/src -I../master/libatomic_ops/src -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -MT huge_test.o -MD -MP -MF .deps/huge_test.Tpo -c -o huge_test.o `test -f 'tests/huge_test.c' || echo '../master/'`tests/huge_test.c
mv -f .deps/huge_test.Tpo .deps/huge_test.Po
/bin/bash ./libtool --tag=CC --mode=link gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -o hugetest huge_test.o ./libgc.la
libtool: link: gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -o .libs/hugetest huge_test.o ./.libs/libgc.so -Wl,-rpath -Wl,[...]/master.build.install/lib
gcc-4.6 -DHAVE_CONFIG_H -I./include -I../master/include -I./libatomic_ops/src -I../master/libatomic_ops/src -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -MT realloc_test.o -MD -MP -MF .deps/realloc_test.Tpo -c -o realloc_test.o `test -f 'tests/realloc_test.c' || echo '../master/'`tests/realloc_test.c
mv -f .deps/realloc_test.Tpo .deps/realloc_test.Po
/bin/bash ./libtool --tag=CC --mode=link gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -o realloc_test realloc_test.o ./libgc.la
libtool: link: gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -o .libs/realloc_test realloc_test.o ./.libs/libgc.so -Wl,-rpath -Wl,[...]/master.build.install/lib
gcc-4.6 -DHAVE_CONFIG_H -I./include -I../master/include -I./libatomic_ops/src -I../master/libatomic_ops/src -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -MT staticrootstest.o -MD -MP -MF .deps/staticrootstest.Tpo -c -o staticrootstest.o `test -f 'tests/staticrootstest.c' || echo '../master/'`tests/staticrootstest.c
mv -f .deps/staticrootstest.Tpo .deps/staticrootstest.Po
/bin/bash ./libtool --tag=CC --mode=link gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -o staticrootstest staticrootstest.o ./libgc.la libstaticrootslib.la
libtool: link: gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -o .libs/staticrootstest staticrootstest.o ./.libs/libgc.so ./.libs/libstaticrootslib.so -Wl,-rpath -Wl,[...]/master.build.install/lib -Wl,-rpath -Wl,/nowhere
gcc-4.6 -DHAVE_CONFIG_H -I./include -I../master/include -I./libatomic_ops/src -I../master/libatomic_ops/src -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -MT trace_test.o -MD -MP -MF .deps/trace_test.Tpo -c -o trace_test.o `test -f 'tests/trace_test.c' || echo '../master/'`tests/trace_test.c
mv -f .deps/trace_test.Tpo .deps/trace_test.Po
/bin/bash ./libtool --tag=CC --mode=link gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -o tracetest trace_test.o ./libgc.la
libtool: link: gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -o .libs/tracetest trace_test.o ./.libs/libgc.so -Wl,-rpath -Wl,[...]/master.build.install/lib
gcc-4.6 -DHAVE_CONFIG_H -I./include -I../master/include -I./libatomic_ops/src -I../master/libatomic_ops/src -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -MT thread_leak_test.o -MD -MP -MF .deps/thread_leak_test.Tpo -c -o thread_leak_test.o `test -f 'tests/thread_leak_test.c' || echo '../master/'`tests/thread_leak_test.c
mv -f .deps/thread_leak_test.Tpo .deps/thread_leak_test.Po
/bin/bash ./libtool --tag=CC --mode=link gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -o threadleaktest thread_leak_test.o ./libgc.la -lpthread -ldl
libtool: link: gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -o .libs/threadleaktest thread_leak_test.o ./.libs/libgc.so -lpthread -ldl -Wl,-rpath -Wl,[...]/master.build.install/lib
gcc-4.6 -DHAVE_CONFIG_H -I./include -I../master/include -I./libatomic_ops/src -I../master/libatomic_ops/src -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -MT threadkey_test.o -MD -MP -MF .deps/threadkey_test.Tpo -c -o threadkey_test.o `test -f 'tests/threadkey_test.c' || echo '../master/'`tests/threadkey_test.c
mv -f .deps/threadkey_test.Tpo .deps/threadkey_test.Po
/bin/bash ./libtool --tag=CC --mode=link gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -o threadkey_test threadkey_test.o ./libgc.la -lpthread -ldl
libtool: link: gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -o .libs/threadkey_test threadkey_test.o ./.libs/libgc.so -lpthread -ldl -Wl,-rpath -Wl,[...]/master.build.install/lib
gcc-4.6 -DHAVE_CONFIG_H -I./include -I../master/include -I./libatomic_ops/src -I../master/libatomic_ops/src -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -MT subthread_create.o -MD -MP -MF .deps/subthread_create.Tpo -c -o subthread_create.o `test -f 'tests/subthread_create.c' || echo '../master/'`tests/subthread_create.c
mv -f .deps/subthread_create.Tpo .deps/subthread_create.Po
/bin/bash ./libtool --tag=CC --mode=link gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -o subthread_create subthread_create.o ./libgc.la -lpthread -ldl
libtool: link: gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -o .libs/subthread_create subthread_create.o ./.libs/libgc.so -lpthread -ldl -Wl,-rpath -Wl,[...]/master.build.install/lib
gcc-4.6 -DHAVE_CONFIG_H -I./include -I../master/include -I./libatomic_ops/src -I../master/libatomic_ops/src -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -MT initsecondarythread.o -MD -MP -MF .deps/initsecondarythread.Tpo -c -o initsecondarythread.o `test -f 'tests/initsecondarythread.c' || echo '../master/'`tests/initsecondarythread.c
mv -f .deps/initsecondarythread.Tpo .deps/initsecondarythread.Po
/bin/bash ./libtool --tag=CC --mode=link gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -o initsecondarythread initsecondarythread.o ./libgc.la -lpthread -ldl
libtool: link: gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -o .libs/initsecondarythread initsecondarythread.o ./.libs/libgc.so -lpthread -ldl -Wl,-rpath -Wl,[...]/master.build.install/lib
g++-4.6 -DHAVE_CONFIG_H -I./include -I../master/include -I./libatomic_ops/src -I../master/libatomic_ops/src -fexceptions -g -O2 -MT test_cpp.o -MD -MP -MF .deps/test_cpp.Tpo -c -o test_cpp.o `test -f 'tests/test_cpp.cc' || echo '../master/'`tests/test_cpp.cc
mv -f .deps/test_cpp.Tpo .deps/test_cpp.Po
/bin/bash ./libtool --tag=CXX --mode=link g++-4.6 -fexceptions -g -O2 -o test_cpp test_cpp.o libgccpp.la ./libgc.la
libtool: link: g++-4.6 -fexceptions -g -O2 -o .libs/test_cpp test_cpp.o ./.libs/libgccpp.so ./.libs/libgc.so -Wl,-rpath -Wl,[...]/master.build.install/lib
gcc-4.6 -DHAVE_CONFIG_H -I./include -I../master/include -I./libatomic_ops/src -I../master/libatomic_ops/src -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -MT disclaim_test.o -MD -MP -MF .deps/disclaim_test.Tpo -c -o disclaim_test.o `test -f 'tests/disclaim_test.c' || echo '../master/'`tests/disclaim_test.c
mv -f .deps/disclaim_test.Tpo .deps/disclaim_test.Po
/bin/bash ./libtool --tag=CC --mode=link gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -o disclaim_test disclaim_test.o ./libgc.la
libtool: link: gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -o .libs/disclaim_test disclaim_test.o ./.libs/libgc.so -Wl,-rpath -Wl,[...]/master.build.install/lib
gcc-4.6 -DHAVE_CONFIG_H -I./include -I../master/include -I./libatomic_ops/src -I../master/libatomic_ops/src -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -MT disclaim_bench.o -MD -MP -MF .deps/disclaim_bench.Tpo -c -o disclaim_bench.o `test -f 'tests/disclaim_bench.c' || echo '../master/'`tests/disclaim_bench.c
mv -f .deps/disclaim_bench.Tpo .deps/disclaim_bench.Po
/bin/bash ./libtool --tag=CC --mode=link gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -o disclaim_bench disclaim_bench.o ./libgc.la
libtool: link: gcc-4.6 -fexceptions -Wall -Wextra -g -O2 -fno-strict-aliasing -o .libs/disclaim_bench disclaim_bench.o ./.libs/libgc.so -Wl,-rpath -Wl,[...]/master.build.install/lib
make[2]: Leaving directory `[...]/master.build'
make check-TESTS
make[2]: Entering directory `[...]/master.build'
SUCCEEDED
PASS: cordtest
Completed 6 tests
Allocated 10285329 collectable objects
Allocated 1212 uncollectable objects
Allocated 7500000 atomic objects
Allocated 137760 stubborn objects
Finalized 6612/6612 objects - finalization is probably ok
Total number of bytes allocated is 800293073
Final heap size is 20819968 bytes
Completed 183 collections
Collector appears to work
PASS: gctest
Leaked composite object at 0x808ffd8 (../master/tests/leak_test.c:19, sz=4, NORMAL)
Leaked composite object at 0x8090ec8 (../master/tests/leak_test.c:19, sz=5, NORMAL)
Leaked composite object at 0x8090ef0 (../master/tests/leak_test.c:19, sz=6, NORMAL)
Leaked composite object at 0x8090f18 (../master/tests/leak_test.c:19, sz=7, NORMAL)
Leaked composite object at 0x8090f40 (../master/tests/leak_test.c:19, sz=8, NORMAL)
Leaked composite object at 0x8090f68 (../master/tests/leak_test.c:19, sz=9, NORMAL)
Leaked composite object at 0x8090f90 (../master/tests/leak_test.c:19, sz=10, NORMAL)
Leaked composite object at 0x8090fb8 (../master/tests/leak_test.c:19, sz=11, NORMAL)
Leaked composite object at 0x8090fe0 (../master/tests/leak_test.c:19, sz=12, NORMAL)
PASS: leaktest
Final heap size is 1536000
PASS: middletest
GC_check_heap_block: found smashed heap objects:
0x8095fb8 in or near object at 0x8095f90 (../master/tests/smash_test.c:22, sz=40)
GC_check_heap_block: found smashed heap objects:
0x810d430 in or near object at 0x810d408 (../master/tests/smash_test.c:22, sz=40)
0x8095fb8 in or near object at 0x8095f90 (../master/tests/smash_test.c:22, sz=40)
PASS: smashtest
PASS: hugetest
Heap size: 65536
Heap size: 131072
Heap size: 196608
Heap size: 266240
Heap size: 356352
Heap size: 479232
Heap size: 643072
Heap size: 860160
Heap size: 1150976
Heap size: 1536000
PASS: realloc_test
PASS: staticrootstest
****Chosen address 0x8355869 in object
0x8355860 (../master/tests/trace_test.c:19, sz=8, PTRFREE)
Reachable via 0 levels of pointers from offset 4 in object:
0x811b950 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 1 levels of pointers from offset 4 in object:
0x811bae0 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 2 levels of pointers from offset 0 in object:
0x811bbd0 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 3 levels of pointers from offset 0 in object:
0x811bbf8 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 4 levels of pointers from offset 0 in object:
0x811bc20 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 5 levels of pointers from offset 0 in object:
0x811bc48 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 6 levels of pointers from offset 4 in object:
0x81152e8 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 7 levels of pointers from offset 4 in object:
0x81081d0 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 8 levels of pointers from offset 4 in object:
0x80f3ec8 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 9 levels of pointers from offset 4 in object:
0x80c29f0 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 10 levels of pointers from offset 0 in object:
0x80c2a18 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 11 levels of pointers from root at 0x15ff8ec
****Chosen address 0x835b873 in object
0x835b888 (../master/tests/trace_test.c:19, sz=8, PTRFREE)
Reachable via 0 levels of pointers from offset 0 in object:
0x8152f68 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 1 levels of pointers from offset 4 in object:
0x8150108 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 2 levels of pointers from offset 4 in object:
0x8150590 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 3 levels of pointers from offset 0 in object:
0x81505b8 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 4 levels of pointers from offset 0 in object:
0x81505e0 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 5 levels of pointers from offset 4 in object:
0x814eab8 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 6 levels of pointers from offset 0 in object:
0x814eae0 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 7 levels of pointers from offset 0 in object:
0x814eb30 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 8 levels of pointers from offset 0 in object:
0x814eb58 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 9 levels of pointers from offset 4 in object:
0x8120568 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 10 levels of pointers from offset 4 in object:
0x80c2a18 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 11 levels of pointers from root at 0x15ff8ec
****Chosen address 0x816dc51 in object
0x816dc48 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 0 levels of pointers from offset 4 in object:
0x816ddc8 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 1 levels of pointers from offset 0 in object:
0x816ddf8 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 2 levels of pointers from offset 4 in object:
0x81b3388 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 3 levels of pointers from offset 0 in object:
0x81b33b0 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 4 levels of pointers from offset 4 in object:
0x81b27c0 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 5 levels of pointers from offset 4 in object:
0x81affe0 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 6 levels of pointers from offset 4 in object:
0x81a8040 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 7 levels of pointers from offset 4 in object:
0x819b0e0 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 8 levels of pointers from offset 0 in object:
0x819b108 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 9 levels of pointers from offset 4 in object:
0x8169630 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 10 levels of pointers from root at 0x8049a68
****Chosen address 0x80b98ec in object
0x80b9900 (../master/tests/trace_test.c:19, sz=8, PTRFREE)
Reachable via 0 levels of pointers from offset 0 in object:
0x80ba0b8 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 1 levels of pointers from offset 4 in object:
0x80ba1f8 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 2 levels of pointers from offset 0 in object:
0x80ba220 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 3 levels of pointers from offset 4 in object:
0x80ba720 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 4 levels of pointers from offset 0 in object:
0x80ba748 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 5 levels of pointers from offset 4 in object:
0x80b8b58 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 6 levels of pointers from offset 0 in object:
0x80b8b80 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 7 levels of pointers from offset 0 in object:
0x80b8ba8 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 8 levels of pointers from offset 0 in object:
0x80b8bd0 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 9 levels of pointers from offset 4 in object:
0x808ffb8 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 10 levels of pointers from offset 0 in object:
0x808ffe0 (../master/tests/trace_test.c:17, sz=8, NORMAL)
Reachable via 11 levels of pointers from root at 0x8049a60
PASS: tracetest
Leaked composite object at 0x8091ff8 (../master/tests/thread_leak_test.c:25, sz=4, NORMAL)
Leaked composite object at 0x8091fb8 (../master/tests/thread_leak_test.c:25, sz=4, NORMAL)
Leaked composite object at 0x8091fd8 (../master/tests/thread_leak_test.c:25, sz=4, NORMAL)
Leaked composite object at 0x8091f98 (../master/tests/thread_leak_test.c:25, sz=4, NORMAL)
Leaked composite object at 0x8091ff8 (../master/tests/thread_leak_test.c:25, sz=4, NORMAL)
PASS: threadleaktest
PASS: threadkey_test
subthread_create: created 196 threads (192 ended)
PASS: subthread_create
PASS: initsecondarythread
usage: test_cpp number-of-iterations
Assuming 10 iters
Starting iteration 1
Starting iteration 2
Starting iteration 3
Starting iteration 4
Starting iteration 5
Starting iteration 6
Starting iteration 7
Starting iteration 8
Starting iteration 9
Starting iteration 10
The test appears to have succeeded.
PASS: test_cpp
Threaded disclaim test.
PASS: disclaim_test
fin. ratio time/s time/fin.
regular finalization: 0.9922 25.55 6.13956e-06
finalize on reclaim: 0.9997 4.8 1.14471e-06
no finalization: 0.0000 8.11 N/A
PASS: disclaim_bench
===================
All 16 tests passed
===================
make[2]: Leaving directory `[...]/master.build'
make[1]: Leaving directory `[...]/master.build'
Making check in src
make[1]: Entering directory `[...]/master.build/libatomic_ops/src'
/bin/bash ../libtool --tag=CC --mode=compile gcc-4.6 -DHAVE_CONFIG_H -I../src -I../../../master/libatomic_ops/src -fPIC -Wall -Wextra -g -O2 -MT atomic_ops.lo -MD -MP -MF .deps/atomic_ops.Tpo -c -o atomic_ops.lo ../../../master/libatomic_ops/src/atomic_ops.c
libtool: compile: gcc-4.6 -DHAVE_CONFIG_H -I../src -I../../../master/libatomic_ops/src -fPIC -Wall -Wextra -g -O2 -MT atomic_ops.lo -MD -MP -MF .deps/atomic_ops.Tpo -c ../../../master/libatomic_ops/src/atomic_ops.c -o atomic_ops.o
mv -f .deps/atomic_ops.Tpo .deps/atomic_ops.Plo
/bin/bash ../libtool --tag=CC --mode=link gcc-4.6 -fPIC -Wall -Wextra -g -O2 -version-info 1:3:0 -no-undefined -o libatomic_ops.la -rpath [...]/master.build.install/lib atomic_ops.lo
libtool: link: ar cru .libs/libatomic_ops.a atomic_ops.o
libtool: link: ranlib .libs/libatomic_ops.a
libtool: link: ( cd ".libs" && rm -f "libatomic_ops.la" && ln -s "../libatomic_ops.la" "libatomic_ops.la" )
/bin/bash ../libtool --tag=CC --mode=compile gcc-4.6 -DHAVE_CONFIG_H -I../src -I../../../master/libatomic_ops/src -fPIC -Wall -Wextra -g -O2 -MT atomic_ops_stack.lo -MD -MP -MF .deps/atomic_ops_stack.Tpo -c -o atomic_ops_stack.lo ../../../master/libatomic_ops/src/atomic_ops_stack.c
libtool: compile: gcc-4.6 -DHAVE_CONFIG_H -I../src -I../../../master/libatomic_ops/src -fPIC -Wall -Wextra -g -O2 -MT atomic_ops_stack.lo -MD -MP -MF .deps/atomic_ops_stack.Tpo -c ../../../master/libatomic_ops/src/atomic_ops_stack.c -o atomic_ops_stack.o
mv -f .deps/atomic_ops_stack.Tpo .deps/atomic_ops_stack.Plo
/bin/bash ../libtool --tag=CC --mode=compile gcc-4.6 -DHAVE_CONFIG_H -I../src -I../../../master/libatomic_ops/src -fPIC -Wall -Wextra -g -O2 -MT atomic_ops_malloc.lo -MD -MP -MF .deps/atomic_ops_malloc.Tpo -c -o atomic_ops_malloc.lo ../../../master/libatomic_ops/src/atomic_ops_malloc.c
libtool: compile: gcc-4.6 -DHAVE_CONFIG_H -I../src -I../../../master/libatomic_ops/src -fPIC -Wall -Wextra -g -O2 -MT atomic_ops_malloc.lo -MD -MP -MF .deps/atomic_ops_malloc.Tpo -c ../../../master/libatomic_ops/src/atomic_ops_malloc.c -o atomic_ops_malloc.o
mv -f .deps/atomic_ops_malloc.Tpo .deps/atomic_ops_malloc.Plo
/bin/bash ../libtool --tag=CC --mode=link gcc-4.6 -fPIC -Wall -Wextra -g -O2 -version-info 1:3:0 -no-undefined -o libatomic_ops_gpl.la -rpath [...]/master.build.install/lib atomic_ops_stack.lo atomic_ops_malloc.lo
libtool: link: ar cru .libs/libatomic_ops_gpl.a atomic_ops_stack.o atomic_ops_malloc.o
libtool: link: ranlib .libs/libatomic_ops_gpl.a
libtool: link: ( cd ".libs" && rm -f "libatomic_ops_gpl.la" && ln -s "../libatomic_ops_gpl.la" "libatomic_ops_gpl.la" )
make[1]: Leaving directory `[...]/master.build/libatomic_ops/src'
Making check in doc
make[1]: Entering directory `[...]/master.build/libatomic_ops/doc'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `[...]/master.build/libatomic_ops/doc'
Making check in tests
make[1]: Entering directory `[...]/master.build/libatomic_ops/tests'
sed -e s/XX// ../../../master/libatomic_ops/tests/test_atomic_include.template > test_atomic_include.h
sed -e s/XX/_release/ ../../../master/libatomic_ops/tests/test_atomic_include.template >> test_atomic_include.h
sed -e s/XX/_acquire/ ../../../master/libatomic_ops/tests/test_atomic_include.template >> test_atomic_include.h
sed -e s/XX/_read/ ../../../master/libatomic_ops/tests/test_atomic_include.template >> test_atomic_include.h
sed -e s/XX/_write/ ../../../master/libatomic_ops/tests/test_atomic_include.template >> test_atomic_include.h
sed -e s/XX/_full/ ../../../master/libatomic_ops/tests/test_atomic_include.template >> test_atomic_include.h
sed -e s/XX/_release_write/ ../../../master/libatomic_ops/tests/test_atomic_include.template >> test_atomic_include.h
sed -e s/XX/_acquire_read/ ../../../master/libatomic_ops/tests/test_atomic_include.template >> test_atomic_include.h
echo "#include \"atomic_ops.h\" " > list_atomic.c
sed -e s/XX// ../../../master/libatomic_ops/tests/list_atomic.template >> list_atomic.c
sed -e s/XX/_release/ ../../../master/libatomic_ops/tests/list_atomic.template >> list_atomic.c
sed -e s/XX/_acquire/ ../../../master/libatomic_ops/tests/list_atomic.template >> list_atomic.c
sed -e s/XX/_read/ ../../../master/libatomic_ops/tests/list_atomic.template >> list_atomic.c
sed -e s/XX/_write/ ../../../master/libatomic_ops/tests/list_atomic.template >> list_atomic.c
sed -e s/XX/_full/ ../../../master/libatomic_ops/tests/list_atomic.template >> list_atomic.c
sed -e s/XX/_release_write/ ../../../master/libatomic_ops/tests/list_atomic.template >> list_atomic.c
sed -e s/XX/_acquire_read/ ../../../master/libatomic_ops/tests/list_atomic.template >> list_atomic.c
gcc-4.6 -DHAVE_CONFIG_H -I../src -I../../../master/libatomic_ops/src -I../tests -I../../../master/libatomic_ops/tests -Wall -Wextra -g -O2 list_atomic.c -E > list_atomic.i
make check-am
make[2]: Entering directory `[...]/master.build/libatomic_ops/tests'
make test_atomic test_atomic_pthreads test_stack test_malloc
make[3]: Entering directory `[...]/master.build/libatomic_ops/tests'
gcc-4.6 -DHAVE_CONFIG_H -I../src -I../../../master/libatomic_ops/src -I../tests -I../../../master/libatomic_ops/tests -Wall -Wextra -g -O2 -MT test_atomic.o -MD -MP -MF .deps/test_atomic.Tpo -c -o test_atomic.o ../../../master/libatomic_ops/tests/test_atomic.c
mv -f .deps/test_atomic.Tpo .deps/test_atomic.Po
/bin/bash ../libtool --tag=CC --mode=link gcc-4.6 -Wall -Wextra -g -O2 -o test_atomic test_atomic.o -lpthread ../src/libatomic_ops.la
libtool: link: gcc-4.6 -Wall -Wextra -g -O2 -o test_atomic test_atomic.o -lpthread ../src/.libs/libatomic_ops.a
gcc-4.6 -DHAVE_CONFIG_H -DAO_USE_PTHREAD_DEFS -I../src -I../../../master/libatomic_ops/src -I../tests -I../../../master/libatomic_ops/tests -Wall -Wextra -g -O2 -MT test_atomic_pthreads-test_atomic.o -MD -MP -MF .deps/test_atomic_pthreads-test_atomic.Tpo -c -o test_atomic_pthreads-test_atomic.o `test -f 'test_atomic.c' || echo '../../../master/libatomic_ops/tests/'`test_atomic.c
mv -f .deps/test_atomic_pthreads-test_atomic.Tpo .deps/test_atomic_pthreads-test_atomic.Po
/bin/bash ../libtool --tag=CC --mode=link gcc-4.6 -Wall -Wextra -g -O2 -o test_atomic_pthreads test_atomic_pthreads-test_atomic.o -lpthread ../src/libatomic_ops.la
libtool: link: gcc-4.6 -Wall -Wextra -g -O2 -o test_atomic_pthreads test_atomic_pthreads-test_atomic.o -lpthread ../src/.libs/libatomic_ops.a
gcc-4.6 -DHAVE_CONFIG_H -I../src -I../../../master/libatomic_ops/src -I../tests -I../../../master/libatomic_ops/tests -Wall -Wextra -g -O2 -MT test_stack.o -MD -MP -MF .deps/test_stack.Tpo -c -o test_stack.o ../../../master/libatomic_ops/tests/test_stack.c
mv -f .deps/test_stack.Tpo .deps/test_stack.Po
/bin/bash ../libtool --tag=CC --mode=link gcc-4.6 -Wall -Wextra -g -O2 -o test_stack test_stack.o -lpthread ../src/libatomic_ops_gpl.la ../src/libatomic_ops.la
libtool: link: gcc-4.6 -Wall -Wextra -g -O2 -o test_stack test_stack.o -lpthread ../src/.libs/libatomic_ops_gpl.a ../src/.libs/libatomic_ops.a
gcc-4.6 -DHAVE_CONFIG_H -I../src -I../../../master/libatomic_ops/src -I../tests -I../../../master/libatomic_ops/tests -Wall -Wextra -g -O2 -MT test_malloc.o -MD -MP -MF .deps/test_malloc.Tpo -c -o test_malloc.o ../../../master/libatomic_ops/tests/test_malloc.c
mv -f .deps/test_malloc.Tpo .deps/test_malloc.Po
/bin/bash ../libtool --tag=CC --mode=link gcc-4.6 -Wall -Wextra -g -O2 -o test_malloc test_malloc.o -lpthread ../src/libatomic_ops_gpl.la ../src/libatomic_ops.la
libtool: link: gcc-4.6 -Wall -Wextra -g -O2 -o test_malloc test_malloc.o -lpthread ../src/.libs/libatomic_ops_gpl.a ../src/.libs/libatomic_ops.a
make[3]: Leaving directory `[...]/master.build/libatomic_ops/tests'
make check-TESTS
make[3]: Entering directory `[...]/master.build/libatomic_ops/tests'
Missing: AO_compare_and_swap_double
Missing: AO_nop_acquire
Missing: AO_store_acquire
Missing: AO_short_store_acquire
Missing: AO_char_store_acquire
Missing: AO_int_store_acquire
Missing: AO_compare_and_swap_double_acquire
Missing: AO_nop_release
Missing: AO_load_release
Missing: AO_short_load_release
Missing: AO_char_load_release
Missing: AO_int_load_release
Missing: AO_compare_and_swap_double_release
Missing: AO_store_read
Missing: AO_short_store_read
Missing: AO_char_store_read
Missing: AO_int_store_read
Missing: AO_compare_and_swap_double_read
Missing: AO_load_write
Missing: AO_short_load_write
Missing: AO_char_load_write
Missing: AO_int_load_write
Missing: AO_compare_and_swap_double_write
Missing: AO_compare_and_swap_double_full
Missing: AO_nop_release_write
Missing: AO_load_release_write
Missing: AO_short_load_release_write
Missing: AO_char_load_release_write
Missing: AO_int_load_release_write
Missing: AO_compare_and_swap_double_release_write
Missing: AO_nop_acquire_read
Missing: AO_store_acquire_read
Missing: AO_short_store_acquire_read
Missing: AO_char_store_acquire_read
Missing: AO_int_store_acquire_read
Missing: AO_compare_and_swap_double_acquire_read
Testing add1/sub1
Succeeded
Testing store_release_write/load_acquire_read
Succeeded
Testing test_and_set
Succeeded
PASS: test_atomic
Missing: AO_nop_acquire
Missing: AO_store_acquire
Missing: AO_short_store_acquire
Missing: AO_char_store_acquire
Missing: AO_int_store_acquire
Missing: AO_nop_release
Missing: AO_load_release
Missing: AO_short_load_release
Missing: AO_char_load_release
Missing: AO_int_load_release
Missing: AO_store_read
Missing: AO_short_store_read
Missing: AO_char_store_read
Missing: AO_int_store_read
Missing: AO_load_write
Missing: AO_short_load_write
Missing: AO_char_load_write
Missing: AO_int_load_write
Missing: AO_nop_release_write
Missing: AO_load_release_write
Missing: AO_short_load_release_write
Missing: AO_char_load_release_write
Missing: AO_int_load_release_write
Missing: AO_nop_acquire_read
Missing: AO_store_acquire_read
Missing: AO_short_store_acquire_read
Missing: AO_char_store_acquire_read
Missing: AO_int_store_acquire_read
Testing add1/sub1
Succeeded
Testing store_release_write/load_acquire_read
Succeeded
Testing test_and_set
Succeeded
PASS: test_atomic_pthreads
About 1000000 pushes + 1000000 pops in 1 threads: 80 msecs
About 1000000 pushes + 1000000 pops in 2 threads: 80 msecs
About 1000000 pushes + 1000000 pops in 3 threads: 90 msecs
About 1000000 pushes + 1000000 pops in 4 threads: 70 msecs
PASS: test_stack
Testing AO_malloc/AO_free
Succeeded
Performing 1000 reversals of 1000 element lists in 10 threads
PASS: test_malloc
==================
All 4 tests passed
==================
make[3]: Leaving directory `[...]/master.build/libatomic_ops/tests'
make[2]: Leaving directory `[...]/master.build/libatomic_ops/tests'
make[1]: Leaving directory `[...]/master.build/libatomic_ops/tests'
make[1]: Entering directory `[...]/master.build/libatomic_ops'
make[1]: Nothing to be done for `check-am'.
make[1]: Leaving directory `[...]/master.build/libatomic_ops'
|