[Bug 886] New: On mipsel linker says, .o file build with wrong byte order.

Martin J. Bligh (mbligh@aracnet.com)
Mon, 07 Jul 2003 20:52:18 -0700


http://bugme.osdl.org/show_bug.cgi?id=886

Summary: On mipsel linker says, .o file build with wrong byte
order.
Kernel Version: 2.5.74
Status: NEW
Severity: blocking
Owner: bugme-janitors@lists.osdl.org
Submitter: willi@goesgens.de

Distribution:Debian/Sarge
Hardware Environment:Cobalt Cube

HOSTCC usr/gen_init_cpio
CPIO usr/initramfs_data.cpio
GZIP usr/initramfs_data.cpio.gz
LD usr/initramfs_data.o
LD usr/built-in.o
ld: usr/initramfs_data.o: compiled for a big endian system and target is little
endian
File in wrong format: failed to merge target specific data of file
usr/initramfs_data.o
make[1]: *** [usr/built-in.o] Error 1
make: *** [usr] Error 2

tot:/usr/src/linux# file usr/initramfs_data.o
usr/initramfs_data.o: ELF 32-bit MSB MIPS-I relocatable, MIPS, version 1 (SYSV),
not stripped
tot:/usr/src/linux# file init/do_mounts.o
init/do_mounts.o: ELF 32-bit LSB MIPS-II relocatable, MIPS, version 1 (SYSV),
not stripped
tot:/usr/src/linux# uname -a
Linux tot 2.4.18 #11 Fri Aug 30 13:03:03 CEST 2002 mips GNU/Linux
tot:/usr/src/linux# cat /proc/cpuinfo
system type : MIPS Cobalt
cpu model : Nevada V10.0 FPU V10.0

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/