[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNUTLS 2.8.5: Assertion failed on Solaris 8 Sparc
From: |
Simon Josefsson |
Subject: |
Re: GNUTLS 2.8.5: Assertion failed on Solaris 8 Sparc |
Date: |
Thu, 05 Nov 2009 14:02:50 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux) |
Dagobert Michelsen <address@hidden> writes:
> Hi,
>
> I have a failed test in 2.8.5 on Solaris 8 Sparc with Sun Studio 11:
>
>> gmake check-TESTS
>> gmake[9]: Entering directory `/home/dam/mgar/pkg/gnutls/trunk/work/
>> solaris8-sparc/build-isa-sparcv8/gnutls-2.8.5/lib/gl/tests'
>> PASS: test-alloca-opt
>> PASS: test-byteswap
>> PASS: test-c-ctype
>> PASS: test-errno
>> PASS: test-fseeko.sh
>> PASS: test-fseeko2.sh
>> test-func.c:40: assertion failed
>> FAIL: test-func
>> PASS: test-netdb
>> PASS: test-read-file
>> PASS: test-snprintf
>
>
> I adjust the code to show what exactly is failing:
>
>> int
>> main ()
>> {
>> printf( "%d %d\n", strlen (__func__), sizeof __func__ );
>> ASSERT (strlen (__func__) + 1 == sizeof __func__);
>> return 0;
>> }
>> build8s% ./test-func
>> 4 0
>> test-func.c:41: assertion failed
>> zsh: IOT instruction (core dumped) ./test-func
>
> I guess __func__ is kindof empty... Should this concern me?
__func__ is only used in the guile wrapper:
guile/src/utils.c: scm_gnutls_error (GNUTLS_E_UNIMPLEMENTED_FEATURE,
__func__);
If you don't build the guile libraries, you could ignore it.
A sizeof(__func__) == 0 seems odd. What is __func__ on Solaris? Is
there some other variable that contains the current function name on
Solaris?
I think this is a bug in gnulib's func module, so let's continue
discussion on the gnulib list.
/Simon