From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] relocation R_MIPS_HI16 against `_gp' can not be used when making a shared object; recompile with -fPIC
Date: Fri, 16 Oct 2009 09:49:26 +0200 [thread overview]
Message-ID: <878wfb22yh.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <689310.86704.qm@web73402.mail.tp2.yahoo.com> ("中原 張."'s message of "Wed\, 7 Oct 2009 17\:21\:45 +0800 \(CST\)")
>>>>> "??" == ?? ? <tnndclub@yahoo.com.tw> writes:
Hi,
??> After trying to use the toolchain to compile a package, I
??> encounter the following error at link time. mips-linux-ld:
??> init_mips.o: relocation R_MIPS_HI16 against `_gp' can not be used
??> when making a shared object; recompile with -fPIC init_mips.o:
??> could not read symbols: Bad value
??> Does any one know how to solve this problem?
What package is this?
??> This package could be compiled and linked well by using the
??> toolchain generated from buildroot-200807 release with gcc-4.2.4,
??> binutils-2.18, uClibc-0.9.29 and
200807 release? We didn't have a release called that. Do you mean a svn
snapshot from that day?
--
Bye, Peter Korsgaard
prev parent reply other threads:[~2009-10-16 7:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-07 9:21 [Buildroot] relocation R_MIPS_HI16 against `_gp' can not be used when making a shared object; recompile with -fPIC 中原 張
2009-10-16 7:49 ` Peter Korsgaard [this message]
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=878wfb22yh.fsf@macbook.be.48ers.dk \
--to=jacmet@uclibc.org \
--cc=buildroot@busybox.net \
/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