From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7385 invoked by alias); 21 Aug 2011 15:49:21 -0000 Received: (qmail 7377 invoked by uid 22791); 21 Aug 2011 15:49:21 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from tschetwerikow.v9g.de (HELO tschetwerikow.v9g.de) (217.92.164.63) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 21 Aug 2011 15:49:00 +0000 Received: from localhost (localhost [127.0.0.1]) by tschetwerikow.v9g.de (Postfix) with ESMTP id E253D174E0E4; Sun, 21 Aug 2011 17:48:58 +0200 (CEST) Received: from tschetwerikow.v9g.de ([127.0.0.1]) by localhost (tschetwerikow.boxberg.lan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Jc2+PZ5+nW4t; Sun, 21 Aug 2011 17:48:53 +0200 (CEST) Received: from mikulin.boxberg.lan (mikulin.boxberg.lan [10.0.1.253]) by tschetwerikow.v9g.de (Postfix) with ESMTPSA id 647D8174E0D4; Sun, 21 Aug 2011 17:48:53 +0200 (CEST) Subject: compiling ltrace on macos / was Re: gdb problem Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset=iso-8859-1 From: Titus von Boxberg In-Reply-To: Date: Sun, 21 Aug 2011 15:49:00 -0000 Cc: "Yann E. MORIN" , crossgcc@sourceware.org Content-Transfer-Encoding: 7bit Message-Id: <8C6FFCAE-3C84-41B9-B422-F39120D95984@v9g.de> References: <3838F5CA-B4DE-44C8-9BA2-3EBEA35BAD7E@v9g.de> <201108190032.26721.yann.morin.1998@anciens.enib.fr> To: Guylhem Aznar X-IsSubscribed: yes 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 X-SW-Source: 2011-08/txt/msg00088.txt.bz2 Am 19.08.2011 um 20:58 schrieb Guylhem Aznar: > On Fri, Aug 19, 2011 at 03:09, Titus von Boxberg wrote: >> Guylhem, mind to send me again your most current .config. >> I'd give it a try on the weekend. > > Here is one which work with the uclibc find fixes, and which I am Guylhem, Yann, with the recent patch series I'm able to build your mips config with the following changes: - did not have your files: linux kernel tarball, uclibc config file, so: - used the uClibc-0.9.30 config file from samples directory - used CT_KERNEL_V_2_6_35_14 - enabled gdb6.8 with static gdbserver > CT_LTRACE_V_0_5_3 has been disabled due to make not finding a file > called "Darwin" I tried to compile ltrace. It suffers from - configuring HOST_OS to be "Darwin". - archive index (ranlib) missing in libltrace.a - archive index (ranlib) missing in sys-root/usr/lib/libelf.a - missing index(3) during linking of ltrace: read_config_file.c:86: undefined reference to `index'. The first three would be fairly simple to correct. As a uclibc-agnostic, the last one is beyond my imagination. Any hints? Regards Titus -- For unsubscribe information see http://sourceware.org/lists.html#faq