Buildreport for GnuTLS 2.7.11
Simon Josefsson
simon at josefsson.org
Wed May 20 09:08:25 CEST 2009
"Tom G. Christensen" <tgc at jupiterrise.com> writes:
> The new release builds and passes all tests on Solaris 2.6.
Great!
> Unfortunately there's a few issues on IRIX 5.3 and 6.2.
Ouch.
> 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,
> from common.c:25:
> ./../gl/sys/socket.h:61: error: expected
> specifier-qualifier-list before 'sa_family_t'
> make[4]: *** [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.
Should be fixed in master now, please try a snapshot in a few hours.
> The second problem is that these older IRIX releases lack vsnprintf
> (used in lib/gnutls_errors.c):
> 12000:/usr/people/tgc/buildpkg/gnutls/src/gnutls-2.7.11/src/.libs/certtool:
> rld: Error: unresolvable symbol in
> /usr/people/tgc/buildpkg/gnutls/src/gnutls-2.7.11/lib/.libs/libgnutls.so.27:
> vsnprintf
> 12000:/usr/people/tgc/buildpkg/gnutls/src/gnutls-2.7.11/src/.libs/certtool:
> rld: Fatal Error: this executable has unresolvable symbols
Should be fixed as well, by adding the 'vsnprintf' module.
> Thirdly I see variations on this warning repeatedly:
> In file included from ../gnutls_int.h:29,
> from opencdk.h:30,
> from kbnode.c:31:
> ../config.h:357:1: warning: "SIZE_MAX" redefined
> In file included from ./../gl/stdlib.h:52,
> from kbnode.c:28:
> ./../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?
I agree. I've brought it up on the gnulib list.
> When linking libgnutls.so on IRIX 5.3 I also see this error from the
> linker:
> 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.
Thanks for information. It seems like a libtool problem, so it would be
useful to report it as such. There is some discussion about
exported_symbol and exports_file in libtool.m4.
> Logs are here:
> http://jupiterrise.com/tmp
Thanks,
Simon
More information about the Gnutls-devel
mailing list