From: Wayne Gowcher <wgowcher@yahoo.com>
To: linux-mips@linux-mips.org
Subject: Enabling pthreads to use ll/sc instead of emulate_load_store_insn
Date: Thu, 7 Nov 2002 19:52:34 -0800 (PST) [thread overview]
Message-ID: <20021108035234.34238.qmail@web11903.mail.yahoo.com> (raw)
Hi,
I have an userland application that uses pthreads and
crashes with a segmentaion due to an "unaligned access
in function 'emulate_load_store_insn' ".
The processor is an r4k and the application is being
compiled with mips2 switch, which I thought would
allow it to generate the ll/sc instructions natively
and not have to generate system calls to emulate it.
I am guessing this is because the pthread library I
have is from the sgi ftp site and it was compiled for
mips1 ??
If someone has any insight into how to get libpthread
to use ll/sc instructions instead of the mips system
call I would really appreciate hearing from them.
Also if anyone can "put me straight" on what is
happening I'd equally appreciate it.
Wayne
__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2
next reply other threads:[~2002-11-08 3:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-08 3:52 Wayne Gowcher [this message]
2002-11-08 5:12 ` Enabling pthreads to use ll/sc instead of emulate_load_store_insn Ralf Baechle
2002-11-08 5:17 ` H. J. Lu
2002-11-08 5:27 ` Ralf Baechle
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=20021108035234.34238.qmail@web11903.mail.yahoo.com \
--to=wgowcher@yahoo.com \
--cc=linux-mips@linux-mips.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