develooper Front page | perl.perl5.porters | Postings from April 2013

[perl #117433] Remove MACOSX_DEPLOYMENT_TARGET from hints/darwin.sh

Thread Next
From:
Tim Bunce
Date:
April 1, 2013 21:21
Subject:
[perl #117433] Remove MACOSX_DEPLOYMENT_TARGET from hints/darwin.sh
Message ID:
rt-3.6.HEAD-28177-1364851290-1799.117433-75-0@perl.org
# New Ticket Created by  Tim Bunce 
# Please include the string:  [perl #117433]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=117433 >



This is a bug report for perl from Tim.Bunce@pobox.com,
generated with the help of perlbug 1.39 running under perl 5.17.11.


-----------------------------------------------------------------
[Please describe your issue here]

hints/darwin.sh sets MACOSX_DEPLOYMENT_TARGET=10.3

OS X 10.3 (Panther) was released in 2003.

per #p5p:
[6:44pm] timbunce_: Is MACOSX_DEPLOYMENT_TARGET still worth setting, I wonder.
[6:51pm] leont: If it is, it should be higher. The current value disables modern features (such as -R)
[6:51pm] ilmari: but won't that mean the binary might not work on older version?
[6:53pm] leont: Probably, but how often is that relevant?
[6:53pm] leont: For most people in most situations, it isn't
[6:54pm] leont: If you're doing binary distribution it's a different story, but then you'll be thinking about this kind of thing
[6:55pm] leont: Neither apple nor homebrewers have this issue

Copying perl installations to different machines is rare.
We should optimize for the common case by default
and provide instructions for the less common use-case.


[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=core
    severity=low
---
Site configuration information for perl 5.17.11:

Configured by timbo at Wed Mar 27 23:36:04 GMT 2013.

Summary of my perl5 (revision 5 version 17 subversion 11) configuration:
  Derived from: b5de49e55f04e3a6c36012d250a46eb301a2be38
  Platform:
    osname=darwin, osvers=12.3.0, archname=darwin-thread-multi-2level
    uname='darwin timac.local 12.3.0 darwin kernel version 12.3.0: sun jan 6 22:37:10 pst 2013; root:xnu-2050.22.13~1release_x86_64 x86_64 '
    config_args='-des -Doptimize=-g -O1 -DEBUGGING=both -Accflags=-fsanitize=address -fno-omit-frame-pointer -Aldflags=-fsanitize=address -Alddlflags=-fsanitize=address -Dusethreads -Dusemultiplicity -Dusesitecustomize -Dusedevel -Uversiononly -Dprefix=/usr/local/perl5-blead-deb-thr-asan -Dcc=gcc-mp-4.8 -Dld=gcc-mp-4.8'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc-mp-4.8', ccflags ='-fno-common -DPERL_DARWIN -fsanitize=address -fno-omit-frame-pointer -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/opt/local/include',
    optimize='-g -O1',
    cppflags='-fno-common -DPERL_DARWIN -fsanitize=address -fno-omit-frame-pointer -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/opt/local/include'
    ccversion='', gccversion='4.8.0 20130321 (prerelease)', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    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 gcc-mp-4.8', ldflags =' -fsanitize=address -fstack-protector -L/usr/local/lib -L/opt/local/lib'
    libpth=/usr/local/lib /opt/local/lib /usr/lib
    libs=-lgdbm -ldbm -ldl -lm -lutil -lc
    perllibs=-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 -fsanitize=address -L/usr/local/lib -L/opt/local/lib -fstack-protector'

Locally applied patches:
    

---
@INC for perl 5.17.11:
    /usr/local/perl5-blead-deb-thr-asan/lib/site_perl/5.17.11/darwin-thread-multi-2level
    /usr/local/perl5-blead-deb-thr-asan/lib/site_perl/5.17.11
    /usr/local/perl5-blead-deb-thr-asan/lib/5.17.11/darwin-thread-multi-2level
    /usr/local/perl5-blead-deb-thr-asan/lib/5.17.11
    .

---
Environment for perl 5.17.11:
    DYLD_LIBRARY_PATH (unset)
    HOME=/Users/timbo
    LANG=en_IE.UTF-8
    LANGUAGE (unset)
    LC_ALL=en_IE.UTF-8
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/usr/local/perl5-blead-deb-thr-asan/bin:/Users/timbo/perl5/perlbrew/bin:/Users/timbo/perl5/perlbrew/perls/perl-5.12.4/bin:/Users/timbo/bin:/usr/local/perl512-dev/bin:/Users/timbo/perl6/rakudo/parrot_install/bin:/usr/local/mysql/bin:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
    PERLBREW_BASHRC_VERSION=0.44
    PERLBREW_HOME=/Users/timbo/.perlbrew
    PERLBREW_MANPATH=/Users/timbo/perl5/perlbrew/perls/perl-5.12.4/man
    PERLBREW_PATH=/Users/timbo/perl5/perlbrew/bin:/Users/timbo/perl5/perlbrew/perls/perl-5.12.4/bin
    PERLBREW_PERL=perl-5.12.4
    PERLBREW_ROOT=/Users/timbo/perl5/perlbrew
    PERLBREW_VERSION=0.44
    PERLCRITIC=/Users/timbo/.setdev/perlcriticrc
    PERLTIDY=/Users/timbo/.setdev/perltidyrc
    PERL_BADLANG (unset)
    SHELL=/bin/bash


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About