On Thu, May 1, 2014 at 10:01 PM, dev <[email protected]> wrote: > > This was somewhat heart breaking :-( > I have a completely clean compile now from top to bottom with > a C99 strict compliance compiler ( Oracle Studio 12.3 ) and the > end result is a big pile of fail.
The issues aren't many though. You're almost there. > t@1 (l@1) program terminated by signal BUS (invalid address alignment) > 0xffffffff7e43454c: __gmpz_sizeinbase+0x0024: ld [%g1 + 4], %g1 > Current function is wrap_nettle_mpi_get_nbits > 204 return mpz_sizeinbase (*((mpz_t *) a), 2); That's an ugly cast. It also exists on the stable branch, but I've quite simplified it now on the repository. You could check whether the new code works better. > t@1 (l@1) program terminated by signal SEGV (no mapping at the fault > address) > 0xffffffff7d8d1010: mutex_lock_impl+0x007c: ldub [%i4 + 5], %l0 > Current function is gnutls_system_mutex_lock > 232 if (pthread_mutex_lock ((pthread_mutex_t *) * priv)) [...] > (dbx) x 0xffffffff7f13e650 > 0xffffffff7f13e650: rnd_mutex : 0x00000000 > Well that's a big fat null. That could be in the most recent branch only. You need to verify that gnutls_global_init() was called, and that the mutex was initialized. regards, Nikos _______________________________________________ Gnutls-help mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnutls-help
