Front page | perl.perl5.porters |
Postings from November 2012
[perl #115708] Do a better job of escaping components of ldlibpth for the shell
Thread Previous
From:
Eric Brine
Date:
November 12, 2012 22:09
Subject:
[perl #115708] Do a better job of escaping components of ldlibpth for the shell
Message ID:
rt-3.6.HEAD-17500-1352786979-1942.115708-75-0@perl.org
# New Ticket Created by "Eric Brine"
# Please include the string: [perl #115708]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=115708 >
This is a bug report for perl from ikegami@adaelis.com,
generated with the help of perlbug 1.39 running under perl 5.10.1.
Components of ldlibpth are not properly escaped for the shell. It's not
unusual, for example, for the search path to include "(" and ")" in cygwin,
and this prevents the build. Patch attached.
- Eric
---
Flags:
category=core
severity=low
---
Site configuration information for perl 5.10.1:
Configured by rurban at Sat Aug 28 20:14:06 CEST 2010.
Summary of my perl5 (revision 5 version 10 subversion 1) configuration:
Platform:
osname=cygwin, osvers=1.7.5(0.22553),
archname=i686-cygwin-thread-multi-64int
uname='cygwin_nt-5.1 reini 1.7.5(0.22553) 2010-04-12 19:07 i686 cygwin '
config_args='-de -Dlibperl=cygperl5_10.dll -Dcc=gcc-4 -Dld=g++-4
-Dmksymlinks -Dusethreads -Dmad=y -Doptimize=-O3 -Accflags=-g3'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=undef, uselongdouble=undef
usemymalloc=y, bincompat5005=undef
Compiler:
cc='gcc-4', ccflags ='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g3
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include',
optimize='-O3',
cppflags='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g3
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.3.4 20090804 (release) 1', 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='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='g++-4', ldflags =' -Wl,--enable-auto-import
-Wl,--export-all-symbols -Wl,--stack,8388608 -Wl,--enable-auto-image-base
-fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib /lib
libs=-lgdbm -ldb -ldl -lcrypt -lgdbm_compat
perllibs=-ldl -lcrypt
libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=cygperl5_10.dll
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags=' --shared -Wl,--enable-auto-import
-Wl,--export-all-symbols -Wl,--stack,8388608 -Wl,--enable-auto-image-base
-L/usr/local/lib -fstack-protector'
Locally applied patches:
CYG11 no-bs
CYG12 no archlib in otherlibdirs
CYG14 Dynaloader
CYG15 static-Win32CORE
CYG17 utf8-paths
CYG21 LibList-Kid.patch
CYG22 cygwin-1.7 hints
CYG23 544-stat
CYG24 build man pages
CYG25 rebase_privlib
Module-Build-0.36_13
Bug#55162 CYG18 File::Spec::case_tolerant performance
disable ExtUtils::MakeMaker::Coverage in Sys-Syslog
---
@INC for perl 5.10.1:
/usr/lib/perl5/5.10/i686-cygwin
/usr/lib/perl5/5.10
/usr/lib/perl5/site_perl/5.10/i686-cygwin
/usr/lib/perl5/site_perl/5.10
/usr/lib/perl5/vendor_perl/5.10/i686-cygwin
/usr/lib/perl5/vendor_perl/5.10
/usr/lib/perl5/vendor_perl/5.10
/usr/lib/perl5/site_perl/5.8
/usr/lib/perl5/vendor_perl/5.8
.
---
Environment for perl 5.10.1:
HOME=/home/ikegami
LANG=en_US.UTF-8
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=foo(4)
bar(5):/home/ikegami/usr/perlbrew/bin:.:/home/ikegami/bin:/usr/local/bin:/usr/bin:/cygdrive/c/bin:/cygdrive/c/progs/perl5161-ap1601/site/bin:/cygdrive/c/progs/perl5161-ap1601/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows
PERLBREW_BASHRC_VERSION=0.42
PERLBREW_HOME=/home/ikegami/.perlbrew
PERLBREW_PATH=/home/ikegami/usr/perlbrew/bin
PERLBREW_ROOT=/home/ikegami/usr/perlbrew
PERL_BADLANG (unset)
SHELL=/bin/bash
Thread Previous