Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sat, 18 Oct 2003 13:03:24 -1000 (HST) From: Russell Tokuyama Subject: 1.5.5: Problem with Convert::ASN1 module and Perl 5.8.0 X-X-Sender: russ AT uhunix2 To: cygwin AT cygwin DOT com Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Hi, Just to let people know that the Perl 5.8.0 binary distribution installed with setup for the Cygwin 1.5.5 distribution has trouble with the Convert::ASN1 package. It wouldn't pass the "make test" and the problem appeared to be Perl reporting something other than Inf for POSIX::HUGE_VAL. I reported a bug with the Convert::ASN1 package on CPAN. For details, see Bug 4121 at http://rt.cpan.org/NoAuth/Bug.html?id=4121. An indicator of trouble is: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $ perl -e 'use POSIX;print POSIX::HUGE_VAL, "\n";' -6.77154008269804e-229 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - It should be something like: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $ perl -e 'use POSIX;print POSIX::HUGE_VAL, "\n";' Inf - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - It appears that the perl-5.8.0-5.tar.bz2 package that Cygwin 1.5.5 installs was compiled with GCC 3.2 while GCC 3.3.1 comes with the 1.5.5 distribution. Recompiling Perl 5.8.0 using the perl-5.8.0-5-src.tar.bz2 source package resulted in Convert::ASN1 passing its tests. Here's what the perl-5.8.0-5.tar.bz2 binary package from Cygwin 1.5.5 says: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $ perl -V Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=cygwin, osvers=1.3.22(0.7832), archname=cygwin-multi-64int uname='cygwin_nt-5.0 ismene 1.3.22(0.7832) 2003-03-18 09:20 i586 unknown unknown cygwin ' config_args='-de -Dmksymlinks -Dusemultiplicity -Duse64bitint -Doptimize=-O3 -Dman3ext=3pm' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=undef uselongdouble=undef usemymalloc=y, bincompat5005=undef Compiler: cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing', optimize='-O3', cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing' ccversion='', gccversion='3.2 20020927 (prerelease)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4 alignbytes=8, prototype=define Linker and Libraries: ld='ld2', ldflags =' -s -L/usr/local/lib' libpth=/usr/local/lib /usr/lib /lib libs=-lgdbm -ldb -lcrypt -lutil -lgdbm_compat perllibs=-lcrypt -lutil -lgdbm_compat libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s' cccdlflags=' ', lddlflags=' -s -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_64_BIT_INT USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Built under cygwin Compiled at Aug 29 2003 12:06:59 %ENV: CYGWIN="" @INC: /usr/lib/perl5/5.8.0/cygwin-multi-64int /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl . - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Compiled from source, Perl 5.8.0 says: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $ perl -V Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=cygwin, osvers=1.5.5(0.9432), archname=cygwin-multi-64int uname='cygwin_nt-5.0 baktu 1.5.5(0.9432) 2003-09-20 16:31 i686 unknown unknown cygwin ' config_args='-de -Dmksymlinks -Dusemultiplicity -Duse64bitint -Doptimize=-O3 -Dman3ext=3pm' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=undef uselongdouble=undef usemymalloc=y, bincompat5005=undef Compiler: cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing', optimize='-O3', cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing' ccversion='', gccversion='3.3.1 (cygming special)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='ld2', ldflags =' -s -L/usr/local/lib' libpth=/usr/local/lib /usr/lib /lib libs=-lgdbm -lcrypt -lgdbm_compat perllibs=-lcrypt -lgdbm_compat libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s' cccdlflags=' ', lddlflags=' -s -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_64_BIT_INT USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Built under cygwin Compiled at Oct 18 2003 09:42:22 %ENV: CYGWIN="" @INC: /usr/lib/perl5/5.8.0/cygwin-multi-64int /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/cygwin-multi-64int /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl . - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - I'm not sure what differences there are between the versions of GCC used but I noticed that the lseeksize is different with GCC 3.2 saying 4 while GCC 3.3.1 says 8. I didn't try the perl-5.8.0-5.tar.bz2 binary package with Cygwin 1.3.22 which it was compiled under. Nor did I try the perl-5.8.1-2.tar.bz2 binary packae from Cygwin 1.5.5. While the perl-5.8.0-5.tar.bz2 binary package does run under Cygwin 1.5.5, other Perl modules may not fare as well. Russ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/