[Top] [All Lists]

Re: Oddities with CVS Kernels, Memory on Indigo2

Subject: Re: Oddities with CVS Kernels, Memory on Indigo2
From: Kumba <>
Date: Tue, 15 Apr 2003 05:02:08 -0400
In-reply-to: <>
Original-recipient: rfc822;
References: <> <20030414140717.GA805@simek> <> <>
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
Ladislav Michl wrote:
On Tue, Apr 15, 2003 at 04:35:23AM -0400, Kumba wrote:

silly question: you specified -r linux_2_4 when checkouting kernel, didn't
you? otherwise you are trying to boot 2.5.47, which has broken serial console

Yes, I know I'm definitely working with 2.4 sources. 2.5's menuconfig still confuses me somewhat due to it's more organized layout.

anyway, toolchains i'm using to build 32-bit kernel:
$ mips-linux-gcc -v
Reading specs from /home/ladis/mips-tools/lib/gcc-lib/mips-linux/3.2/specs
Configured with: ../gcc-3.2/configure --prefix=/home/ladis/mips-tools 
--disable-shared --with-gnu-as --enable-languages=c --disable-nls --with-newlib 
--enable-checking=no --disable-threads 
--with-headers=/home/ladis/src/linux/include --target=mips-linux
Thread model: single
gcc version 3.2
$ mips-linux-ld -v
GNU ld version 2.13

64-bit kernel (egcs is patched with egcs-1.1.2.diff.gz from ftp):
$ mips64-linux-gcc -v
Reading specs from 
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
$ mips64-linux-ld -v
GNU ld version 2.13

# mips-unknown-linux-gnu-gcc -v
Reading specs from /home/crossdev/mips/lib/gcc-lib/mips-unknown-linux-gnu/3.2.2/specs Configured with: ../configure --prefix=/home/crossdev/mips --target=mips-unknown-linux-gnu --host=sparc-unknown-linux-gnu --disable-multilib --enable-shared --enable-languages=c,c++,ada,f77,objc --enable-nls --without-included-gettext --with-system-zlib --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-local-prefix=/local --with-libs=/home/crossdev/mips/lib --with-headers=/home/crossdev/mips/mips-unknown-linux-gnu/include
Thread model: posix
gcc version 3.2.2

# mips-unknown-linux-gnu-ld -v
GNU ld version 20021126

It's a cross compiler, specifically a sparc -> mips one, as my sparc machine is the fastest machine (Blade 100) running linux on my network atm. I stuck to the .16 binutils initially because I didn't know how to address the -mcpu curiosity that appears in .18 and .20. I originally thought that binutils was broken on mips, but after thinking about it, I partially suspect -mcpu has been gutted from the usable options.

I'm wondering if there are some strange oddities a slightly older binutils such as .16 may have in relation to the CVS kernels. In all likely, it's probably something else I'm overseeing, but I'm trying to eliminate possible causes and get to the root of this problem.


<Prev in Thread] Current Thread [Next in Thread>