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 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: References: <4E7F400F DOT 8060004 AT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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