Buildreport for GnuTLS 2.7.11
Tom G. Christensen
tgc at jupiterrise.com
Tue May 19 22:12:13 CEST 2009
The new release builds and passes all tests on Solaris 2.6.
Unfortunately there's a few issues on IRIX 5.3 and 6.2.
First is a problem with the 'struct sockaddr_storage' replacement in the
gnulib sys_socket module:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I./../gl -I./../gl
-I./../includes -I./../includes -I./.. -I./../minitasn1
-I/usr/tgcware/include -g -O2 -MT common.lo -MD -MP -MF .deps/common.Tpo
-c common.c -DPIC -o .libs/common.o
In file included from ../gnutls_int.h:48,
./../gl/sys/socket.h:61: error: expected
specifier-qualifier-list before 'sa_family_t'
make: *** [common.lo] Error 1
The problem is that sa_family_t is not defined instead 'struct sockaddr'
uses unsigned short for sa_family.
I temporarily added a typedef to sys_socket.in.h to bypass this problem.
The second problem is that these older IRIX releases lack vsnprintf
(used in lib/gnutls_errors.c):
rld: Error: unresolvable symbol in
rld: Fatal Error: this executable has unresolvable symbols
Thirdly I see variations on this warning repeatedly:
In file included from ../gnutls_int.h:29,
../config.h:357:1: warning: "SIZE_MAX" redefined
In file included from ./../gl/stdlib.h:52,
./../gl/stdint.h:473:1: warning: this is the location of the previous definition
My guess is that config.h is unconditionally defining SIZE_MAX after the
definition in the stdint.h replacement has been activated.
Perhaps config.h should not define SIZE_MAX but leave it to stdint.h?
When linking libgnutls.so on IRIX 5.3 I also see this error from the
ld: ERROR 4: Conflicting flag setting: -exports_file
I'm not familiar with how this ld option should be used but apparently
libtool is doing it wrong. Also this option was not used on IRIX 6.2
which leads me to believe that some libtool test has guessed wrong.
I know this is probably not something you can fix in gnutls but it's here
for the record.
Logs are here:
Beware that the log for IRIX 6.2 is a bit messy since it contains a few
restarts and whatnot.
More information about the Gnutls-devel