From: David Daney <ddaney@caviumnetworks.com>
To: Viswanath <rviswanathreddy@gmail.com>
Cc: linux-mips@linux-mips.org
Subject: Re: Gprofiling Missing gcrt1.o Object file
Date: Thu, 18 Dec 2008 08:58:41 -0800 [thread overview]
Message-ID: <494A8141.2050006@caviumnetworks.com> (raw)
In-Reply-To: <f2e0c4580812180606h4699be41x1128c97086ebb902@mail.gmail.com>
Viswanath wrote:
> Hi,
> I am trying to profile (gprof profiling) my application which
> is cross-compiled for the target Mips system [*Linux Mips 2.6.8.1]* and
> UCLIBC *uclibc-crosstools_gcc-3.4.2_uclibc-20050502. *As far as i
> searched in the google i could see a requirement of gcrt1.o object file
> for the mips linux which is not available on the mips-linux.
>
> I tried linking with crt1.o but i could not get accurate
> profiling information. I came to know that gcrt1.o is required to get
> the accurate information. Where can i get the so called gcrt1.o for
> Mips-linux.
>
gcrt1.o should be part of the C library (uClibc in your case). If it is
not providing it, it is a bug in uClibc.
Actually I don't even know it uClibc supplies a gcrt1.o. Our build
doesn't seem to have one. If you build a glibc based system, that would
give you a working gcrt1.o
David Daney
next prev parent reply other threads:[~2008-12-18 17:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-18 14:06 Gprofiling Missing gcrt1.o Object file Viswanath
2008-12-18 16:58 ` David Daney [this message]
2008-12-18 17:34 ` Viswanath
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=494A8141.2050006@caviumnetworks.com \
--to=ddaney@caviumnetworks.com \
--cc=linux-mips@linux-mips.org \
--cc=rviswanathreddy@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox