Compilation errors building gcc on mipsel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to build gcc-4.8.2 (just the C and C++ compilers) on a mips64el laptop (Lemote Yeeloong) running Debian's mips32el port. 

I made a gcc-build/ directory outside of the source tree and ran "../gcc-4.8.2/configure --prefix=/usr/local --disable-nls --enable-languages=c,c++ mips-unknown-linux-gnu" in it. 

I started the make and it was going well for a few hours, but then I got this error[1] (rather long; see the bottom).

What I think is the relevant portion of the error is reproduced below:

  /usr/bin/ld: emutls_s.o: ABI is incompatible with that of the selected emulation
  /usr/bin/ld: failed to merge target specific data of file emutls_s.o
  /usr/bin/ld: /usr/lib/libc.a(abort.o): compiled for a little endian system and target is big endian
  /usr/bin/ld: /usr/lib/libc.a(abort.o): endianness incompatible with that of the selected emulation
  /usr/bin/ld: failed to merge target specific data of file /usr/lib/libc.a(abort.o)

What can I do to remedy / debug this?

P.S. I am not subscribed to this mailing list, so please CC me on any replies to this message so I can see them.

[1]: http://sprunge.us/QiBH

Thanks,

-- 
Harry Prevor




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux