linux-mips
[Top] [All Lists]

Re: Gprofiling Missing gcrt1.o Object file

To: Viswanath <rviswanathreddy@gmail.com>
Subject: Re: Gprofiling Missing gcrt1.o Object file
From: David Daney <ddaney@caviumnetworks.com>
Date: Thu, 18 Dec 2008 08:58:41 -0800
Cc: linux-mips@linux-mips.org
In-reply-to: <f2e0c4580812180606h4699be41x1128c97086ebb902@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <f2e0c4580812180606h4699be41x1128c97086ebb902@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 2.0.0.18 (X11/20081119)
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

<Prev in Thread] Current Thread [Next in Thread>