From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 505 invoked by alias); 12 Jul 2007 08:32:00 -0000 Received: (qmail 496 invoked by uid 22791); 12 Jul 2007 08:31:59 -0000 X-Spam-Status: No, hits=1.9 required=5.0 tests=AWL,BAYES_40,DK_POLICY_TESTING,DK_SIGNED,DK_VERIFIED,DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,TW_VJ,TW_XV X-Spam-Check-By: sourceware.org Received: from web94302.mail.in2.yahoo.com (HELO web94302.mail.in2.yahoo.com) (203.104.16.212) by sourceware.org (qpsmtpd/0.31) with SMTP; Thu, 12 Jul 2007 08:31:56 +0000 Received: (qmail 67252 invoked by uid 60001); 12 Jul 2007 08:31:49 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=UjbpoT/UwExGFGVEgFqJEk/nW4an8tiSHr5xJrQ19GZxbJC34+BBcZ1uLrBqGhdFQKtRPsEepGouJn3LHWoIlkxdp+pFJ+dUy16t5gLx4P10+YPnGOreGMB/yEtCuIonwVB6W/x6XabFVM6C8VT7BZ4TNRjFqE9mr+yn+Z7jEoA=; X-YMail-OSG: nqoLGbUVM1khdRXHzZdYB7G1k9cRpoVxx497.wO1R.iIW5ntJYcZioGujZ5z.6IqEI43ToXI8OaoAWh4vtvzvX0yx2kIgMfZ_nSG Received: from [121.100.32.51] by web94302.mail.in2.yahoo.com via HTTP; Thu, 12 Jul 2007 09:31:49 BST Date: Thu, 12 Jul 2007 14:13:00 -0000 From: Naren chandru Subject: Re: Systemtap source compile for ARM arch To: "Frank Ch. Eigler" Cc: systemtap@sources.redhat.com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <392445.67240.qm@web94302.mail.in2.yahoo.com> Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2007-q3/txt/msg00102.txt.bz2 Frank, Thanks for the quick reply. >"Frank Ch. Eigler" wrote: > > > [...] Now I am trying to build it for ARM > architecture. I don't > > know how to cross compile systemtap for ARM > architecture. [...] > > If you mean building a systemtap binary that will > run on an ARM host > (and thus run a native ARM compiler to build the > modules), this is how > it should work: > > PATH=...path.to.arm.toolchain..:$PATH .../configure > --host=CONFIG_TRIPLET ... > > However, this breaks for a few different reasons. > One of them is the > missing passing down of "--host" to a bundled > elfutils build, which is > the likely configuration for a cross tool. There > are some other > obstacles. But in principle, it should be workable. > I have started the compilation of systemtap src in native ARM compiler. Source details: - elfutils-0.128 with elfutils-portability.patch applied. - systemtap-20070630.tar.bz2 snapshot. I have compiled the "src" with following commands # tar -xvjf systemtap-20070630.tar.bz2 # cd src # ./configure --with-elfutils=/home/naren/elfutils-0.128 # make all check I got the following error: r -Wunused -Wextra -ffunction-sections -g -O2 -MT xmalloc.o -MD -MP -MF .deps/xmalloc.Tpo -c -o xmalloc.o /home/naren/elfutils-0.128/lib/xmalloc.c cc1: warnings being treated as errors /home/naren/elfutils-0.128/lib/xmalloc.c: In function 'xmalloc': /home/naren/elfutils-0.128/lib/xmalloc.c:51: warning: implicit declaration of function 'gettext' /home/naren/elfutils-0.128/lib/xmalloc.c:51: warning: incompatible implicit declaration of built-in function 'gettext' /home/naren/elfutils-0.128/lib/xmalloc.c: In function 'xcalloc': /home/naren/elfutils-0.128/lib/xmalloc.c:65: warning: incompatible implicit declaration of built-in function 'gettext' /home/naren/elfutils-0.128/lib/xmalloc.c: In function 'xrealloc': /home/naren/elfutils-0.128/lib/xmalloc.c:79: warning: incompatible implicit declaration of built-in function 'gettext' make[3]: *** [xmalloc.o] Error 1 make[3]: Leaving directory `/home/naren/src/build-elfutils/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/naren/src/build-elfutils' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/naren/src/build-elfutils' make: *** [stamp-elfutils] Error 2 - Naren __________________________________________________________ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/