public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* Mips compiler issues.
@ 2014-02-20 22:46 ANDY KENNEDY
  0 siblings, 0 replies; only message in thread
From: ANDY KENNEDY @ 2014-02-20 22:46 UTC (permalink / raw)
  To: 'crossgcc@sourceware.org'

All,

I know this is not the right list to post this, but here it is anyway.

I'm building a mips toolchain using ct-ng.  Everything builds fine AND
I am able to generate a toolchain that, when statically links, will
produce a viable helloworld on the target (which is an eval board with a
loaded u-Boot, Linux and RFS).  So, I know I'm at least in the right
area.

The problem is when I attempt to build the Linux kernel from within
their SDK.  They have a toolchain in it with the

*multilib_defaults:
-EB mips64r2 mabi=32

which is great, but I don't know what to do in ct-ng to make that
happen.  I have tried all sorts of things but I still cannot make the
Linux kernel build happy.  The Error I get with the latest incantation
is:

  CC      init/main.o
{standard input}: Assembler messages:
{standard input}:395: Error: opcode not supported on this processor: xlr (mips64) `dins $3,$2,0,1'
{standard input}:414: Error: opcode not supported on this processor: xlr (mips64) `di $2'
{standard input}:422: Error: opcode not supported on this processor: xlr (mips64) `di '
{standard input}:422: Error: opcode not supported on this processor: xlr (mips64) `ei '
{standard input}:1304: Error: opcode not supported on this processor: xlr (mips64) `di '
{standard input}:1526: Error: opcode not supported on this processor: xlr (mips64) `di '
{standard input}:1563: Error: opcode not supported on this processor: xlr (mips64) `ei '
{standard input}:1824: Error: opcode not supported on this processor: xlr (mips64) `ei '
{standard input}:2150: Error: opcode not supported on this processor: xlr (mips64) `dins $3,$2,0,1'
{standard input}:2169: Error: opcode not supported on this processor: xlr (mips64) `di $2'
{standard input}:2177: Error: opcode not supported on this processor: xlr (mips64) `di '
{standard input}:2177: Error: opcode not supported on this processor: xlr (mips64) `ei '
make[1]: *** [init/main.o] Error 1

The specs that I have in the ct-ng build toolchain is:

-EB mips1 mabi=n32

If you have any ideas about what I'm doing wrong, please let me know.

In the mean time, I'm still adjusting configurations of ct-ng. . .

Thanks,
Andy

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-02-20 22:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-20 22:46 Mips compiler issues ANDY KENNEDY

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).