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-28-g053df7e


From: Peter Rosin
Subject: [SCM] GNU Libtool branch, master, updated. v2.4.2.444-28-g053df7e
Date: Wed, 12 Feb 2014 09:08:06 +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  053df7eb31d21c6d6dbe54c44f42009efec9d0c9 (commit)
       via  0d666fc13b8e5a110e7600866d6fa55dade4d4a0 (commit)
      from  c18b2d494e03ed15407c65b1de4b2231d733fb75 (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 053df7eb31d21c6d6dbe54c44f42009efec9d0c9
Author: Peter Rosin <address@hidden>
Date:   Wed Feb 12 10:03:56 2014 +0100

    tests: sprinkle -no-undefined when linking libraries
    
    * tests/duplicate_conv.at, tests/f77demo.at, tests/fcdemo.at: Here.
    
    Signed-off-by: Peter Rosin <address@hidden>

commit 0d666fc13b8e5a110e7600866d6fa55dade4d4a0
Author: Peter Rosin <address@hidden>
Date:   Wed Feb 12 10:01:13 2014 +0100

    libtool: actually strip -Wl when relinking with $LD
    
    Fixes the regression from commit v2.4.2.444 which is causing a
    testsuite failure in duplicate_conv.at (seen on Cygwin).
    
    * build-aux/ltmain.in (func_mode_link): $reload_cmds typically
    starts with "$LD$reload_flag ..." when $LD is used to relink.
    Make the case expression match that when checking if $LD is in
    fact used to relink.
    
    Signed-off-by: Peter Rosin <address@hidden>

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

Summary of changes:
 build-aux/ltmain.in     |    2 +-
 tests/duplicate_conv.at |    6 +++---
 tests/f77demo.at        |    4 ++++
 tests/fcdemo.at         |    4 ++++
 4 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index 3b4e6ec..f8e0f5f 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -8094,7 +8094,7 @@ EOF
       # whole_archive_flag_spec and hope we can get by with turning comma
       # into space.
       case $reload_cmds in
-        *\$LD\ *) wl= ;;
+        *\$LD[\ \$]*) wl= ;;
       esac
       if test -n "$convenience"; then
        if test -n "$whole_archive_flag_spec"; then
diff --git a/tests/duplicate_conv.at b/tests/duplicate_conv.at
index cf1ba6a..3e39b20 100644
--- a/tests/duplicate_conv.at
+++ b/tests/duplicate_conv.at
@@ -50,7 +50,7 @@ $LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -o 
a/liba.la a/a.lo
 $LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -o b/liba.la b/a.lo b/b.lo
 
 # Fold into convenience archive.
-AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -o libcee.la c.lo 
a/liba.la b/liba.la],
+AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -no-undefined -o 
libcee.la c.lo a/liba.la b/liba.la],
         [0], [ignore], [ignore])
 AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main$EXEEXT 
main.$OBJEXT ./libcee.la],
         [0], [ignore], [ignore])
@@ -62,7 +62,7 @@ $LIBTOOL --mode=clean rm -f libcee.la
 #        OTOH, we'd like to test the other situation, too.
 
 # Fold into static library.
-AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -rpath /foo 
-static -o libcee.la c.lo a/liba.la b/liba.la],
+AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -no-undefined 
-rpath /foo -static -o libcee.la c.lo a/liba.la b/liba.la],
         [0], [ignore], [ignore])
 AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main$EXEEXT 
main.$OBJEXT ./libcee.la],
         [0], [ignore], [ignore])
@@ -70,7 +70,7 @@ LT_AT_EXEC_CHECK([./main],[0],[ignore],[ignore])
 $LIBTOOL --mode=clean rm -f libcee.la
 
 # Fold into library.
-AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -rpath /foo -o 
libcee.la c.lo a/liba.la b/liba.la],
+AT_CHECK([$LIBTOOL --mode=link --tag=CC $CC $CFLAGS $LDFLAGS -no-undefined 
-rpath /foo -o libcee.la c.lo a/liba.la b/liba.la],
         [0], [ignore], [ignore])
 AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o main$EXEEXT 
main.$OBJEXT ./libcee.la],
         [0], [ignore], [ignore])
diff --git a/tests/f77demo.at b/tests/f77demo.at
index da8e324..da7e18b 100644
--- a/tests/f77demo.at
+++ b/tests/f77demo.at
@@ -64,12 +64,16 @@ lib_LTLIBRARIES = libfoo.la libmix.la libfoo2.la libfoo3.la
 
 libfoo_la_SOURCES = foof.f
 libfoo_la_LIBADD = libfoo2.la
+libfoo_la_LDFLAGS = -no-undefined
 
 libfoo2_la_SOURCES = foof2.f
+libfoo2_la_LDFLAGS = -no-undefined
 
 libfoo3_la_SOURCES = foof3.f
+libfoo3_la_LDFLAGS = -no-undefined
 
 libmix_la_SOURCES = foof.f foof2.f fooc.c
+libmix_la_LDFLAGS = -no-undefined
 
 noinst_HEADERS = foo.h
 
diff --git a/tests/fcdemo.at b/tests/fcdemo.at
index 8cfa214..34953ac 100644
--- a/tests/fcdemo.at
+++ b/tests/fcdemo.at
@@ -68,12 +68,16 @@ lib_LTLIBRARIES = libfoo.la libmix.la libfoo2.la libfoo3.la
 
 libfoo_la_SOURCES = foof.f90
 libfoo_la_LIBADD = libfoo2.la
+libfoo_la_LDFLAGS = -no-undefined
 
 libfoo2_la_SOURCES = foof2.f90
+libfoo2_la_LDFLAGS = -no-undefined
 
 libfoo3_la_SOURCES = foof3.f90
+libfoo3_la_LDFLAGS = -no-undefined
 
 libmix_la_SOURCES = foof.f90 foof2.f90 fooc.c
+libmix_la_LDFLAGS = -no-undefined
 
 noinst_HEADERS = foo.h
 


hooks/post-receive
-- 
GNU Libtool



reply via email to

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