This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Mips compiler issues.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]