From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31378 invoked by alias); 17 Aug 2011 21:57:05 -0000 Received: (qmail 31365 invoked by uid 22791); 17 Aug 2011 21:57:04 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,TW_LN X-Spam-Check-By: sourceware.org Received: from smtp06.smtpout.orange.fr (HELO smtp.smtpout.orange.fr) (80.12.242.128) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 17 Aug 2011 21:56:49 +0000 Received: from treguer.localnet ([90.32.23.112]) by mwinf5d11 with ME id MZwm1h0072R6Jq203Zwmka; Wed, 17 Aug 2011 23:56:47 +0200 X-ME-engine: default From: "Yann E. MORIN" To: crossgcc@sourceware.org Subject: Re: gdb problem Date: Wed, 17 Aug 2011 21:57:00 -0000 User-Agent: KMail/1.13.5 (Linux/3.0.1-treguer; KDE/4.4.5; x86_64; ; ) Cc: Titus von Boxberg , Guylhem Aznar References: <3838F5CA-B4DE-44C8-9BA2-3EBEA35BAD7E@v9g.de> In-Reply-To: <3838F5CA-B4DE-44C8-9BA2-3EBEA35BAD7E@v9g.de> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_dkDTOnd3W7kyya0" Message-Id: <201108172356.45535.yann.morin.1998@anciens.enib.fr> 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/msg00059.txt.bz2 --Boundary-00=_dkDTOnd3W7kyya0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-length: 1477 Titus, Guylhem, All, On Wednesday 17 August 2011 23:31:36 Titus von Boxberg wrote: > Am 17.08.2011 um 22:41 schrieb Guylhem Aznar: > > > -static -L../lib -lncurses -L../lib -lncurses -dynamic -o tic > > -static is not supported on Darwin. Sigh... It slipped through... :-/ > Yann, I thought that static linking was disabled now? Yes, but no... :-( > PS: Why is it building ncurses, anyway? - we need ncurses to build the native gdb that runs on the target. - we need new-enough version of ncurses. - ncurses needs tic to build... whatever it need to build. - tic comes from ncurses - new-enough ncurses hang when using too-old tic --> so we need to build out own tic from the same version of ncurses we use So far, we statically build our tic. As I said above, it slipped through... Titus, thanks for spotting this. Guylhem, if you don't really need a native gdb on your target, just disable it for now. Otherwise, care to test the attached patch? Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' --Boundary-00=_dkDTOnd3W7kyya0 Content-Type: text/x-patch; charset="UTF-8"; name="ct-ng.debug-gdb-tic-not-static.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ct-ng.debug-gdb-tic-not-static.patch" Content-length: 753 diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh --- a/scripts/build/debug/300-gdb.sh +++ b/scripts/build/debug/300-gdb.sh @@ -197,7 +197,6 @@ --build=${CT_BUILD} \ --host=${CT_BUILD} \ --prefix=/usr \ - --without-shared \ --enable-symlinks \ --with-build-cc=${CT_REAL_BUILD}-gcc \ --with-build-cpp=${CT_REAL_BUILD}-gcc \ --Boundary-00=_dkDTOnd3W7kyya0 Content-Type: text/plain; charset=us-ascii Content-length: 71 -- For unsubscribe information see http://sourceware.org/lists.html#faq --Boundary-00=_dkDTOnd3W7kyya0--