Re: [Gc] FreeBSD/ia64 build error: ./include/private/gcconfig.h:2436:3: error: #error --> undefined ALIGNMENT
Anton Shterenlikht <[email protected]>
| Newsgroups | gmane.comp.programming.garbage-collection.boehmgc |
|---|---|
| Message-ID | <[email protected]> |
>From [email protected] Mon Apr 28 11:45:31 2014 > >It is my understanding that this patch should not work. It should >compile, but the GC should leak memory, or possibly crash with it. > >> Are there any checks I can do to see that >> it works ok? > >Yes, run "make regression-test" from the ports directory. If it >succeeds, do the same for devel/boehm-gc-threaded. If that succeeds as >well, repeat the test a few more times (a hundred will do). > You are right: libtool: link: c++ -fexceptions -O2 -pipe -fno-strict-aliasing -o .libs/test_cpp test_cpp.o ./.lib/libgccpp.so /usr/ports/devel/boehm-gc/work/gc-7.2/.libs/libgc.so ./.libs/libgc.so -Wl,-rpath -Wl,/sr/local/lib make check-TESTS Segmentation fault (core dumped) FAIL: gctest Segmentation fault (core dumped) FAIL: leaktest Segmentation fault (core dumped) FAIL: middletest Segmentation fault (core dumped) FAIL: smashtest Segmentation fault (core dumped) FAIL: hugetest Segmentation fault (core dumped) FAIL: realloc_test Segmentation fault (core dumped) FAIL: staticrootstest Segmentation fault (core dumped) FAIL: test_cpp ============================================================================ Testsuite summary for gc 7.2 ============================================================================ # TOTAL: 8 # PASS: 0 # SKIP: 0 # XFAIL: 0 # FAIL: 8 # XPASS: 0 # ERROR: 0 ============================================================================ See ./test-suite.log Please report to gc-V9/[email protected] ============================================================================ *** Error code 1 Stop. make[4]: stopped in /usr/ports/devel/boehm-gc/work/gc-7.2 # gdb ./middletest ./middletest.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "ia64-marcel-freebsd"..."/usr/ports/devel/boehm-gc/work/gc-7.2/middletest": not in executable format: File format not recognized Core was generated by `middletest'. Program terminated with signal 11, Segmentation fault. #0 0x00000001200a6ad0 in ?? () (gdb) bt #0 0x00000001200a6ad0 in ?? () #1 0x00000001200b6410 in ?? () Previous frame identical to this frame (corrupt stack?) (gdb) Can I enable debugging for the port? Something like make WITH_DEBUG=yes? Thanks again Anton