libtool-patches
[Top][All Lists]
Advanced

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

Re: Bug#407079: libtool: All GNU targets support -Wl, --version-script


From: Ralf Wildenhues
Subject: Re: Bug#407079: libtool: All GNU targets support -Wl, --version-script
Date: Mon, 29 Jan 2007 20:51:45 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

[ Libtoolers, this is <http://bugs.debian.org/407079> ]

* Samuel Thibault wrote on Tue, Jan 23, 2007 at 01:43:36AM CET:
> Michael Banck, le Mon 22 Jan 2007 22:38:49 +0100, a écrit :
> > Hopefully somebody can check that on CVS HEAD, do you expect big problems?

[ ...make check and ]
> make check-local got all success except:

>  18: shlibpath_overrides_runpath                     FAILED (shlibpath.at:61)

That's good enough for me.

> That may not be a bug in libtool, though.

Probably is.  I'll put it on the list of things to debug with
more time at hand...

I'm checking this in on branch-1-5 and HEAD, respectively.
No, I'm not moving the whole block to ensure sorted entries.
That can still be done when we've moved away from CVS
(which in turn I won't agree to before the 2.0 release).

Cheers,
Ralf

2007-01-29  Samuel Thibault <address@hidden>

        * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [ gnu ]
        <archive_expsym_cmds>: Behave like Linux, so that
        --version-script is used for Hurd as well.

Index: libltdl/m4/libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/m4/libtool.m4,v
retrieving revision 1.88
diff -u -r1.88 libtool.m4
--- libltdl/m4/libtool.m4       28 Jan 2007 13:03:47 -0000      1.88
+++ libltdl/m4/libtool.m4       29 Jan 2007 19:48:37 -0000
@@ -4163,7 +4163,7 @@
       _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols 
>$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs 
$compiler_flags ${wl}-h,$soname 
${wl}--retain-symbols-file,$output_objdir/$soname.expsym 
${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
       ;;
 
-    linux* | tpf* | k*bsd*-gnu)
+    gnu* | linux* | tpf* | k*bsd*-gnu)
       tmp_diet=no
       if test "$host_os" = linux-dietlibc; then
        case $cc_basename in


2007-01-29  Samuel Thibault <address@hidden>

        * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [ gnu ]
        <archive_expsym_cmds>: Behave like Linux, so that
        --version-script is used for Hurd as well.

Index: libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/libtool.m4,v
retrieving revision 1.314.2.168
diff -u -r1.314.2.168 libtool.m4
--- libtool.m4  28 Jan 2007 13:04:20 -0000      1.314.2.168
+++ libtool.m4  29 Jan 2007 19:49:11 -0000
@@ -5662,7 +5662,7 @@
       _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols 
>$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs 
$compiler_flags ${wl}-h,$soname 
${wl}--retain-symbols-file,$output_objdir/$soname.expsym 
${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
       ;;
 
-    linux* | k*bsd*-gnu)
+    gnu* | linux* | k*bsd*-gnu)
       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
        tmp_addflag=
        case $cc_basename,$host_cpu in




reply via email to

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