From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10506 invoked by alias); 27 Nov 2012 14:58:58 -0000 Received: (qmail 10491 invoked by uid 22791); 27 Nov 2012 14:58:57 -0000 X-SWARE-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout21.012.net.il (HELO mtaout21.012.net.il) (80.179.55.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 27 Nov 2012 14:58:41 +0000 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0ME500K00HYU9M00@a-mtaout21.012.net.il> for gdb-patches@sourceware.org; Tue, 27 Nov 2012 16:58:38 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0ME500JGZIXPZY80@a-mtaout21.012.net.il>; Tue, 27 Nov 2012 16:58:38 +0200 (IST) Date: Tue, 27 Nov 2012 14:58:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH] Fix libtool.m4 dlopen lookup for mingw In-reply-to: To: Pavel Chupin Cc: gdb-patches@sourceware.org, hjl.tools@gmail.com Reply-to: Eli Zaretskii Message-id: <83lidnxfbn.fsf@gnu.org> References: X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-11/txt/msg00739.txt.bz2 > Date: Tue, 27 Nov 2012 11:05:17 +0400 > From: Pavel Chupin > > Attached patch removes mingw from special cases of dlopen lookup. It > allows dlopen to be found later in libdl and have it added properly as > -ldl in bfd and sim builds. What effect will this have on native builds, where both host and target are MinGW? Will it require to have libdl installed? AFAIR, it doesn't require that now. If this problem only happens with this combination of host, target, and build: > ../configure --enable-plugins --target=arm-linux-android > --host=i586-pc-mingw32msvc --build=i386-linux-gnu then wouldn't it be better to fix only that combination?