From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22970 invoked by alias); 25 Aug 2015 09:56:25 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 22959 invoked by uid 89); 25 Aug 2015 09:56:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 25 Aug 2015 09:56:23 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id AC30A41; Tue, 25 Aug 2015 09:56:22 +0000 (UTC) Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t7P9uLBM010996; Tue, 25 Aug 2015 05:56:21 -0400 Message-ID: <55DC3BC4.1000707@redhat.com> Date: Tue, 25 Aug 2015 09:56:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Paul_Koning@Dell.com, gdb@sourceware.org Subject: Re: Cross-build issues in gdb/gnulib References: In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2015-08/txt/msg00038.txt.bz2 On 08/24/2015 10:20 PM, Paul_Koning@Dell.com wrote: > I'm running into strange problems cross-building with V7.7.1; it looks like the same configure machinery is present in later versions as well. > > The problem is that the configure script in gdb/gnulib tries to run a number of tests, by building and then executing "conftest". It does so unconditionally, there are no checks for whether this is a cross-build, specifically build = x86_64-linux, host = target = netbsd. I have no idea why configure is trying to run the test in your case, but I just yesterday updated master's gnulib copy to current upstream gnulib master. Previously we had a 2012 copy. I don't see any AC_TRY_RUN in current master, for instance, though I didn't check older versions. In any case, try seeing if current master makes a difference. Thanks, Pedro Alves