libtool-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Libtool branch, master, updated. v2.4.2.444-36-g6b02c1f


From: Gary V. Vaughan
Subject: [SCM] GNU Libtool branch, master, updated. v2.4.2.444-36-g6b02c1f
Date: Sun, 26 Oct 2014 21:08:39 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  6b02c1fb4b5f91316c8e19d8506990ca6a7915e1 (commit)
       via  e145288b059e14ab7e58fc6a304e82d9dad282a6 (commit)
      from  d7852a350058ecc533c0041db382f8e8c15ba39b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6b02c1fb4b5f91316c8e19d8506990ca6a7915e1
Author: Gary V. Vaughan <address@hidden>
Date:   Sat Oct 25 17:25:11 2014 +0100

    libtool: fix GCC linking with -fstack-protector.
    
    * build-aux/ltmain.in (func_mode_link): Pass -fstack-protector*
    to the linker as it is required at link time to resolve libssp symbols.
    From Yaakov Selkowitz
    
    Signed-off-by: Gary V. Vaughan <address@hidden>

commit e145288b059e14ab7e58fc6a304e82d9dad282a6
Author: Gary V. Vaughan <address@hidden>
Date:   Sat Oct 25 16:59:07 2014 +0100

    libtool: support Mac OS 10.10 and newer.
    
    The current template mistakenly treats a MACOSX_DEPLOYMENT_TARGET
    value of "10.10" as "10.1" followed by junk. Thinking that the
    build is targeting 10.1 Puma instead of 10.10 Yosemite, it tells
    the linker to ignore undefined symbols instead of dynamically
    resolving them. This can cause runtime crashes* and will affect
    subsequent versions of OS X.
    * libtool.mk (_LT_REQUIRED_DARWIN_CHECKS): Improve case match so
    as to reject 10.10.x on the 10.1 and 10.2 branch.
    * THANKS: Add Lawrence Velázquez.
    From Lawrence Velázquez
    
    Signed-off-by: Gary V. Vaughan <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 THANKS              |    1 +
 build-aux/ltmain.in |    3 ++-
 m4/libtool.m4       |    2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/THANKS b/THANKS
index 85c5150..211ffe1 100644
--- a/THANKS
+++ b/THANKS
@@ -132,6 +132,7 @@
   Khem Raj                      address@hidden
   KO Myung-Hun                 address@hidden
   Kurt D. Zeilenga             address@hidden
+  Lawrence Velázquez          address@hidden
   Lennart Poettering           address@hidden
   Lionel Landwerlin             address@hidden
   Maciej Helminiak             address@hidden
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index 65b5a2d..8b5945b 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -5311,6 +5311,7 @@ func_mode_link ()
       # -m*, -t[45]*, -txscale* architecture-specific flags for GCC
       # -F/path              path to uninstalled frameworks, gcc on darwin
       # -p, -pg, --coverage, -fprofile-*  profiling flags for GCC
+      # -fstack-protector*   stack protector flags for GCC
       # @file                GCC response files
       # -tp=*                Portland pgcc target processor selection
       # --sysroot=*          for sysroot support
@@ -5318,7 +5319,7 @@ func_mode_link ()
       # -stdlib=*            select c++ std lib with clang
       -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
       
-t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
-      -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-stdlib=*)
+      -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*)
         func_quote_for_eval "$arg"
        arg=$func_quote_for_eval_result
         func_append compile_command " $arg"
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 320d8b3..068f0d8 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -1043,7 +1043,7 @@ _LT_EOF
       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
        10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
-       10.[[012]]*)
+       10.[[012]][[,.]]*)
          _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined 
${wl}suppress' ;;
        10.*)
          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;


hooks/post-receive
-- 
GNU Libtool



reply via email to

[Prev in Thread] Current Thread [Next in Thread]