[Top][All Lists]

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

Re: Bug#181026: libtool on aix

From: Elrond
Subject: Re: Bug#181026: libtool on aix
Date: Sat, 15 Feb 2003 17:58:42 +0100
User-agent: Mutt/1.2.5i

reopen 181026
forwarded 181026 address@hidden

(Hi libtool maintainers, at the end of this mail is a patch
for libtool 1.4.3 for aix, you can ignore most of the rest
of this mail, it's just so I get this quicker into Debian.)

On Fri, Feb 14, 2003 at 09:53:57PM +0000, Scott James Remnant wrote:
> On Fri, 2003-02-14 at 20:24, Elrond wrote:
> > The patch below is needed to get libtool working on aix,
> > for "mode=compile cc somefile.c -o somedir/somefile.o".
> > 
> Hi,
> There is no Debian AIX distribution.

Okay... Again for you in long:

I'm building sourcetarballs on Debian.
My sources use libtool.

My sources get used on aix.

Without the patch, the sources will break on aix, beczase
Debian's libtool.m4 is included in my sources and then
breaks them, when used on aix.

BTW: Debian libtool did this before:


(appropiate changelog entry:
  * Applied patch from Sebastian Rittau <address@hidden> that
    corrects misnamed plugin modules on Tru64.  Patch has been sent
    upstream.  (Closes: #126666)
(Debian doesn't support Tru64?)

> You might want to send this patch to the libtool authors instead, as
> it'd be far more useful incorporated into libtool itself, and not just
> the version shipped with Debian.

The Debian maintainer at that time seemed kind enough to do
the forwarding himself. But I'm now doing that.


--- /usr/share/aclocal/libtool.m4       Wed Jan  1 15:13:01 2003
+++ libtool.m4  Fri Feb 14 12:46:44 2003
@@ -1541,7 +1541,7 @@
        # This is a bit strange, but is similar to how AIX traditionally builds
        # it's shared libraries.
-       archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname 
$libobjs $deplibs $compiler_flags ${allow_undefined_flag} 
'"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo 
$objdir/$libname$release.a $objdir/$soname'
+       archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname 
$libobjs $deplibs $compiler_flags ${allow_undefined_flag} 
'"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo 
$output_objdir/$libname$release.a $output_objdir/$soname'

reply via email to

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