I am using gc-7.2e, which is what pkgsrc has, and which http://www.hboehm.info/gc/ indicates is the latest stable version. This is with gcc 4.5.3 on i386. ludo@gnu.org (Ludovic Courtès) writes: > Greg, does libgc’s own ‘make check’ pass on this platform? Yes. libgc seems to have multiple tests. pkgsrc has the following, and it runs fine: do-test: cd ${WRKSRC} && \ ${RM} -f gctest && ${MAKE_PROGRAM} gctest && ./gctest && \ ${RM} -f test_cpp && ${MAKE_PROGRAM} test_cpp && ./test_cpp 10 also, cding into the build directory after the package is built and "gmake check" passes. gory details in case it matters, make test (above taret) and then check: ---------------------------------------- => Bootstrap dependency digest>=20010302: found digest-20121220 WARNING: [license.mk] Every package should define a LICENSE. ===> Testing for boehm-gc-7.2e cd /u0/n0/gdt/NetBSD-current/pkgsrc/devel/boehm-gc/work/gc-7.2 && /bin/rm -f gctest && /usr/pkg/bin/gmake gctest && ./gctest && /bin/rm -f test_cpp && /usr/pkg/bin/gmake test_cpp && ./test_cpp 10 gcc -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -fexceptions -O2 -fno-strict-aliasing -MT test.o -MD -MP -MF .deps/test.Tpo -c -o test.o `test -f 'tests/test.c' || echo './'`tests/test.c mv -f .deps/test.Tpo .deps/test.Po /bin/sh ./libtool --tag=CC --mode=link gcc -fexceptions -O2 -fno-strict-aliasing -Wl,-R/usr/pkg/lib -o gctest test.o ./libgc.la libtool: link: gcc -fexceptions -O2 -fno-strict-aliasing -Wl,-R/usr/pkg/lib -o .libs/gctest test.o -L./.libs -lgc -L/u0/n0/gdt/NetBSD-current/pkgsrc/devel/boehm-gc/work/.buildlink/lib -Wl,-rpath,/usr/pkg/lib Completed 1 tests Allocated 747393 collectable objects Allocated 202 uncollectable objects Allocated 1250000 atomic objects Allocated 21760 stubborn objects Finalized 2206/2206 objects - finalization is probably ok Total number of bytes allocated is 90678890 Final heap size is 4927488 bytes Collector appears to work c++ -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -fexceptions -O2 -MT test_cpp.o -MD -MP -MF .deps/test_cpp.Tpo -c -o test_cpp.o `test -f 'tests/test_cpp.cc' || echo './'`tests/test_cpp.cc mv -f .deps/test_cpp.Tpo .deps/test_cpp.Po /bin/sh ./libtool --tag=CXX --mode=link c++ -fexceptions -O2 -Wl,-R/usr/pkg/lib -o test_cpp test_cpp.o libgccpp.la ./libgc.la libtool: link: c++ -fexceptions -O2 -Wl,-R/usr/pkg/lib -o .libs/test_cpp test_cpp.o -L/u0/n0/gdt/NetBSD-current/pkgsrc/devel/boehm-gc/work/gc-7.2/.libs -L./.libs -lgccpp -L/u0/n0/gdt/NetBSD-current/pkgsrc/devel/boehm-gc/work/.buildlink/lib -lgc -Wl,-rpath,/usr/pkg/lib 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. ---------------------------------------- gmake[1]: Entering directory '/u0/n0/gdt/NetBSD-current/pkgsrc/devel/boehm-gc/work/gc-7.2' gmake libstaticrootslib.la gctest leaktest middletest smashtest hugetest realloc_test staticrootstest test_cpp gmake[2]: Entering directory '/u0/n0/gdt/NetBSD-current/pkgsrc/devel/boehm-gc/work/gc-7.2' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -fexceptions -O2 -fno-strict-aliasing -MT staticrootslib.lo -MD -MP -MF .deps/staticrootslib.Tpo -c -o staticrootslib.lo `test -f 'tests/staticrootslib.c' || echo './'`tests/staticrootslib.c libtool: compile: gcc -DHAVE_CONFIG_H -I./include -I./libatomic_ops/src -fexceptions -O2 -fno-strict-aliasing -MT staticrootslib.lo -MD -MP -MF .deps/staticrootslib.Tpo -c tests/staticrootslib.c -fPIC -DPIC -o .libs/staticrootslib.o libtool: compile: gcc -DHAVE_CONFIG_H -I./include -I./libatomic_ops/src -fexceptions -O2 -fno-strict-aliasing -MT staticrootslib.lo -MD -MP -MF .deps/staticrootslib.Tpo -c tests/staticrootslib.c -o staticrootslib.o >/dev/null 2>&1 mv -f .deps/staticrootslib.Tpo .deps/staticrootslib.Plo /bin/sh ./libtool --tag=CC --mode=link gcc -fexceptions -O2 -fno-strict-aliasing -version-info 1:3:0 -no-undefined -rpath /nowhere -Wl,-R/usr/pkg/lib -o libstaticrootslib.la staticrootslib.lo ./libgc.la libtool: link: gcc -shared -fPIC -DPIC .libs/staticrootslib.o -Wl,-rpath,/usr/pkgsrc/devel/boehm-gc/work/gc-7.2/.libs -Wl,-rpath,/usr/pkg/lib -L./.libs -lgc -L/u0/n0/gdt/NetBSD-current/pkgsrc/devel/boehm-gc/work/.buildlink/lib -O2 -Wl,-R/usr/pkg/lib -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" ) gmake[2]: 'gctest' is up to date. gcc -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -fexceptions -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 './'`tests/leak_test.c mv -f .deps/leak_test.Tpo .deps/leak_test.Po /bin/sh ./libtool --tag=CC --mode=link gcc -fexceptions -O2 -fno-strict-aliasing -Wl,-R/usr/pkg/lib -o leaktest leak_test.o ./libgc.la libtool: link: gcc -fexceptions -O2 -fno-strict-aliasing -Wl,-R/usr/pkg/lib -o .libs/leaktest leak_test.o -L./.libs -lgc -L/u0/n0/gdt/NetBSD-current/pkgsrc/devel/boehm-gc/work/.buildlink/lib -Wl,-rpath,/usr/pkg/lib gcc -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -fexceptions -O2 -fno-strict-aliasing -MT middle.o -MD -MP -MF .deps/middle.Tpo -c -o middle.o `test -f 'tests/middle.c' || echo './'`tests/middle.c mv -f .deps/middle.Tpo .deps/middle.Po /bin/sh ./libtool --tag=CC --mode=link gcc -fexceptions -O2 -fno-strict-aliasing -Wl,-R/usr/pkg/lib -o middletest middle.o ./libgc.la libtool: link: gcc -fexceptions -O2 -fno-strict-aliasing -Wl,-R/usr/pkg/lib -o .libs/middletest middle.o -L./.libs -lgc -L/u0/n0/gdt/NetBSD-current/pkgsrc/devel/boehm-gc/work/.buildlink/lib -Wl,-rpath,/usr/pkg/lib gcc -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -fexceptions -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 './'`tests/smash_test.c mv -f .deps/smash_test.Tpo .deps/smash_test.Po /bin/sh ./libtool --tag=CC --mode=link gcc -fexceptions -O2 -fno-strict-aliasing -Wl,-R/usr/pkg/lib -o smashtest smash_test.o ./libgc.la libtool: link: gcc -fexceptions -O2 -fno-strict-aliasing -Wl,-R/usr/pkg/lib -o .libs/smashtest smash_test.o -L./.libs -lgc -L/u0/n0/gdt/NetBSD-current/pkgsrc/devel/boehm-gc/work/.buildlink/lib -Wl,-rpath,/usr/pkg/lib gcc -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -fexceptions -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 './'`tests/huge_test.c mv -f .deps/huge_test.Tpo .deps/huge_test.Po /bin/sh ./libtool --tag=CC --mode=link gcc -fexceptions -O2 -fno-strict-aliasing -Wl,-R/usr/pkg/lib -o hugetest huge_test.o ./libgc.la libtool: link: gcc -fexceptions -O2 -fno-strict-aliasing -Wl,-R/usr/pkg/lib -o .libs/hugetest huge_test.o -L./.libs -lgc -L/u0/n0/gdt/NetBSD-current/pkgsrc/devel/boehm-gc/work/.buildlink/lib -Wl,-rpath,/usr/pkg/lib gcc -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -fexceptions -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 './'`tests/realloc_test.c mv -f .deps/realloc_test.Tpo .deps/realloc_test.Po /bin/sh ./libtool --tag=CC --mode=link gcc -fexceptions -O2 -fno-strict-aliasing -Wl,-R/usr/pkg/lib -o realloc_test realloc_test.o ./libgc.la libtool: link: gcc -fexceptions -O2 -fno-strict-aliasing -Wl,-R/usr/pkg/lib -o .libs/realloc_test realloc_test.o -L./.libs -lgc -L/u0/n0/gdt/NetBSD-current/pkgsrc/devel/boehm-gc/work/.buildlink/lib -Wl,-rpath,/usr/pkg/lib gcc -DHAVE_CONFIG_H -I./include -I./include -I./libatomic_ops/src -I./libatomic_ops/src -fexceptions -O2 -fno-strict-aliasing -MT staticrootstest.o -MD -MP -MF .deps/staticrootstest.Tpo -c -o staticrootstest.o `test -f 'tests/staticrootstest.c' || echo './'`tests/staticrootstest.c mv -f .deps/staticrootstest.Tpo .deps/staticrootstest.Po /bin/sh ./libtool --tag=CC --mode=link gcc -fexceptions -O2 -fno-strict-aliasing -Wl,-R/usr/pkg/lib -o staticrootstest staticrootstest.o ./libgc.la libstaticrootslib.la libtool: link: gcc -fexceptions -O2 -fno-strict-aliasing -Wl,-R/usr/pkg/lib -o .libs/staticrootstest staticrootstest.o -L/usr/pkgsrc/devel/boehm-gc/work/gc-7.2/.libs -L./.libs -L/u0/n0/gdt/NetBSD-current/pkgsrc/devel/boehm-gc/work/.buildlink/lib -lstaticrootslib -lgc -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/nowhere gmake[2]: 'test_cpp' is up to date. gmake[2]: Leaving directory '/u0/n0/gdt/NetBSD-current/pkgsrc/devel/boehm-gc/work/gc-7.2' gmake check-TESTS gmake[2]: Entering directory '/u0/n0/gdt/NetBSD-current/pkgsrc/devel/boehm-gc/work/gc-7.2' gmake[3]: Entering directory '/u0/n0/gdt/NetBSD-current/pkgsrc/devel/boehm-gc/work/gc-7.2' PASS: gctest PASS: leaktest PASS: middletest PASS: smashtest PASS: hugetest PASS: realloc_test PASS: staticrootstest PASS: test_cpp gmake[4]: Entering directory '/u0/n0/gdt/NetBSD-current/pkgsrc/devel/boehm-gc/work/gc-7.2' gmake[5]: Entering directory '/u0/n0/gdt/NetBSD-current/pkgsrc/devel/boehm-gc/work/gc-7.2' gmake[5]: Leaving directory '/u0/n0/gdt/NetBSD-current/pkgsrc/devel/boehm-gc/work/gc-7.2' gmake[4]: Leaving directory '/u0/n0/gdt/NetBSD-current/pkgsrc/devel/boehm-gc/work/gc-7.2' ============================================================================ Testsuite summary for gc 7.2 ============================================================================ # TOTAL: 8 # PASS: 8 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ gmake[3]: Leaving directory '/u0/n0/gdt/NetBSD-current/pkgsrc/devel/boehm-gc/work/gc-7.2' gmake[2]: Leaving directory '/u0/n0/gdt/NetBSD-current/pkgsrc/devel/boehm-gc/work/gc-7.2' gmake[1]: Leaving directory '/u0/n0/gdt/NetBSD-current/pkgsrc/devel/boehm-gc/work/gc-7.2' ----------------------------------------