develooper Front page | perl.perl5.porters | Postings from July 2013

[perl #119031] $DynaLoader::dl_dlext not documented in DynaLoader pod

Thread Previous
From:
Sisyphus
Date:
July 26, 2013 11:06
Subject:
[perl #119031] $DynaLoader::dl_dlext not documented in DynaLoader pod
Message ID:
rt-3.6.HEAD-2552-1374836765-1551.119031-75-0@perl.org
# New Ticket Created by  "Sisyphus" 
# Please include the string:  [perl #119031]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=119031 >


This is a bug report for perl from sisyphus1@optusnet.com.au,
generated with the help of perlbug 1.39 running under perl 5.18.0.


-----------------------------------------------------------------
[Please describe your issue here]
I make use of $DynaLoader::dl_dlext, but the DynaLoader
documentation makes no mention of this scalar.

Here's a patch to remedy that. (But please review it in case it's
in some way deficient, or inapplicable.):

--- doc.txt_orig        2013-07-26 20:36:52 +1000
+++ doc.txt     2013-07-26 20:47:17 +1000
@@ -145,6 +145,16 @@
         PERL_DL_DEBUG environment variable. Set to 1 for minimal 
information
         or higher for more.

+    $dl_dlext
+        When specified (localised) in a module's .pm file, indicates the
+        extension that the module's loadable object will have. For example:
+         local $DynaLoader::dl_dlext = 'unusual_ext';
+        would indicate that the module's loadable object has an extension 
of
+        'unusual_ext' instead of the more usual $Config{so}.
+        NOTE: This also requires that the module's Makefile.PL specifies 
(in
+        WriteMakefile()):
+         DLEXT => 'unusual_ext',
+
     dl_findfile()
         Syntax:



[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=library
    severity=medium
    module=DynaLoader
---
Site configuration information for perl 5.18.0:

Configured by sisyphus at Sun May 19 16:05:41 2013.

Summary of my perl5 (revision 5 version 18 subversion 0) configuration:

  Platform:
    osname=MSWin32, osvers=6.1, archname=MSWin32-x86-multi-thread-64int
    uname=''
    config_args='undef'
    hint=recommended, useposix=true, d_sigaction=undef
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags 
=' -s -O2 -DWIN32  -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS 
 -DUSE_PERLIO -fno-strict-aliasing -mms-bitfields',
    optimize='-s -O2',
    cppflags='-DWIN32'
    ccversion='', gccversion='4.7.0', 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='long 
long', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='g++', ldflags 
='-s -L"c:\MinGW\perl518_64int\lib\CORE" -L"C:\MinGW\lib"'
    libpth=C:\MinGW\lib C:\MinGW\msys\1.0\local\lib 
C:\MinGW\msys\1.0\local\ssl\lib
    libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 
 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion 
 -lodbc32 -lodbccp32 -lcomctl32
    perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 
 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion 
 -lodbc32 -lodbccp32 -lcomctl32
    libc=, so=dll, useshrplib=true, libperl=libperl518.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', 
lddlflags='-mdll -s -L"c:\MinGW\perl518_64int\lib\CORE" -L"C:\MinGW\lib"'

Locally applied patches:


---
@INC for perl 5.18.0:
    C:/MinGW/perl518_64int/site/lib
    C:/MinGW/perl518_64int/lib
    .

---
Environment for perl 5.18.0:
    HOME (unset)
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=C:\MinGW\perl518_64int\bin;C:\MinGW\perl518_64int\site\bin;C:\MinGW\bin;C:\Program 
Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files 
(x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files 
(x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\iCLS 
Client\;C:\Program Files\Intel\iCLS 
Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program 
Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program 
Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files 
(x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files 
(x86)\Intel\Intel(R) Management Engine Components\IPT;C:\batch;C:\Program 
Files (x86)\Windows Live\Shared;C:\Gtk3\GTK+-Bundle-3.6.1\bin;
    PERL_BADLANG (unset)
    SHELL (unset) 


Thread Previous


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