Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PATCH c228279 Bump MACOSX_DEPLOYMENT_TARGET to 10.7 #14559

Closed
p5pRT opened this issue Mar 5, 2015 · 11 comments

Comments

@p5pRT
Copy link
Collaborator

commented Mar 5, 2015

Migrated from rt.perl.org#123985 (status was 'resolved')

Searchable as RT123985$

@p5pRT

This comment has been minimized.

Copy link
Collaborator Author

commented Mar 5, 2015

From yoanlin93@gmail.com

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"

Inline 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​: a472246
  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

@p5pRT

This comment has been minimized.

Copy link
Collaborator Author

commented Mar 5, 2015

From @Leont

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.

Leon

@p5pRT

This comment has been minimized.

Copy link
Collaborator Author

commented Mar 5, 2015

The RT System itself - Status changed from 'new' to 'open'

@p5pRT

This comment has been minimized.

Copy link
Collaborator Author

commented Mar 5, 2015

From @jkeenan

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(-)

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

--------------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​: a472246
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)

@p5pRT

This comment has been minimized.

Copy link
Collaborator Author

commented Mar 7, 2015

From rehsack@gmail.com

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)?

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 ?

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.

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​: a472246
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-archive.perl.org/perl5/Ticket/Display.html?id=123985
Cheers
--
Jens Rehsack
rehsack@​gmail.com

@p5pRT

This comment has been minimized.

Copy link
Collaborator Author

commented Mar 7, 2015

From rehsack@gmail.com

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

@p5pRT

This comment has been minimized.

Copy link
Collaborator Author

commented Sep 1, 2015

From dwheeler@cpan.org

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

@p5pRT

This comment has been minimized.

Copy link
Collaborator Author

commented Sep 2, 2015

From @rjbs

* "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

@p5pRT

This comment has been minimized.

Copy link
Collaborator Author

commented Sep 2, 2015

From @xdg

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​:

* "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

@p5pRT

This comment has been minimized.

Copy link
Collaborator Author

commented Oct 16, 2015

@p5pRT

This comment has been minimized.

Copy link
Collaborator Author

commented Oct 16, 2015

@jhi - Status changed from 'open' to 'resolved'

@p5pRT p5pRT closed this Oct 16, 2015
@p5pRT p5pRT added the Severity Low label Oct 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.