develooper Front page | perl.perl5.porters | Postings from September 2003

Re: perl562@21256

Thread Previous | Thread Next
From:
Gerrit P . Haase
Date:
September 18, 2003 03:08
Subject:
Re: perl562@21256
Message ID:
perl.perl5.porters-82310@nntp.perl.org
On Wed, 17 Sep 2003 00:42:29 +0200 Rafael Garcia-Suarez wrote:

>Snapshot fight !

Me testing on Cygwin, 1.3.22 release at first (1.5.4 will follow).

$ uname -svr
CYGWIN_NT-5.0 1.3.22(0.78/3/2) 2003-03-18 09:20
$ gcc -v
gcc version 3.2 20020927 (prerelease)
$ cygcheck -c binutils
binutils             20030307-1

Configure options:
 -Doptimize='-g -O2' -Dusemultiplicity

I'm having problems:

gcc -L/p/instsoft/perl562/perl  -L/usr/local/lib  \
  -o perl perlmain.o lib/auto/DynaLoader/DynaLoader.a \
  -Wl,-Bstatic -lperl5_6_1 -Wl,-Bdynamic `cat ext.libs` \
  -lcrypt -lutil -lgdbm_compat 
fu000001.o(.idata$3+0xc): undefined reference to `_libperl5_6_1_a_iname'
nmth000000.o(.idata$4+0x0): undefined reference to `__nm__PL_do_undump'
Info: resolving _PL_do_undump by linking to __imp__PL_do_undump (auto-import)
collect2: ld returned 1 exit status


I'm not sure what the problem is here.  

Please apply the attached patch to update the buildprocedure 
for Cygwin.


Affected files are:
 Configure
 cygwin/Makefile.SHs
 cygwin/perlld.in
 lib/ExtUtils/MM_Cygwin.pm
 lib/ExtUtils/t/MM_Cygwin.t

With these changes I'm getting the following result from 
harness:

Failed 1/371 test scripts, 99.73% okay. 1/14900 subtests failed, 99.99% okay.
Failed Test      Stat Wstat Total Fail  Failed  List of Failed
---------------------------------------------------------------------------------------------------------------------------------------------------
lib/glob-basic.t                9    1  11.11%  8
17 tests and 218 subtests skipped.

I don't find this test in blead- or maintperl, so currently I have no idea 
how to fix it.


$ ./perl -Ilib -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
  Platform:
    osname=cygwin, osvers=1.3.22(0.7832), archname=cygwin-multi
    uname='cygwin_nt-5.0 ismene 1.3.22(0.7832) 2003-03-18 09:20 i586 unknown unknown cygwin '
    config_args='-de -Doptimize=-g -O2 -Dusemultiplicity'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=define
    useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
  Compiler:
    cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing',
    optimize='-g -O2',
    cppflags='-DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing'
    ccversion='', gccversion='3.2 20020927 (prerelease)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
    alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='ld2', ldflags =' -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
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags=' -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: DEBUGGING MULTIPLICITY USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
  Locally applied patches:
        DEVEL21255
  Built under cygwin
  Compiled at Sep 17 2003 18:48:21
  @INC:
    lib
    /usr/lib/perl5/5.6.1/cygwin-multi
    /usr/lib/perl5/5.6.1
    /usr/lib/perl5/site_perl/5.6.1/cygwin-multi
    /usr/lib/perl5/site_perl/5.6.1
    /usr/lib/perl5/site_perl
    .


Gerrit
-- 
=^..^=

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About