Mailinglist Archive: opensuse-factory (1564 mails)

< Previous Next >
[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@xxxxxxxxxx
====================================
</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@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >