develooper Front page | perl.perl5.porters | Postings from March 2000

[ID 20000322.005] -w gives DynaLoader::dl_error redefined warningfrom static load; -Mwarnings doesn't

From:
Dominic Dunlop
Date:
March 22, 2000 03:52
Subject:
[ID 20000322.005] -w gives DynaLoader::dl_error redefined warningfrom static load; -Mwarnings doesn't
Message ID:
p04310104b4fe5e714c3a@[192.168.1.4]
This is a bug report for perl from domo@computer.org,
generated with the help of perlbug 1.27 running under perl v5.6.0.


-----------------------------------------------------------------
[Please enter your report here]

$ perl -w -MIO -e 1      # (Or any XS module of your choice)
Subroutine DynaLoader::dl_error redefined at 
/usr/local/lib/perl5/5.6.0/powerpc-machten/DynaLoader.pm line 93.
$ perl -Mwarnings -MIO -e 1
$ perl -Mwarnings=all -MCPAN -e  1
$

Firstly, I don't think I should be getting a warning at all.  I assume
it's something to do with perl being statically linked.  Secondly, I'm
surprised that the behaviour's different with C<-Mwarnings> instead of
C<-w>.

[Please do not change anything below this line]
-----------------------------------------------------------------

---
Site configuration information for perl v5.6.0:

Configured by domo at Thu Mar 16 10:29:32 WET 2000.

Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
   Platform:
     osname=machten, osvers=4.1.4, archname=powerpc-machten
     uname='machten ppp100 5 0.5 powerpc '
     config_args='-de -Doptimize=-g'
     hint=recommended, useposix=true, d_sigaction=define
     usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef
     useperlio=undef d_sfio=undef uselargefiles=define
     use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
   Compiler:
     cc='cc', optimize='-g', gccversion=2.8.1
     cppflags='-DNOTDEF_MACHTEN -DREG_INFTY=2047 -DDEBUGGING 
-I/usr/local/include'
     ccflags ='-DNOTDEF_MACHTEN -DREG_INFTY=2047 -DDEBUGGING 
-I/usr/local/include'
     stdchar='char', d_stdstdio=undef, usevfork=true
     intsize=4, longsize=4, ptrsize=4, doublesize=8
     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
     ivtype='long', ivsize=4, nvtype='double', nvsize=8, 
Off_t='off_t', lseeksize=4
     alignbytes=8, usemymalloc=y, prototype=define
   Linker and Libraries:
     ld='ld', ldflags =' -Xlstack=1048576 -L/usr/local/lib'
     libpth=/usr/local/lib /usr/lib
     libs=-lndbm -lgdbm -ldb -lm -lc
     libc=/usr/lib/libc.a, so=so, useshrplib=false, libperl=libperl.a
   Dynamic Linking:
     dlsrc=dl_none.xs, dlext=none, d_dlsymun=undef, ccdlflags=''
     cccdlflags='', lddlflags=''

Locally applied patches:
     v5.6.0-RC2

---
@INC for perl v5.6.0:
     lib
     /usr/local/lib/perl5/5.6.0/powerpc-machten
     /usr/local/lib/perl5/5.6.0
     /usr/local/lib/perl5/site_perl/5.6.0/powerpc-machten
     /usr/local/lib/perl5/site_perl/5.6.0
     /usr/local/lib/perl5/site_perl/5.00557-hidden/powerpc-machten
     /usr/local/lib/perl5/site_perl/5.00557-hidden
     /usr/local/lib/perl5/site_perl/5.00556-hidden/powerpc-machten
     /usr/local/lib/perl5/site_perl/5.00556-hidden
     /usr/local/lib/perl5/site_perl
     .

---
Environment for perl v5.6.0:
     HOME=/home/domo
     LANG (unset)
     LANGUAGE (unset)
     LD_LIBRARY_PATH=/usr/lib
     LOGDIR (unset)
 
PATH=/sbin:/usr/sbin:/home/domo/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11/bin:/usr/libexec
     PERL_BADLANG (unset)
     SHELL=/bin/bash
-- 
Dominic Dunlop



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