[opensuse-arm] 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-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On Sunday 06 November 2011, Joop Boonen wrote:
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.
Please try if it works when gcc46 is built without --system-libunwind (see configure checks for %arm in gcc46.spec/gcc.spec.in). TIA, Dirk -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On Monday 07 November 2011, Dirk Müller wrote:
Please try if it works when gcc46 is built without --system-libunwind (see configure checks for %arm in gcc46.spec/gcc.spec.in).
found a related commit: http://repo.or.cz/w/glibc- ports.git/commitdiff/3c6ac5cbe1b17f08bf66be4b1b1c6ffd01729af9 currently testing this. Greetings, Dirk -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On Mon, November 7, 2011 9:00 pm, Dirk Müller wrote:
On Monday 07 November 2011, Dirk Müller wrote:
Please try if it works when gcc46 is built without --system-libunwind (see configure checks for %arm in gcc46.spec/gcc.spec.in).
found a related commit:
http://repo.or.cz/w/glibc- ports.git/commitdiff/3c6ac5cbe1b17f08bf66be4b1b1c6ffd01729af9
Great I hope this solves the issue. I wasn't able to find the cause yet.
currently testing this.
Greetings, Dirk -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Regards, Joop. -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (2)
-
Dirk Müller
-
Joop Boonen