From: Randolph Chung <randolph@tausq.org>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] gcc profiling broken on Linux/ia64?
Date: Sun, 24 Feb 2002 03:10:30 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590701905185@msgid-missing> (raw)
Greetings....
I was wondering if anyone has gotten gcc profiling to work on
linux/ia64?
$ cat hello.c
int main(int argc, char **argv) { return 0; }
$ gcc -pg -o hello hello.c
$ ./hello
Segmentation fault
I've tried this with the 2.96 compilers on RedHat 7.2 as well as both
2.96 and 3.0.4 compilers on Debian 3.0 (glibc 2.2.4 on RH, 2.2.5 on
Debian)
Backtrace with gdb looks like this:
(gdb) bt
#0 __mcount (frompc\x16140901064496364080, selfpcF11686018427390128)
at mcount.c:96
#1 0x20000000001fdf30 in mcount () at soinit.c:56
#2 0x40000000000008b0 in main (argc\x1073766400, argv=0x7000a1000005501)
at hello.c:1
mcount.c:96 toindex = *frompcindex;
(gdb) print frompcindex
$1 = (u_short *) 0xa000000000471ce8
Any pointers would be much appreciated.
randolph
next reply other threads:[~2002-02-24 3:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-24 3:10 Randolph Chung [this message]
2002-02-25 9:54 ` [Linux-ia64] gcc profiling broken on Linux/ia64? Gary Hade
2002-02-25 21:49 ` Randolph Chung
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=marc-linux-ia64-105590701905185@msgid-missing \
--to=randolph@tausq.org \
--cc=linux-ia64@vger.kernel.org \
/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