Skip Menu |
Report information
Id: 130735
Status: open
Priority: 0/
Queue: perl5

Owner: Nobody
Requestors: walde.christian [at] gmail.com
Cc:
AdminCc:

Operating System: mswin32
PatchStatus: (no value)
Severity: low
Type: library
Perl Version: 5.18.4
Fixed In: (no value)

Attachments
0001-AutoLoader-note-incompatibility-with-constant-inlini.patch



To: perlbug [...] perl.org
Subject: AutoLoader implies suitability for constants, fails to mention inlining incompability [patch]
From: "Christian Walde" <walde.christian [...] gmail.com>
Date: Tue, 07 Feb 2017 19:31:00 +0100
Download (untitled) / with headers
text/plain 4.6k
This is a bug report for perl from walde.christian@gmail.com, generated with the help of perlbug 1.39 running under perl 5.18.4. ----------------------------------------------------------------- [Please describe your issue here] The problem is with this section of the AutoLoader documentation: http://perldoc.perl.org/AutoLoader.html#Overriding-*AutoLoader*'s-AUTOLOAD-Subroutine It describes how to do certain things with the module, but choses to make its example with constants, despite the fact that AutoLoader cannot create inlinable constant functions, due to always executing after compile time. The attached patch adds a note of this limitation. [Please do not change anything below this line] ----------------------------------------------------------------- --- Flags: category=library severity=low module=AutoLoader --- Site configuration information for perl 5.18.4: Configured by strawberry-perl at Thu Oct 2 12:12:07 2014. Summary of my perl5 (revision 5 version 18 subversion 4) configuration: Platform: osname=MSWin32, osvers=6.3, archname=MSWin32-x86-multi-thread-64int uname='Win32 strawberry-perl 5.18.4.1 #1 Thu Oct 2 12:10:29 2014 i386' 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.3', 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:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib"' libpth=C:\strawberry\c\lib C:\strawberry\c\i686-w64-mingw32\lib C:\strawberry\c\lib\gcc\i686-w64-mingw32\4.7.3 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:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib"' Locally applied patches: --- @INC for perl 5.18.4: C:/strawberry/perl/site/lib/MSWin32-x86-multi-thread-64int C:/strawberry/perl/site/lib C:/strawberry/perl/vendor/lib C:/strawberry/perl/lib . --- Environment for perl 5.18.4: CYGWIN=nodosfilewarning HOME (unset) LANG=en_US.utf8 LANGUAGE (unset) LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=C:\Program Files (x86)\ImageMagick-6.9.5-Q16;c:\python27\;c:\python27\scripts;c:\programdata\oracle\java\javapath;c:\windows\system32;c:\perl\site\bin;c:\perl\bin;c:\program files\intel\wifi\bin\;c:\program files\common files\intel\wirelesscommon\;c:\windows;c:\windows\system32\wbem;c:\windows\system32\windowspowershell\v1.0\;c:\program files (x86)\skype\phone\;c:\program files (x86)\miktex 2.9\miktex\bin\;c:\program files\git\cmd;c:\program files (x86)\intel\opencl sdk\2.0\bin\x86;c:\program files (x86)\intel\opencl sdk\2.0\bin\x64;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\TSVN\bin;C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;C:\Program Files\OpenVPN\bin;c:\cygwin\bin;C:\Program Files\PostgreSQL\pg95\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\FileBot\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Git\cmd;C:\Program Files\TortoiseGit\bin;C:\KFFirstAide;C:\Users\Mithaldu\AppData\Roaming\npm;d:\android\android-ndk-r10d\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;d:\j\MeCab\bin\;C:\Program Files (x86)\Diffuse;C:\Users\Mithaldu\AppData\Local\Microsoft\WindowsApps;C:\Program Files\GPAC PERL_BADLANG (unset) SHELL (unset)

Message body is not shown because sender requested not to inline it.

