delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.8 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_GW,TW_LG,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4E7F4F4E.5070605@gmail.com> |
Date: | Sun, 25 Sep 2011 16:57:02 +0100 |
From: | Dave Korn <dave DOT korn DOT cygwin AT gmail DOT com> |
User-Agent: | Thunderbird 2.0.0.17 (Windows/20080914) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Bogus dependencies in libtool .la files for libgtk2.0-devel-2.20.1-1, libpango1.0-devel-1.28.1-1, libpango1.0-devel-1.28.1-1 |
References: | <4E7F400F DOT 8060004 AT gmail DOT com> <j5ni39$ur1$1 AT dough DOT gmane DOT org> |
In-Reply-To: | <j5ni39$ur1$1@dough.gmane.org> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 25/09/2011 16:42, jojelino wrote: > lstdc++ is included in postdeps in libtool for some reason. > > postdeps="-lstdc++ -lmingwthrd -lmingw32 -lgcc_s -lgcc -lmoldname > -lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingwthrd > -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt" > > this postdeps was introduced by > output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | > $GREP -v "^Configured with:" | $GREP "\-L"' > > but in config.status, > postdeps='' > postdeps_CXX='-lstdc++ -lmingwthrd -lmingw32 -lgcc_s -lgcc -lmoldname > -lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingwthrd > -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt' > so it seems good. > therefore, this problem began from *executing libtool commands*. > the variable 'postdeps' is not tagged with "_CXX". resulting in > wrong-generated libtool I think this is just libtool working normally; $postdeps is the current dependencies for this particular invocation, and internally it's doing something like "postdeps=${postdeps_${tag}}" so it's setting postdeps=$postdeps_CXX in response to getting --tag=CXX on the command-line, isn't it? The underlying cause is more likely to be in the way that the Makefile.am is setting the libtool control variables, which is probably an issue for upstream. (And of course this doesn't show up on Linux, where the linker doesn't complain about a dynamic library not being found because it can just leave undefined reference in the final executable to be resolved by ld.so at runtime. But as soon as you try it on a PE rather than ELF platform...) cheers, DaveK -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |