delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/09/25/11:47:53

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.0 required=5.0 tests=AWL,BAYES_40,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_GW,TW_LG,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: jojelino <jojelino AT gmail 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
Date: Mon, 26 Sep 2011 00:47:52 +0900
Lines: 46
Message-ID: <j5nie3$15s$1@dough.gmane.org>
References: <4E7F400F DOT 8060004 AT gmail DOT com>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 5.2; rv:8.0a2) Gecko/20110924 Thunderbird/8.0a2
In-Reply-To: <4E7F400F.8060004@gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 2011-09-25 PM 11:51, Dave Korn wrote:
> before you can compile it from source, and that it might be worth backing up
> the .la files just in case this -lstdc++ actually is required somewhere, but
> I'd be happier if this could either be fixed in the distro, or if someone
> could tell me why these libs think they need to link against libstdc++?
>
>      cheers,
>        DaveK
>
>

This problem comes from *executing libtool commands*
You can see in config.status of pango

$ cat config.status|grep postdeps
postdeps=''
postdeps_CXX='-lstdc++ -lmingwthrd -lmingw32 -lgcc_s -lgcc -lmoldname 
-lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingwthrd 
-lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt'

rm ./libtool
./config.status #we can see *executing libtool commands*. and libtool is 
auto-generated.
and now resulting libtool has ill-tagged postdeps variable

$ cat libtool|grep postdeps
postdeps=""
       # don't eliminate duplications in $postdeps and $predeps
       libs="$predeps $libs $compiler_lib_search_path $postdeps"
       # $postdeps and mark them as special (i.e., whose duplicates are
         for pre_post_dep in $predeps $postdeps; do
               case " $predeps $postdeps " in
         case " $predeps $postdeps $compiler_lib_search_path " in
                   case " $predeps $postdeps " in
                     case " $predeps $postdeps " in
                 case " $predeps $postdeps " in
                 case " $predeps $postdeps " in
             for i in $predeps $postdeps ; do
postdeps="-lstdc++ -lmingwthrd -lmingw32 -lgcc_s -lgcc -lmoldname 
-lmingwex -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingwthrd 
-lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt"


Why we got postdeps instead of postdeps_CXX?

Regards.


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019