bug-libtool
[Top][All Lists]
Advanced

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

Re: GNU Libtool 2.2.7b released (2.2.8 release candidate).


From: Ralf Wildenhues
Subject: Re: GNU Libtool 2.2.7b released (2.2.8 release candidate).
Date: Sun, 23 May 2010 09:33:28 +0200
User-agent: Mutt/1.5.20 (2009-10-28)

Hello Alon,

> On 22 May 2010, at 13:33, Alon Bar-Lev wrote:
> > Windows regression.
> > When linking with libstdc++ which is static library.
> > 
> > libtool-2.2.6b - complains but creates a shared library.
> > libtool-2.2.7b - complains and does not create a shared library.
> > 
> > Why linking with libstdc++? One of the static archives uses C++.
> > Why not use CXX? As the sources are C only.
> > 
> > Regards,
> > Alon.
> > 
> > configure.ac
> > ---
> > AC_PREREQ([2.63])
> > AC_INIT([test1], [0])
> > AC_CONFIG_SRCDIR([f.c])
> > AC_CONFIG_HEADERS([config.h])
> > AC_CONFIG_MACRO_DIR([m4])
> > AM_INIT_AUTOMAKE
> > AC_PROG_CC
> > LT_INIT([win32-dll])
> > AC_CONFIG_FILES([Makefile])
> > AC_OUTPUT
> > ---
> > 
> > Makefile.am
> > ---
> > AUTOMAKE_OPTIONS = foreign 1.10
> > ACLOCAL_AMFLAGS = -I m4
> > lib_LTLIBRARIES = libf.la
> > libf_la_SOURCES = f.c
> > libf_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined
> > libf_la_LIBADD = -lstdc++
> > ---
> > 
> > f.c
> > ---
> > int f(void) {
> >        return 0;
> > }
> > ---

Please send the output of
  ./libtool --config

and of the failing 'libtool --mode=link' command, with --debug added as
first argument to libtool.  Send each for both the working and the
broken Libtool version.  You can pack large outputs with gzip.

Which GCC version do you have installed?  Did it change between the
tests?  Is the libstdc++.la file installed, and does libtool find it
(I'll be able to answer this last question by looking at the --debug
output)?

Thanks,
Ralf



reply via email to

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