[Net-ssleay-devel] Net::SSLeay 1.36 test failure on solaris 64 bit

Mike McCauley mikem at open.com.au
Wed Sep 22 21:36:10 UTC 2010


Hello Poul,

thanks for reporting this.
It has now been fixed in svn.

Cheers.

On Thursday 23 September 2010 01:35:30 am sampo at symlabs.com wrote:
> I have passed on the maintenance responsibility to Florian and Mike. They
> set
>
> up a mailing list, Cc'd. Let's hope they answer.
>
>
>
> http://alioth.debian.org/projects/net-ssleay/
>
> net-ssleay-devel at lists.alioth.debian.org
>
>
>
> Cheers,
>
> --Sampo
>
> =?UTF-8?B?IlBvdWwgSC4gU8O4cmVuc2VuIg==?= <poul at basefarm.no> said:
> > Hi
> >
> > I have discovered a minor bug in t/local/00_ptr_cast.t:
> >  > You should use the same C compiler and options to compile OpenSSL,
> >  >
> >  > perl, and Net::SSLeay.
> >
> > t/local/00_ptr_cast.t does NOT comply, as it does not pass the ccflags:
> >
> >
> >
> > 27c27
> >
> > <     $cmd = "$Config{cc} -o $output $input " . join(' ', @extraargs)
> >
> > ---
> >
> >  >     $cmd = "$Config{cc} $Config{ccflags} -o $output $input " . join('
> >  > ', @extraargs)
> >
> > This causes the test to fail on Solaris when OpenSSL and perl is compiled
> > for
> >
> > 64-bit, and the default for cc is 32-bit (see attached test-output).
> >
> >
> >
> > And here is your checklist:
> >
> > + compiled OpenSSL myself
> >
> > + compiled perl myself with exactly the same CFLAGS and same SunStudio
> > C-compiler
> >
> > + compiled Net::SSLeay fram CPAN against same perl and with same compiler
> >
> > - not tried gcc
> >
> >
> >
> > * SunOS sol10-x86-64-01.poul.dev.basefarm.no 5.10 Generic_142901-08 i86pc
> > i386 i86pc
> >
> > * Net-SSLeay-1.36
> >
> > * OpenSSL 1.0.0a 1 Jun 2010
> >
> > * cc: Sun C 5.10 SunOS_i386 2009/06/03
> >
> >
> >
> >
> >
> > thanks for a super-module!
> >
> >
> >
> > regards
> >
> > Poul Sørensen
> >
> > Basefarm
> >
> >
> >
> > --
> >
> > print $Std{'Disclaimer'};
> >
> > $CC =  +-1; # the Computer Constant - very useful when writing loops.   
> > #
> >
> > $|=printf "Just another [lazy] %s hacker\r",("PERL","perl")[$i+sleep 1]  
> > #
> >
> > while $i=$i?0:$CC,1;                                                   
> > ###
> >
> > __EOF__



-- 
Mike McCauley                               mikem at open.com.au
Open System Consultants Pty. Ltd
9 Bulbul Place Currumbin Waters QLD 4223 Australia   http://www.open.com.au
Phone +61 7 5598-7474                       Fax   +61 7 5598-7070

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, 
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.



More information about the Net-ssleay-devel mailing list