From: "Wenyan Dong" <Wenyan.Dong@synopsys.com>
To: <gcc-help@gcc.gnu.org>
Subject: undefined reference to `__i686.get_pc_thunk.dx'
Date: Sun, 25 Jun 2006 10:57:00 -0000 [thread overview]
Message-ID: <0F5BF149DB9CA643A60A3934FA7111130101D32D@US01WEMBX3.internal.synopsys.com> (raw)
The c file contains a simple function
U isCompiledRoot()
{
return icompiledRoot >= 0;
}
And when I compile the file with "/depot/gcc-3.3.6-shared/bin/gcc -m32
-fPIC -o a.o", the object will contain symbol
`__i686.get_pc_thunk.dx'. Doing a nm on this object show that this
symbol
00000000 T __i686.get_pc_thunk.dx
But when I try to create a shared library from this object along with
some others, I get following error message:
... In function 'isCompiledRoot()':
: undefined reference to `__i686.get_pc_thunk.dx'
Help??
reply other threads:[~2006-06-25 10:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=0F5BF149DB9CA643A60A3934FA7111130101D32D@US01WEMBX3.internal.synopsys.com \
--to=wenyan.dong@synopsys.com \
--cc=gcc-help@gcc.gnu.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).