This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Re: how to run the testsuite
- From: Andreas Tobler <andreast-list at fgznet dot ch>
- To: Sebastian Reitenbach <sebastia at l00-bugdead-prods dot de>
- Cc: libffi-discuss at sourceware dot org
- Date: Tue, 16 Dec 2008 20:22:06 +0100
- Subject: Re: how to run the testsuite
- References: <20081216063403.25B01C0B18@smtp.l00-bugdead-prods.de>
Sebastian Reitenbach wrote:
(gdb) r
Starting
program: /usr/ports/devel/libffi/w-libffi-3.0.7/libffi-3.0.7/unwindtest.exe
terminate called after throwing an instance of 'int'
terminate called recursively
Program received signal SIGABRT, Aborted.
abort () at /usr/src/lib/libc/stdlib/abort.c:74
74 /usr/src/lib/libc/stdlib/abort.c: No such file or directory.
in /usr/src/lib/libc/stdlib/abort.c
(gdb) bt
#0 abort () at /usr/src/lib/libc/stdlib/abort.c:74
#1 0x000000004723c344 in __gnu_cxx::__verbose_terminate_handler() ()
I think it is the abort from the CHECK macro (the macor is defined here:
ffitestcxx.h).
Try to comment the CHECK lines in the test case and rebuild/run.
There are six CHECK's, try to find out which one is the aborting one.
Andreas