[opensuse-factory] GMP build issue (make check) for armv7l
Hi All, I'm busy checking out why make test fails for gmp. <quote> make check-TESTS make[4]: Entering directory `/usr/src/packages/BUILD/gmp-5.0.2/tests/cxx' terminate called after throwing an instance of 'std::invalid_argument' terminate called recursively qemu: uncaught target signal 6 (Aborted) - core dumped /bin/sh: line 5: 333 Aborted ${dir}$tst FAIL: t-assign PASS: t-binary PASS: t-cast terminate called after throwing an instance of 'std::invalid_argument' terminate called recursively qemu: uncaught target signal 6 (Aborted) - core dumped /bin/sh: line 5: 390 Aborted ${dir}$tst FAIL: t-constr PASS: t-headers PASS: t-istream PASS: t-locale PASS: t-misc PASS: t-ops PASS: t-ostream PASS: t-prec terminate called after throwing an instance of 'std::length_error' terminate called recursively qemu: uncaught target signal 6 (Aborted) - core dumped /bin/sh: line 5: 536 Aborted ${dir}$tst FAIL: t-rand PASS: t-ternary PASS: t-unary ==================================== 3 of 14 tests failed Please report to gmp-bugs@gmplib.org ==================================== </quote> What I see is the following. For some reason there seems to be an exception handling issue for openSuSE arm. If I look for instance in the t-assign.cc // operator=(const char *) with invalid { try { const char *a = "abc"; mpz_class b; b = a; ASSERT_ALWAYS (0); /* should not be reached */ } catch (invalid_argument) { } } All code is fine. An exception has correctly been generated. But for some reason the try/catch doesn't catch the exception. Even if I change the "} catch (invalid_argument) {" to "} catch (...) {" it doesn't. I saw such an exception also in zypper when I didn't do a refresh I also saw something like terminate called after throwing an instance of '*File*NotExist*' or something like that. So I don't think it's a gmp but an exception handling problem. I don't know yet where the exceptions are handled. By which package. I'm checking this out now. If someone knows please let me know. Regards, Joop. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 06/11/11 06:11, Joop Boonen wrote:
Hi All,
I'm busy checking out why make test fails for gmp.
There are a large number of bugs in qemu arm so you have to exclude the test suite for now. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Sun, Nov 6, 2011 at 2:14 PM, Cristian Rodríguez <crrodriguez@opensuse.org> wrote:
On 06/11/11 06:11, Joop Boonen wrote:
Hi All,
I'm busy checking out why make test fails for gmp.
There are a large number of bugs in qemu arm so you have to exclude the test suite for now.
I have a package (pyrit) in my home directory that fails the internal self tests on OBS, but the tests work on my local machine. Do you suspect that is also qemu related? Greg -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
Cristian Rodríguez
-
Greg Freemyer
-
Joop Boonen