Skip Menu |
Report information
Id: 123985
Status: resolved
Priority: 0/
Queue: perl5

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

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



To: perlbug [...] perl.org
Subject: [PATCH c228279 Bump MACOSX_DEPLOYMENT_TARGET to 10.7
CC: yoanlin93 [...] gmail.com
From: yoanlin93 [...] gmail.com
Date: Thu, 5 Mar 2015 13:17:19 +0800 (CST)
Download (untitled) / with headers
text/plain 6.9k
This is a bug report for perl from yoanlin93@gmail.com, generated with the help of perlbug 1.40 running under perl 5.21.10. From c228279b0ddcc7b2f19c46d3e95aaec2d6df3863 Mon Sep 17 00:00:00 2001 From: c9s <yoanlin93@gmail.com> Date: Thu, 5 Mar 2015 12:54:36 +0800 Subject: [PATCH] Bump MACOSX_DEPLOYMENT_TARGET to 10.7 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------2.1.2" This is a multi-part message in MIME format. --------------2.1.2 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit Summary: Since 10.3 (Mac OS X Panther) is 2003 stuff and 64 bit is the main stream, we should move forward to look for more optimizations from a newer linker. --- hints/darwin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --------------2.1.2 Content-Type: text/x-patch; name="0001-Bump-MACOSX_DEPLOYMENT_TARGET-to-10.7.patch" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="0001-Bump-MACOSX_DEPLOYMENT_TARGET-to-10.7.patch" diff --git a/hints/darwin.sh b/hints/darwin.sh index fec05fd..c56b1af 100644 --- a/hints/darwin.sh +++ b/hints/darwin.sh @@ -206,7 +206,7 @@ case "$osvers" in lddlflags="${ldflags} -bundle -undefined dynamic_lookup" case "$ld" in *MACOSX_DEVELOPMENT_TARGET*) ;; - *) ld="env MACOSX_DEPLOYMENT_TARGET=10.3 ${ld}" ;; + *) ld="env MACOSX_DEPLOYMENT_TARGET=10.7 ${ld}" ;; esac ;; esac --------------2.1.2-- --- Flags: category=core severity=medium --- Site configuration information for perl 5.21.10: Configured by c9s at Thu Mar 5 12:30:20 CST 2015. Summary of my perl5 (revision 5 version 21 subversion 10) configuration: Derived from: 38a30b326082ab6f181dbea74f043652cb26ab3b Ancestor: a4722461b306457400dff9a3bd54fa35eed5c706 Platform: osname=darwin, osvers=14.1.0, archname=darwin-2level uname='darwin c9smba.local 14.1.0 darwin kernel version 14.1.0: mon dec 22 23:10:38 pst 2014; root:xnu-2782.10.72~2release_x86_64 x86_64 ' config_args='-des -Duse64bitall -Dusedevel -Uoptimize -Dprefix=/Users/c9s/perl-blead' hint=previous, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/opt/local/include', optimize=' ', cppflags='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/opt/local/include -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/opt/local/include -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/opt/local/include -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/opt/local/include -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/opt/local/include' ccversion='', gccversion='4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.56)', 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='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -fstack-protector -L/usr/local/lib -L/opt/local/lib' libpth=/usr/local/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib /usr/lib /opt/local/lib /usr/local/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib /usr/lib /usr/local/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib /usr/lib /usr/local/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib /usr/lib /usr/local/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/us r/bin/../lib/clang/6.0/lib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib /usr/lib libs=-lpthread -lgdbm -ldbm -ldl -lm -lutil -lc perllibs=-lpthread -ldl -lm -lutil -lc libc=, so=dylib, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -L/usr/local/lib -L/opt/local/lib -fstack-protector' Locally applied patches: uncommitted-changes d5db9e0b3e3170be5413d11cd722abe7332beea9 f1775e8bde58536b79ddc89f1d5e9c7b4951bae7 4961719cbd8503061d9d963e40224a7f4a2ff4bd 0ded6edd9a09ebbe9b4e4bd9a58d58bb207df2f1 fac3edd31efb964223893a33acf180e66a5adf1c c5e2628dfabdb98242f20b842e6b59b9e8ad5fdc 38a30b326082ab6f181dbea74f043652cb26ab3b --- @INC for perl 5.21.10: lib /Users/c9s/perl-blead/lib/site_perl/5.21.10/darwin-2level /Users/c9s/perl-blead/lib/site_perl/5.21.10 /Users/c9s/perl-blead/lib/5.21.10/darwin-2level /Users/c9s/perl-blead/lib/5.21.10 . --- Environment for perl 5.21.10: DYLD_LIBRARY_PATH (unset) HOME=/Users/c9s LANG=en_US.UTF-8 LANGUAGE (unset) LC_ALL=en_US.UTF-8 LC_CTYPE=UTF-8 LD_LIBRARY_PATH (unset) LOGDIR (unset) PATH=/Users/c9s/perl5/perlbrew/bin:/Users/c9s/perl5/perlbrew/perls/perl-5.18.2/bin:/Users/c9s/.phpbrew/php/php-5.5.17/bin:/Users/c9s/.rvm/bin:/Users/c9s/src/google/depot_tools:/usr/local/texlive/2013/bin/x86_64-darwin:/Users/c9s/Library/Haskell/bin:/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin:/Users/c9s/.phpbrew/bin:/opt/local/lib/postgresql92/bin:/opt/local/bin:/opt/local/sbin:/Users/c9s/bin:/Users/c9s/Library/Haskell/bin:/opt/local/bin:/opt/local/apache2/bin:/Users/c9s/.rvm/bin:/Users/c9s/.rvm/gems/ruby-2.1.1/bin:/Users/c9s/.rvm/gems/ruby-2.1.1@global/bin:/Users/c9s/.rvm/rubies/ruby-2.1.1/bin:/Users/c9s/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin:/usr/local/go/bin:/usr/local/MacGPG2/bin:/usr/texbin:/Users/c9s/.rvm/bin PERLBREW_BASHRC_VERSION=0.73 PERLBREW_HOME=/Users/c9s/.perlbrew PERLBREW_MANPATH=/Users/c9s/perl5/perlbrew/perls/perl-5.18.2/man PERLBREW_PATH=/Users/c9s/perl5/perlbrew/bin:/Users/c9s/perl5/perlbrew/perls/perl-5.18.2/bin PERLBREW_PERL=perl-5.18.2 PERLBREW_ROOT=/Users/c9s/perl5/perlbrew PERLBREW_VERSION=0.73 PERLDOC=-otext PERL_BADLANG (unset) PERL_CPANM_OPT=-n --mirror http://cpan.nctu.edu.tw/ PERL_MM_USE_DEFAULT=1 SHELL=/bin/zsh
Date: Thu, 5 Mar 2015 14:49:08 +0100
CC: "bugs-bitbucket [...] rt.perl.org" <bugs-bitbucket [...] rt.perl.org>
From: Leon Timmermans <fawaka [...] gmail.com>
Subject: Re: [perl #123985] [PATCH c228279 Bump MACOSX_DEPLOYMENT_TARGET to 10.7
To: Perl5 Porters <perl5-porters [...] perl.org>
Download (untitled) / with headers
text/plain 449b
On Thu, Mar 5, 2015 at 6:21 AM, via RT <perlbug-followup@perl.org> wrote:
Show quoted text
Summary:

Since 10.3 (Mac OS X Panther) is 2003 stuff and 64 bit is the main
stream, we should move forward to look for more optimizations from a
newer linker.

I agree with the logic (or better yet, make it "local version") but I suspect using "-mmacosx-version-min $version" is a better way to implement that. I'm not a mac user though so I may be wrong.

Leon

RT-Send-CC: perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 7.8k
On Wed Mar 04 21:21:56 2015, yoanlin93@gmail.com wrote: Show quoted text
> > This is a bug report for perl from yoanlin93@gmail.com, > generated with the help of perlbug 1.40 running under perl 5.21.10. > > From c228279b0ddcc7b2f19c46d3e95aaec2d6df3863 Mon Sep 17 00:00:00 2001 > From: c9s <yoanlin93@gmail.com> > Date: Thu, 5 Mar 2015 12:54:36 +0800 > Subject: [PATCH] Bump MACOSX_DEPLOYMENT_TARGET to 10.7 > MIME-Version: 1.0 > Content-Type: multipart/mixed; boundary="------------2.1.2" > > This is a multi-part message in MIME format. > --------------2.1.2 > Content-Type: text/plain; charset=UTF-8; format=fixed > Content-Transfer-Encoding: 8bit > > > Summary: > > Since 10.3 (Mac OS X Panther) is 2003 stuff and 64 bit is the main > stream, we should move forward to look for more optimizations from a > newer linker. > --- > hints/darwin.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >
I strongly oppose the application of this patch as is. I continue to configure, build, test and use perl -- including blead -- on Mac OS X 10.4. Would it be too much to ask for a hints file that had an appropriate deployment target suitable for the particular version of the OS found? Why should we sacrifice backwards-compatibility? Thank you very much. Jim Keenan Show quoted text
> --------------2.1.2 > Content-Type: text/x-patch; name="0001-Bump-MACOSX_DEPLOYMENT_TARGET- > to-10.7.patch" > Content-Transfer-Encoding: 8bit > Content-Disposition: attachment; filename="0001-Bump- > MACOSX_DEPLOYMENT_TARGET-to-10.7.patch" > > diff --git a/hints/darwin.sh b/hints/darwin.sh > index fec05fd..c56b1af 100644 > --- a/hints/darwin.sh > +++ b/hints/darwin.sh > @@ -206,7 +206,7 @@ case "$osvers" in > lddlflags="${ldflags} -bundle -undefined dynamic_lookup" > case "$ld" in > *MACOSX_DEVELOPMENT_TARGET*) ;; > - *) ld="env MACOSX_DEPLOYMENT_TARGET=10.3 ${ld}" ;; > + *) ld="env MACOSX_DEPLOYMENT_TARGET=10.7 ${ld}" ;; > esac > ;; > esac > > --------------2.1.2-- > > > --- > Flags: > category=core > severity=medium > --- > Site configuration information for perl 5.21.10: > > Configured by c9s at Thu Mar 5 12:30:20 CST 2015. > > Summary of my perl5 (revision 5 version 21 subversion 10) > configuration: > Derived from: 38a30b326082ab6f181dbea74f043652cb26ab3b > Ancestor: a4722461b306457400dff9a3bd54fa35eed5c706 > Platform: > osname=darwin, osvers=14.1.0, archname=darwin-2level > uname='darwin c9smba.local 14.1.0 darwin kernel version 14.1.0: > mon dec 22 23:10:38 pst 2014; root:xnu-2782.10.72~2release_x86_64 > x86_64 ' > config_args='-des -Duse64bitall -Dusedevel -Uoptimize > -Dprefix=/Users/c9s/perl-blead' > hint=previous, useposix=true, d_sigaction=define > useithreads=undef, usemultiplicity=undef > use64bitint=define, use64bitall=define, uselongdouble=undef > usemymalloc=n, bincompat5005=undef > Compiler: > cc='cc', ccflags ='-fno-common -DPERL_DARWIN -fno-strict-aliasing > -pipe -fstack-protector -I/usr/local/include -I/opt/local/include', > optimize=' ', > cppflags='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe > -fstack-protector -I/usr/local/include -I/opt/local/include -fno- > common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector > -I/usr/local/include -I/opt/local/include -fno-common -DPERL_DARWIN > -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include > -I/opt/local/include -fno-common -DPERL_DARWIN -fno-strict-aliasing > -pipe -fstack-protector -I/usr/local/include -I/opt/local/include > -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector > -I/usr/local/include -I/opt/local/include' > ccversion='', gccversion='4.2.1 Compatible Apple LLVM 6.0 (clang- > 600.0.56)', 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='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -fstack- > protector -L/usr/local/lib -L/opt/local/lib' > libpth=/usr/local/lib > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/lib > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib > /usr/lib /opt/local/lib /usr/local/lib > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/lib > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib > /usr/lib /usr/local/lib > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/lib > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib > /usr/lib /usr/local/lib > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/lib > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib > /usr/lib /usr/local/lib > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/us > r/bin/../lib/clang/6.0/lib > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib > /usr/lib > libs=-lpthread -lgdbm -ldbm -ldl -lm -lutil -lc > perllibs=-lpthread -ldl -lm -lutil -lc > libc=, so=dylib, useshrplib=false, libperl=libperl.a > gnulibc_version='' > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' > cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup > -L/usr/local/lib -L/opt/local/lib -fstack-protector' > > Locally applied patches: > uncommitted-changes > d5db9e0b3e3170be5413d11cd722abe7332beea9 > f1775e8bde58536b79ddc89f1d5e9c7b4951bae7 > 4961719cbd8503061d9d963e40224a7f4a2ff4bd > 0ded6edd9a09ebbe9b4e4bd9a58d58bb207df2f1 > fac3edd31efb964223893a33acf180e66a5adf1c > c5e2628dfabdb98242f20b842e6b59b9e8ad5fdc > 38a30b326082ab6f181dbea74f043652cb26ab3b > > --- > @INC for perl 5.21.10: > lib > /Users/c9s/perl-blead/lib/site_perl/5.21.10/darwin-2level > /Users/c9s/perl-blead/lib/site_perl/5.21.10 > /Users/c9s/perl-blead/lib/5.21.10/darwin-2level > /Users/c9s/perl-blead/lib/5.21.10 > . > > --- > Environment for perl 5.21.10: > DYLD_LIBRARY_PATH (unset) > HOME=/Users/c9s > LANG=en_US.UTF-8 > LANGUAGE (unset) > LC_ALL=en_US.UTF-8 > LC_CTYPE=UTF-8 > LD_LIBRARY_PATH (unset) > LOGDIR (unset) > PATH=/Users/c9s/perl5/perlbrew/bin:/Users/c9s/perl5/perlbrew/perls/perl- > 5.18.2/bin:/Users/c9s/.phpbrew/php/php- > 5.5.17/bin:/Users/c9s/.rvm/bin:/Users/c9s/src/google/depot_tools:/usr/local/texlive/2013/bin/x86_64- > darwin:/Users/c9s/Library/Haskell/bin:/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin:/Users/c9s/.phpbrew/bin:/opt/local/lib/postgresql92/bin:/opt/local/bin:/opt/local/sbin:/Users/c9s/bin:/Users/c9s/Library/Haskell/bin:/opt/local/bin:/opt/local/apache2/bin:/Users/c9s/.rvm/bin:/Users/c9s/.rvm/gems/ruby- > 2.1.1/bin:/Users/c9s/.rvm/gems/ruby- > 2.1.1@global/bin:/Users/c9s/.rvm/rubies/ruby- > 2.1.1/bin:/Users/c9s/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin:/usr/local/go/bin:/usr/local/MacGPG2/bin:/usr/texbin:/Users/c9s/.rvm/bin > PERLBREW_BASHRC_VERSION=0.73 > PERLBREW_HOME=/Users/c9s/.perlbrew > PERLBREW_MANPATH=/Users/c9s/perl5/perlbrew/perls/perl-5.18.2/man > PERLBREW_PATH=/Users/c9s/perl5/perlbrew/bin:/Users/c9s/perl5/perlbrew/perls/perl- > 5.18.2/bin > PERLBREW_PERL=perl-5.18.2 > PERLBREW_ROOT=/Users/c9s/perl5/perlbrew > PERLBREW_VERSION=0.73 > PERLDOC=-otext > PERL_BADLANG (unset) > PERL_CPANM_OPT=-n --mirror http://cpan.nctu.edu.tw/ > PERL_MM_USE_DEFAULT=1 > SHELL=/bin/zsh
-- James E Keenan (jkeenan@cpan.org)
Date: Sat, 7 Mar 2015 10:52:30 +0100
From: Jens Rehsack <rehsack [...] gmail.com>
CC: perl5-porters [...] perl.org
Subject: Re: [perl #123985] [PATCH c228279 Bump MACOSX_DEPLOYMENT_TARGET to 10.7
To: perlbug-followup [...] perl.org
Download (untitled) / with headers
text/plain 8.3k
Show quoted text
> Am 06.03.2015 um 00:19 schrieb James E Keenan via RT <perlbug-followup@perl.org>: > > On Wed Mar 04 21:21:56 2015, yoanlin93@gmail.com wrote:
>> >> This is a bug report for perl from yoanlin93@gmail.com, >> generated with the help of perlbug 1.40 running under perl 5.21.10. >> >> From c228279b0ddcc7b2f19c46d3e95aaec2d6df3863 Mon Sep 17 00:00:00 2001 >> From: c9s <yoanlin93@gmail.com> >> Date: Thu, 5 Mar 2015 12:54:36 +0800 >> Subject: [PATCH] Bump MACOSX_DEPLOYMENT_TARGET to 10.7 >> MIME-Version: 1.0 >> Content-Type: multipart/mixed; boundary="------------2.1.2" >> >> This is a multi-part message in MIME format. >> --------------2.1.2 >> Content-Type: text/plain; charset=UTF-8; format=fixed >> Content-Transfer-Encoding: 8bit >> >> >> Summary: >> >> Since 10.3 (Mac OS X Panther) is 2003 stuff and 64 bit is the main >> stream, we should move forward to look for more optimizations from a >> newer linker. >> --- >> hints/darwin.sh | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-)
What's wrong patch with RT#123831 (https://rt.perl.org/Public/Bug/Display.html?id=123831)? Show quoted text
>>
> > I strongly oppose the application of this patch as is. I continue to configure, build, test and use perl -- including blead -- on Mac OS X 10.4.
Did you take a look into 0002-very-first-step-to-tidy-up-mess-around-sdk-to-use.patch from RT#123831 ? Show quoted text
> Would it be too much to ask for a hints file that had an appropriate deployment target suitable for the particular version of the OS found? Why should we sacrifice backwards-compatibility?
I hope I provided exactly that. Show quoted text
> Thank you very much. > Jim Keenan > >
>> --------------2.1.2 >> Content-Type: text/x-patch; name="0001-Bump-MACOSX_DEPLOYMENT_TARGET- >> to-10.7.patch" >> Content-Transfer-Encoding: 8bit >> Content-Disposition: attachment; filename="0001-Bump- >> MACOSX_DEPLOYMENT_TARGET-to-10.7.patch" >> >> diff --git a/hints/darwin.sh b/hints/darwin.sh >> index fec05fd..c56b1af 100644 >> --- a/hints/darwin.sh >> +++ b/hints/darwin.sh >> @@ -206,7 +206,7 @@ case "$osvers" in >> lddlflags="${ldflags} -bundle -undefined dynamic_lookup" >> case "$ld" in >> *MACOSX_DEVELOPMENT_TARGET*) ;; >> - *) ld="env MACOSX_DEPLOYMENT_TARGET=10.3 ${ld}" ;; >> + *) ld="env MACOSX_DEPLOYMENT_TARGET=10.7 ${ld}" ;; >> esac >> ;; >> esac >> >> --------------2.1.2-- >> >> >> --- >> Flags: >> category=core >> severity=medium >> --- >> Site configuration information for perl 5.21.10: >> >> Configured by c9s at Thu Mar 5 12:30:20 CST 2015. >> >> Summary of my perl5 (revision 5 version 21 subversion 10) >> configuration: >> Derived from: 38a30b326082ab6f181dbea74f043652cb26ab3b >> Ancestor: a4722461b306457400dff9a3bd54fa35eed5c706 >> Platform: >> osname=darwin, osvers=14.1.0, archname=darwin-2level >> uname='darwin c9smba.local 14.1.0 darwin kernel version 14.1.0: >> mon dec 22 23:10:38 pst 2014; root:xnu-2782.10.72~2release_x86_64 >> x86_64 ' >> config_args='-des -Duse64bitall -Dusedevel -Uoptimize >> -Dprefix=/Users/c9s/perl-blead' >> hint=previous, useposix=true, d_sigaction=define >> useithreads=undef, usemultiplicity=undef >> use64bitint=define, use64bitall=define, uselongdouble=undef >> usemymalloc=n, bincompat5005=undef >> Compiler: >> cc='cc', ccflags ='-fno-common -DPERL_DARWIN -fno-strict-aliasing >> -pipe -fstack-protector -I/usr/local/include -I/opt/local/include', >> optimize=' ', >> cppflags='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe >> -fstack-protector -I/usr/local/include -I/opt/local/include -fno- >> common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector >> -I/usr/local/include -I/opt/local/include -fno-common -DPERL_DARWIN >> -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include >> -I/opt/local/include -fno-common -DPERL_DARWIN -fno-strict-aliasing >> -pipe -fstack-protector -I/usr/local/include -I/opt/local/include >> -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector >> -I/usr/local/include -I/opt/local/include' >> ccversion='', gccversion='4.2.1 Compatible Apple LLVM 6.0 (clang- >> 600.0.56)', 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='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -fstack- >> protector -L/usr/local/lib -L/opt/local/lib' >> libpth=/usr/local/lib >> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/lib >> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib >> /usr/lib /opt/local/lib /usr/local/lib >> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/lib >> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib >> /usr/lib /usr/local/lib >> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/lib >> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib >> /usr/lib /usr/local/lib >> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/lib >> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib >> /usr/lib /usr/local/lib >> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/us >> r/bin/../lib/clang/6.0/lib >> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib >> /usr/lib >> libs=-lpthread -lgdbm -ldbm -ldl -lm -lutil -lc >> perllibs=-lpthread -ldl -lm -lutil -lc >> libc=, so=dylib, useshrplib=false, libperl=libperl.a >> gnulibc_version='' >> Dynamic Linking: >> dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' >> cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup >> -L/usr/local/lib -L/opt/local/lib -fstack-protector' >> >> Locally applied patches: >> uncommitted-changes >> d5db9e0b3e3170be5413d11cd722abe7332beea9 >> f1775e8bde58536b79ddc89f1d5e9c7b4951bae7 >> 4961719cbd8503061d9d963e40224a7f4a2ff4bd >> 0ded6edd9a09ebbe9b4e4bd9a58d58bb207df2f1 >> fac3edd31efb964223893a33acf180e66a5adf1c >> c5e2628dfabdb98242f20b842e6b59b9e8ad5fdc >> 38a30b326082ab6f181dbea74f043652cb26ab3b >> >> --- >> @INC for perl 5.21.10: >> lib >> /Users/c9s/perl-blead/lib/site_perl/5.21.10/darwin-2level >> /Users/c9s/perl-blead/lib/site_perl/5.21.10 >> /Users/c9s/perl-blead/lib/5.21.10/darwin-2level >> /Users/c9s/perl-blead/lib/5.21.10 >> . >> >> --- >> Environment for perl 5.21.10: >> DYLD_LIBRARY_PATH (unset) >> HOME=/Users/c9s >> LANG=en_US.UTF-8 >> LANGUAGE (unset) >> LC_ALL=en_US.UTF-8 >> LC_CTYPE=UTF-8 >> LD_LIBRARY_PATH (unset) >> LOGDIR (unset) >> PATH=/Users/c9s/perl5/perlbrew/bin:/Users/c9s/perl5/perlbrew/perls/perl- >> 5.18.2/bin:/Users/c9s/.phpbrew/php/php- >> 5.5.17/bin:/Users/c9s/.rvm/bin:/Users/c9s/src/google/depot_tools:/usr/local/texlive/2013/bin/x86_64- >> darwin:/Users/c9s/Library/Haskell/bin:/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin:/Users/c9s/.phpbrew/bin:/opt/local/lib/postgresql92/bin:/opt/local/bin:/opt/local/sbin:/Users/c9s/bin:/Users/c9s/Library/Haskell/bin:/opt/local/bin:/opt/local/apache2/bin:/Users/c9s/.rvm/bin:/Users/c9s/.rvm/gems/ruby- >> 2.1.1/bin:/Users/c9s/.rvm/gems/ruby- >> 2.1.1@global/bin:/Users/c9s/.rvm/rubies/ruby- >> 2.1.1/bin:/Users/c9s/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin:/usr/local/go/bin:/usr/local/MacGPG2/bin:/usr/texbin:/Users/c9s/.rvm/bin >> PERLBREW_BASHRC_VERSION=0.73 >> PERLBREW_HOME=/Users/c9s/.perlbrew >> PERLBREW_MANPATH=/Users/c9s/perl5/perlbrew/perls/perl-5.18.2/man >> PERLBREW_PATH=/Users/c9s/perl5/perlbrew/bin:/Users/c9s/perl5/perlbrew/perls/perl- >> 5.18.2/bin >> PERLBREW_PERL=perl-5.18.2 >> PERLBREW_ROOT=/Users/c9s/perl5/perlbrew >> PERLBREW_VERSION=0.73 >> PERLDOC=-otext >> PERL_BADLANG (unset) >> PERL_CPANM_OPT=-n --mirror http://cpan.nctu.edu.tw/ >> PERL_MM_USE_DEFAULT=1 >> SHELL=/bin/zsh
> > > -- > James E Keenan (jkeenan@cpan.org) > > --- > via perlbug: queue: perl5 status: open > https://rt.perl.org/Ticket/Display.html?id=123985
Cheers -- Jens Rehsack rehsack@gmail.com
Subject: Re: [perl #123985] [PATCH c228279 Bump MACOSX_DEPLOYMENT_TARGET to 10.7
To: Leon Timmermans <fawaka [...] gmail.com>
Date: Sat, 7 Mar 2015 10:53:53 +0100
From: Jens Rehsack <rehsack [...] gmail.com>
CC: Perl5 Porters <perl5-porters [...] perl.org>, "bugs-bitbucket [...] rt.perl.org" <bugs-bitbucket [...] rt.perl.org>
Download (untitled) / with headers
text/plain 652b
Show quoted text
> Am 05.03.2015 um 14:49 schrieb Leon Timmermans <fawaka@gmail.com>: > > On Thu, Mar 5, 2015 at 6:21 AM, via RT <perlbug-followup@perl.org> wrote: > Summary: > > Since 10.3 (Mac OS X Panther) is 2003 stuff and 64 bit is the main > stream, we should move forward to look for more optimizations from a > newer linker. > > I agree with the logic (or better yet, make it "local version") but I suspect using "-mmacosx-version-min $version" is a better way to implement that. I'm not a mac user though so I may be wrong.
This will exclude any non-system-toolchain, which is probably not the best approach ;) Cheers -- Jens Rehsack rehsack@gmail.com
RT-Send-CC: perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 190b
I agree it should be dynamically configured by the hints script. Someone suggested as much when I asked about it on StackOverflow: http://stackoverflow.com/a/32284231/79202 Best, David
From: Ricardo Signes <perl.p5p [...] rjbs.manxome.org>
Date: Tue, 1 Sep 2015 21:27:17 -0400
CC: ;, perl5-porters [...] perl.org
To: "David E. Wheeler via RT" <perlbug-followup [...] perl.org>
Subject: Re: [perl #123985] [PATCH c228279 Bump MACOSX_DEPLOYMENT_TARGET to 10.7
Download (untitled) / with headers
text/plain 1.2k
* "David E. Wheeler via RT" <perlbug-followup@perl.org> [2015-09-01T14:15:23] Show quoted text
> I agree it should be dynamically configured by the hints script. Someone > suggested as much when I asked about it on StackOverflow:
I thought there had been some discussion of this before on list, but I didn't find what I was expecting. I also found [perl #117433] on topic, though. My recollection was something like this: If we just pick whatever version we're compiling on, we're multiplying possible configurations without much rhyme or reason. There's also the argument that builds become less portable, because you may not be able to compile on 10.x and then copy the install to 10.{y:y<x}. True, but for me, less compelling. I think our options are probably: 1. don't supply a target (does this even work?) 2. supply a carefully chosen target based on documented requirements 3. just use whatever you build on I don't have a lot of skin in the game, but I'd lean toward #2. Right now, things work. If we can't build on 10.11 without changing, we need to do something. Changing the target only on 10.11 is the smallest something. Anything else seems to need more justification. I believe David Golden had mentioned that some user visible change would occur, if we do this. I'll ask him for more details... -- rjbs
Download signature.asc
application/pgp-signature 473b

Message body not shown because it is not plain text.

To: p5p <perl5-porters [...] perl.org>
From: David Golden <xdg [...] xdg.me>
Date: Wed, 2 Sep 2015 08:26:10 -0400
Subject: Re: [perl #123985] [PATCH c228279 Bump MACOSX_DEPLOYMENT_TARGET to 10.7
Download (untitled) / with headers
text/plain 3.2k
I finally found the relevant documentation pages:

* https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man5/compat.5.html

Particularly, note:

  Starting in Mac OS X 10.5, if none of the macros _NONSTD_SOURCE, _POSIX_C_SOURCE or _DARWIN_C_SOURCE
     are defined, and the environment variable MACOSX_DEPLOYMENT_TARGET is either undefined or set to 10.5
     or greater (or equivalently, the gcc(1) option -mmacosx-version-min is either not specified or set to
     10.5 or greater), then UNIX conformance will be on by default, and non-POSIX extensions will also be
     available (this is the equivalent of defining _DARWIN_C_SOURCE).  For version values less that 10.5,
     UNIX conformance will be off when targeting i386 (the equivalent of defining _NONSTD_SOURCE).

Then if you read about Unix conformance, there's a long list of functions that have legacy behavior changes.

* https://developer.apple.com/library/prerelease/mac/releasenotes/Darwin/RN-Unix03Conformance/

For example, the one I have prior experience with is realpath:

LEGACY DESCRIPTION
     In legacy mode, the last component of file_name does not need to exist when realpath() is called.

So if Unix conformance is on, calling realpath on a path where the last component doesn't exist is an error, whereas previously it was allowed.

Thus, programs that use Cwd::realpath on paths with a non-existing last component will, I believe, see errors instead of success.  (Path::Tiny already explicitly works around this issue for cross-platform consistency.)

I suspect the full list of functions in the Unix Conformance document ought to be vetted for changes that could break behavior.

I have no opinion on the right course of action.  This is merely information for people to take into consideration.


On Tue, Sep 1, 2015 at 9:27 PM, Ricardo Signes <perl.p5p@rjbs.manxome.org> wrote:
Show quoted text
* "David E. Wheeler via RT" <perlbug-followup@perl.org> [2015-09-01T14:15:23]
> I agree it should be dynamically configured by the hints script. Someone
> suggested as much when I asked about it on StackOverflow:

I thought there had been some discussion of this before on list, but I didn't
find what I was expecting.  I also found [perl #117433] on topic, though.

My recollection was something like this:

If we just pick whatever version we're compiling on, we're multiplying possible
configurations without much rhyme or reason.  There's also the argument that
builds become less portable, because you may not be able to compile on 10.x and
then copy the install to 10.{y:y<x}.  True, but for me, less compelling.

I think our options are probably:

1.  don't supply a target (does this even work?)
2.  supply a carefully chosen target based on documented requirements
3.  just use whatever you build on

I don't have a lot of skin in the game, but I'd lean toward #2.  Right now,
things work.  If we can't build on 10.11 without changing, we need to do
something. Changing the target only on 10.11 is the smallest something.
Anything else seems to need more justification.

I believe David Golden had mentioned that some user visible change would occur,
if we do this.  I'll ask him for more details...

--
rjbs



--
David Golden <xdg@xdg.me> Twitter/IRC: @xdg
RT-Send-CC: perl5-porters [...] perl.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