Messages in this thread | | | Date | Sun, 31 Jan 1999 19:23:08 -0800 (PST) | From | Martin Bogomolni <> | Subject | PROBLEM: mkdep.c lacks a little endian definition for little endian mips machines |
| |
[1.] One line summary of the problem:
mkdep.c lacks a little endian definition for little endian mips machines
[2.] Full description of the problem/report:
When doing a make depend, mkdep.c is compiled in ./scripts. mkdep.c lacks a definition for the mips architecture, and thus creates a binary that does not work in a little endian system.
[3.] Keywords (i.e., modules, networking, kernel):
kernel, depend, dependencies, build
[4.] Kernel version (from /proc/version):
2.2.1
[5.] Output of Oops.. message (if applicable) with symbolic information resolved (see Documentation/oops-tracing.txt)
not applicable
[6.] A small shell script or example program which triggers the problem (if possible)
[7.] Environment
[7.1.] Software (add the output of the ver_linux script here)
-- Versions installed: (if some fields are empty or looks -- unusual then possibly you have very old versions) Linux lease11.cobaltnet.com 2.0.34 #1 Thu Jan 28 03:03:03 PST 1999 mips unknown Kernel modules found Gnu C 2.7.2 Binutils 2.8.1 Linux C Library 2.0.7 Dynamic linker ldd (GNU libc) 2.0.7 Linux C++ Library 2.7.2 Linux C++ Library 2.7.2 Procps 1.2.2 Mount 2.7f Net-tools 1.33 Kbd command Sh-utils 1.16
[7.2.] Processor information (from /proc/cpuinfo):
cpu : MIPS cpu model : Nevada V10.0 system type : Cobalt Microserver 27 BogoMIPS : 249.86 byteorder : little endian unaligned accesses : 73 wait instruction : yes microsecond timers : yes extra interrupt vector : yes hardware watchpoint : no
[7.3.] Module information (from /proc/modules):
none
[7.4.] SCSI information (from /proc/scsi/scsi)
Attached devices: none
[7.5.] Other information that might be relevant to the problem (please look in /proc and include all information that you think to be relevant):
mips machines <CAN> be set to either little or big endian. Perhaps a endianess test should be performed before mkdep is built, rather than the current test for alpha/i386/arm?
[X.] Other notes, patches, fixes, workarounds:
in mkdep.c
#if defined(__alpha__) || defined(__i386__) || defined(__arm__) #define LE_MACHINE #endif
SHOULD BE CHANGED TO
#if defined(__alpha__) || defined(__i386__) || defined(__arm__) || defined(__mips__) #define LE_MACHINE #endif
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |