This is the mail archive of the
mailing list for the libc-ports project.
Re: ABI problem: building libgcc_s for n64 MIPS glibc.
On Fri, Oct 20, 2006 at 06:12:19PM -0700, Kaz Kylheku wrote:
> I have compiled a MIPS glibc2 with -mabi=64, to run under the n64 MIPS
> memory model over a 64 bit kernel.
> I want to rebuild the final cross-compiler which will use the headers
> and libraries from this glibc.
> There is a little problem, however. GCC compiler isn't using the right
> ABI when building the objects for the target system, and so it cannot
> link against libc.
> The linking attempt to make libgcc_s.so results in tons of messages:
> ``ABI is incompatible with that of the selected emulation''.
> What's the right way to set this up?
Generally, you need to either build a mips64-linux GCC with the default
(enabled) setting for multilibs, or else you need to pick one when
configuring gcc using --with-abi.