GNUTLS 2.8.5: Assertion failed on Solaris 8 Sparc

Dagobert Michelsen dam at opencsw.org
Thu Nov 5 12:32:38 CET 2009


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?


Best regards

   -- Dago







More information about the Gnutls-devel mailing list