RT-Send-CC: perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 1.3k
On Tue, 07 Feb 2017 18:31:35 GMT, walde.christian@gmail.com wrote: Show quoted text
> This is a bug report for perl from walde.christian@gmail.com, > generated with the help of perlbug 1.39 running under perl 5.18.4. > > > ----------------------------------------------------------------- > [Please describe your issue here] > > The problem is with this section of the AutoLoader documentation: > > http://perldoc.perl.org/AutoLoader.html#Overriding-*AutoLoader*'s- > AUTOLOAD-Subroutine > > It describes how to do certain things with the module, but choses to > make its example with constants, despite the fact that AutoLoader > cannot create inlinable constant functions, due to always executing > after compile time. > > The attached patch adds a note of this limitation. >
We have a bit of a technical problem here. The AutoLoader library is found within the core distribution under 'cpan/Autoloader/'. This suggests that it is maintained upstream on cpan rather than in blead. This impression is confirmed by its entry in Porting/Maintainers.pl. However, when I go to https://rt.cpan.org//Dist/Display.html?Queue=AutoLoader and click on "Preferred Bug Tracker," I'm taken back to rt.perl.org -- which implies that it's maintained in core. So we need to clarify where this bug report should go. copying the maintainer. Thank you very much. Jim Keenan -- James E Keenan (jkeenan@cpan.org)
RT-Send-CC: smueller [...] cpan.org, perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 1.5k
On Wed, 08 Feb 2017 18:30:09 GMT, jkeenan wrote: Show quoted text
> On Tue, 07 Feb 2017 18:31:35 GMT, walde.christian@gmail.com wrote:
> > This is a bug report for perl from walde.christian@gmail.com, > > generated with the help of perlbug 1.39 running under perl 5.18.4. > > > > > > ----------------------------------------------------------------- > > [Please describe your issue here] > > > > The problem is with this section of the AutoLoader documentation: > > > > http://perldoc.perl.org/AutoLoader.html#Overriding-*AutoLoader*'s- > > AUTOLOAD-Subroutine > > > > It describes how to do certain things with the module, but choses to > > make its example with constants, despite the fact that AutoLoader > > cannot create inlinable constant functions, due to always executing > > after compile time. > > > > The attached patch adds a note of this limitation. > >
> > We have a bit of a technical problem here. The AutoLoader library is > found within the core distribution under 'cpan/Autoloader/'. This > suggests that it is maintained upstream on cpan rather than in blead. > This impression is confirmed by its entry in Porting/Maintainers.pl. > > However, when I go to > https://rt.cpan.org//Dist/Display.html?Queue=AutoLoader and click on > "Preferred Bug Tracker," I'm taken back to rt.perl.org -- which > implies that it's maintained in core. > > So we need to clarify where this bug report should go. copying the > maintainer. > > Thank you very much. > Jim Keenan
I have not heard back from the listed maintainer (SMUELLER). pumpking: guidance requested. Thank you very much. -- James E Keenan (jkeenan@cpan.org)
From: Sawyer X <xsawyerx [...] gmail.com>
To: perlbug-followup [...] perl.org
Subject: Re: [perl #130735] AutoLoader implies suitability for constants, fails to mention inlining incompability [patch]
Date: Mon, 27 Feb 2017 15:04:34 +0100
CC: smueller [...] cpan.org, perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 1.6k
On 02/26/2017 11:41 PM, James E Keenan via RT wrote: Show quoted text
> On Wed, 08 Feb 2017 18:30:09 GMT, jkeenan wrote:
>> On Tue, 07 Feb 2017 18:31:35 GMT, walde.christian@gmail.com wrote:
>>> This is a bug report for perl from walde.christian@gmail.com, >>> generated with the help of perlbug 1.39 running under perl 5.18.4. >>> >>> >>> ----------------------------------------------------------------- >>> [Please describe your issue here] >>> >>> The problem is with this section of the AutoLoader documentation: >>> >>> http://perldoc.perl.org/AutoLoader.html#Overriding-*AutoLoader*'s- >>> AUTOLOAD-Subroutine >>> >>> It describes how to do certain things with the module, but choses to >>> make its example with constants, despite the fact that AutoLoader >>> cannot create inlinable constant functions, due to always executing >>> after compile time. >>> >>> The attached patch adds a note of this limitation. >>>
>> We have a bit of a technical problem here. The AutoLoader library is >> found within the core distribution under 'cpan/Autoloader/'. This >> suggests that it is maintained upstream on cpan rather than in blead. >> This impression is confirmed by its entry in Porting/Maintainers.pl. >> >> However, when I go to >> https://rt.cpan.org//Dist/Display.html?Queue=AutoLoader and click on >> "Preferred Bug Tracker," I'm taken back to rt.perl.org -- which >> implies that it's maintained in core. >> >> So we need to clarify where this bug report should go. copying the >> maintainer. >> >> Thank you very much. >> Jim Keenan
> I have not heard back from the listed maintainer (SMUELLER). > > pumpking: guidance requested.
SMUELLER is sometimes overflowing in email. Let's give it another day or two.
RT-Send-CC: perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 2.1k
On Mon, 27 Feb 2017 06:06:29 -0800, xsawyerx@gmail.com wrote: Show quoted text
> > > On 02/26/2017 11:41 PM, James E Keenan via RT wrote:
> > On Wed, 08 Feb 2017 18:30:09 GMT, jkeenan wrote:
> >> On Tue, 07 Feb 2017 18:31:35 GMT, walde.christian@gmail.com wrote:
> >>> This is a bug report for perl from walde.christian@gmail.com, > >>> generated with the help of perlbug 1.39 running under perl 5.18.4. > >>> > >>> > >>> ----------------------------------------------------------------- > >>> [Please describe your issue here] > >>> > >>> The problem is with this section of the AutoLoader documentation: > >>> > >>> http://perldoc.perl.org/AutoLoader.html#Overriding-*AutoLoader*'s- > >>> AUTOLOAD-Subroutine > >>> > >>> It describes how to do certain things with the module, but choses to > >>> make its example with constants, despite the fact that AutoLoader > >>> cannot create inlinable constant functions, due to always executing > >>> after compile time. > >>> > >>> The attached patch adds a note of this limitation. > >>>
> >> We have a bit of a technical problem here. The AutoLoader library is > >> found within the core distribution under 'cpan/Autoloader/'. This > >> suggests that it is maintained upstream on cpan rather than in blead. > >> This impression is confirmed by its entry in Porting/Maintainers.pl. > >> > >> However, when I go to > >> https://rt.cpan.org//Dist/Display.html?Queue=AutoLoader and click on > >> "Preferred Bug Tracker," I'm taken back to rt.perl.org -- which > >> implies that it's maintained in core. > >> > >> So we need to clarify where this bug report should go. copying the > >> maintainer. > >> > >> Thank you very much. > >> Jim Keenan
> > I have not heard back from the listed maintainer (SMUELLER). > > > > pumpking: guidance requested.
> > SMUELLER is sometimes overflowing in email. Let's give it another day or > two.
Now knowing the maintainer is overwhelmed with other issues at the moment, I think we need to decide whether to move this into core or not without him. He's fine with it. The benefit of bringing it into core is that it's widely used enough that I would consider crucial, and will benefit from having a net of developers, which is why I'm leaning towards that.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org