MIP lib64 fails - ABI is not compatible

Michael J. Hammel cross-lfs at graphics-muse.org
Mon Jan 9 09:46:30 PST 2006

I've run into this kind of error before using the MontaVista compiler
but never could understand what it meant.  Google searches didn't find
too many explanations (or maybe I just didn't understand them).

Anyway, this happens with the MIPS Multilib build for mips64.  Both
mips32 and mipsN32 completed successfully.  Anyone have any ideas on why
I run into this?  What exactly is the "selected emulation"?  I thought
that was the -mabi setting (but apparently not).

mips64-unknown-linux-gnu-gcc -meb -mabi=64   -nostdlib -nostartfiles -r
-o /mnt/lfs-mips/sources/bld/glibc-20051107/libc_pic.os \
 -Wl,-d -Wl,--whole-archive /mnt/lfs-
gnu/4.0.2/../../../../mips64-unknown-linux-gnu/bin/ld: /mnt/lfs-
mips/sources/bld/glibc-20051107/libc_pic.a(divdi3.os): ABI is
incompatible with that of the selected emulation
gnu/4.0.2/../../../../mips64-unknown-linux-gnu/bin/ld: failed to merge
target specific data of file /mnt/lfs-

Michael J. Hammel           |
The Graphics Muse           |  If it's true that we are here to help others, 
mjhammel at graphics-muse.org  |  then what exactly are the OTHERS here for?

More information about the cross-lfs mailing list