From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32300 invoked by alias); 5 Jun 2013 05:28:35 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 32287 invoked by uid 89); 5 Jun 2013 05:28:34 -0000 X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1 Received: from mail-la0-f44.google.com (HELO mail-la0-f44.google.com) (209.85.215.44) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 05 Jun 2013 05:28:33 +0000 Received: by mail-la0-f44.google.com with SMTP id er20so1041678lab.31 for ; Tue, 04 Jun 2013 22:28:31 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.112.210.101 with SMTP id mt5mr14503515lbc.85.1370410110935; Tue, 04 Jun 2013 22:28:30 -0700 (PDT) Received: by 10.114.97.69 with HTTP; Tue, 4 Jun 2013 22:28:30 -0700 (PDT) Date: Wed, 05 Jun 2013 05:28:00 -0000 Message-ID: Subject: Problems with recent expat/gdb changes From: Daniel Price To: crossgcc@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-SW-Source: 2013-06/txt/msg00002.txt.bz2 Hi all, I've had some trouble with the recent trunk commits that change the way expat is handled. A bare-metal mips toolchain I used to be able to build using crosstool-ng 0.17 now won't compile after moving to trunk crosstool-ng: [INFO ] ================================================================= [INFO ] Installing cross-gdb [EXTRA] Configuring cross-gdb [EXTRA] Building cross-gdb [ERROR] configure: error: expat is missing or unusable [ERROR] make[2]: *** [configure-gdb] Error 1 [ERROR] make[1]: *** [all] Error 2 [ERROR] [ERROR] >> [ERROR] >> Build failed in step 'Installing cross-gdb' [ERROR] >> called in step '(top-level)' [ERROR] >> [ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@257] [ERROR] >> called from: do_debug_gdb_build[scripts/build/debug/300-gdb.sh@170] [ERROR] >> called from: do_debug[scripts/build/debug.sh@35] [ERROR] >> called from: main[scripts/crosstool-NG.sh@632] [ERROR] >> [ERROR] >> For more info on this error, look at the file: 'build.log' [ERROR] >> There is a list of known issues, some with workarounds, in: [ERROR] >> '/tmp/x86_64-fc15-tools/crosstool-ng/share/doc/crosstool-ng/ct-ng.hg+unknown-20130604.175703/B - Known issues.txt' [ERROR] I have placed the config here: https://gist.github.com/danielbprice/5711220 This is on a system where libexpat-dev / -devel isn't installed. It seems to me that there's an issue where, despite requesting static cross-gdb, crosstool-ng is expecting libexpat to be on the host system... but I think in this case (as in some other cases handled by the gdb script), expat should probably be downloaded and linked in by crosstool-ng, to avoid a dependency on the host system. Thanks for any input you can provide. -dp -- Daniel.Price@gmail.com; Twitter: @danielbprice -- For unsubscribe information see http://sourceware.org/lists.html#faq