From: Omar Stradella <omar@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] IP-relative calls in start.S and initfini.c
Date: Thu, 11 May 2000 18:24:56 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590678205081@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590678205064@msgid-missing>
OK. So, I linked my application with -Wl,-relax (using
gnupro-2.9-000501p2) and run it on the new kernel
(2.3.99-pre6-000501-19smp). Now it goes past the _libc_main call but it
gets a SEGV in __do_global_ctors_aux (same a reported in message with
subject "ld failure"):
Program received signal SIGSEGV, Segmentation fault.
0x400000000158eb50 in __do_global_ctors_aux ()
(gdb) bt
#0 0x400000000158eb50 in __do_global_ctors_aux ()
#1 0x4000000000001c20 in _init ()
(gdb) x/4i 0x400000000158eb40
0x400000000158eb40 <__do_global_ctors_aux>:
[MII] alloc r34=ar.pfs,4,4,0
0x400000000158eb41 <__do_global_ctors_aux+1>: addl r32B40,r1
0x400000000158eb42 <__do_global_ctors_aux+2>:
cmp.eq p0,p6=r0,r0;;
0x400000000158eb50 <__do_global_ctors_aux+16>: [MFI] ld8 r32=[r32]
(gdb) p/x $r1
$2 = 0x0
it looks like the gp got corrupted.
Omar.
+---------------------------------------------------------------------+
Omar G. Stradella, Ph.D.
SGI / Chemistry and Biology Applications Group
1 Cabot Rd, Suite 250, Hudson, MA 01749, USA N 42 22'40" W 71 33'37"
E-mail: omar@sgi.com Phone: +1-781-839-2258 FAX: +1-978-562-7450
http://www.sgi.com/chembio http://reality.sgi.com/omar
+-------- Ph-nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn -------+
next prev parent reply other threads:[~2000-05-11 18:24 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-02 21:36 [Linux-ia64] IP-relative calls in start.S and initfini.c Omar Stradella
2000-05-02 22:00 ` Jim Wilson
2000-05-02 22:20 ` Omar Stradella
2000-05-02 22:25 ` Jim Wilson
2000-05-11 18:24 ` Omar Stradella [this message]
2000-05-12 2:50 ` Jim Wilson
2000-05-15 17:57 ` Omar Stradella
2000-05-17 20:17 ` Jim Wilson
2000-05-17 22:28 ` Omar Stradella
2000-05-20 3:15 ` Uros Prestor
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-105590678205081@msgid-missing \
--to=omar@sgi.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.