This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


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

Compilation errors building gcc on mipsel


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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]