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

Owner: Nobody
Requestors: mls [at] suse.de
Cc:
AdminCc:

Operating System: (no value)
PatchStatus: (no value)
Severity: low
Type: unknown
Perl Version: (no value)
Fixed In: (no value)



To: perlbug [...] perl.org
Date: Tue, 9 Oct 2018 12:49:30 +0000
Subject: caretx.c change breaks perl when /proc is not mounted
From: Michael Schroeder <mls [...] suse.de>
Download (untitled) / with headers
text/plain 3.9k
This is a bug report for perl from mls@suse.de, generated with the help of perlbug 1.40 running under perl 5.26.1. ----------------------------------------------------------------- Commit fca5fb9612a125f48173bedf2c079778d7bc54dd is supposed to simplify cpp conditionals, but it also broke the setting of $^X on linux if /proc is not mounted. The PL_origargv[0] fallback code is no longer used when no result can be obtained by other means. ----------------------------------------------------------------- --- Flags: category=core severity=low --- Site configuration information for perl 5.26.1: Configured by reproducible at Thu Feb 22 12:00:00 UTC 2018. Summary of my perl5 (revision 5 version 26 subversion 1) configuration: Platform: osname=linux osvers=4.12.14-lp150.9-default archname=x86_64-linux-thread-multi uname='reproducible' config_args='-ds -e -Dprefix=/usr -Dvendorprefix=/usr -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Dd_dbm_open -Duseshrplib=true -Doptimize=-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -pipe -Accflags=-DPERL_USE_SAFE_PUTENV -Dotherlibdirs=/usr/lib/perl5/site_perl -Dinc_version_list=none' hint=recommended useposix=true d_sigaction=define useithreads=define usemultiplicity=define use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n default_inc_excludes_dot=define bincompat5005=undef ompiler: cc='cc' ccflags ='-D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' optimize='-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -pipe' cppflags='-D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong' ccversion='' gccversion='7.3.1 20180323 [gcc-7-branch revision 258812]' gccosandvers='' intsize=4 longsize=8 ptrsize=8 doublesize=8 byteorder=12345678 doublekind=3 d_longlong=define longlongsize=8 d_longdbl=define longdblsize=16 longdblkind=3 ivtype='long' ivsize=8 nvtype='double' nvsize=8 Off_t='off_t' lseeksize=8 alignbytes=8 prototype=define Linker and Libraries: ld='cc' ldflags =' -L/usr/local/lib64 -fstack-protector-strong' libpth=/usr/local/lib /usr/lib64/gcc/x86_64-suse-linux/7/include-fixed /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/lib /usr/lib /lib/../lib64 /usr/lib/../lib64 /lib /lib64 /usr/lib64 /usr/local/lib64 libs=-lm -ldl -lcrypt -lpthread perllibs=-lm -ldl -lcrypt -lpthread libc=/lib64/libc-2.26.so so=so useshrplib=true libperl=libperl.so gnulibc_version='2.26' Dynamic Linking: dlsrc=dl_dlopen.xs dlext=so d_dlsymun=undef ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.26.1/x86_64-linux-thread-multi/CORE' cccdlflags='-fPIC' lddlflags='-shared -L/usr/local/lib64 -fstack-protector-strong' --- @INC for perl 5.26.1: /usr/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.26.1 /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.26.1 /usr/lib/perl5/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/5.26.1 /usr/lib/perl5/site_perl --- Environment for perl 5.26.1: HOME=/suse/mls LANG (unset) LANGUAGE (unset) LC_CTYPE=de_DE@euro LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=/suse/mls/bin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/bin:/usr/lib/java/bin:/usr/games/bin:/usr/games:/opt/gnome/bin:/opt/kde/bin:/usr/openwin/bin:/opt/pilotsdk/bin:/suse/mls/korn PERL_BADLANG (unset) SHELL=/bin/tcsh
RT-Send-CC: perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 772b
On Tue, 09 Oct 2018 13:03:50 GMT, mls@suse.de wrote: Show quoted text
> > This is a bug report for perl from mls@suse.de, > generated with the help of perlbug 1.40 running under perl 5.26.1. > > > ----------------------------------------------------------------- > > Commit fca5fb9612a125f48173bedf2c079778d7bc54dd is supposed to > simplify cpp conditionals, but it also broke the setting of > $^X on linux if /proc is not mounted. The PL_origargv[0] fallback > code is no longer used when no result can be obtained by other > means. > >
A potential fix has been pushed by Aaron Crane. Can you build perl in the relevant environment at or after commit 03b94aa47e981af3c7b0118bfb11facda2b95251 and let us know the results? Thank you very much. -- James E Keenan (jkeenan@cpan.org)


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