[Top] [All Lists]

Re: compilation problem with kernel 2.6.15

To: James E Wilson <>
Subject: Re: compilation problem with kernel 2.6.15
From: Krishna <>
Date: Wed, 29 Mar 2006 03:49:03 -0800 (PST)
Cc: Ralf Baechle <>, Linux-MIPS <>
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024;; h=Message-ID:Received:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=dZZxptFhuqcBp+NOXzicSr2BaUETaxOORTG+H7Xr+CaMUhNaKcMmIWO9Aml4iDna3/EmFxwH19aa8iq2dNRz88I7VE8oyPB430G9glqklJMd3pKEpoc093TfK/LN3NLzauAn0dCwLhsYH8mbBYefnS4W2avoVZYYDmBNbbhDieA= ;
In-reply-to: <>
Original-recipient: rfc822;
I downloaded the exact tools and followed exact procedure suggested in But while trying to cross compile the kernel 2.6.15 got the following error:
(root@Jamuna:/home/ssf/bdcom/linux-mips-kernels/linux-2.6.15)# make O=/home/ssf
/bdcom/linux-mips-kernels/linux-mips-kernel-2.6.15 ARCH=mips CROSS_COMPILE=mips
  Using /home/ssf/bdcom/linux-mips-kernels/linux-2.6.15 as source for kernel
  GEN    /home/ssf/bdcom/linux-mips-kernels/linux-mips-kernel-2.6.15/Makefile
  CHK     include/linux/version.h
  CC      arch/mips/kernel/asm-offsets.s
  GEN     include/asm-mips/asm-offsets.h
  CC      scripts/mod/empty.o
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
  CC      init/main.o
  CHK     include/linux/compile.h
  SKIPPED include/linux/compile.h
  CC      init/version.o
  CC      init/do_mounts.o
  CC      init/do_mounts_rd.o
  CC      init/do_mounts_initrd.o
  CC      init/do_mounts_md.o
  LD      init/mounts.o
  CC      init/initramfs.o
  CC      init/calibrate.o
  LD      init/built-in.o
  CHK     usr/initramfs_list
 Cannot open 'y'
make[2]: *** [usr/initramfs_list] Error 1
make[1]: *** [usr] Error 2
make: *** [_all] Error 2
can anyone suggest me what is the problem here?
Thanks in advance,

James E Wilson <> wrote:
On Tue, 2006-03-28 at 06:37, Krishna wrote:
> err
> or: read-only variable Î?Ã?ÿ__gu_valÎ?Ã?Ã? used as Î?Ã?ÿasmÎ?Ã?Ã? output

This means a new error check in gcc has found a latent kernel bug.

It is also sometimes the case that a new linux kernel finds a latent gcc

Note, in general, key parts of linux such as the kernel, glibc, and gcc,
often have such heavy dependencies on each other that you can not pick
and choose random versions. If you want to use a particular kernel
version, then there are often particular glibc and gcc versions you
should use with it, otherwise you are likely to run into trouble.

This link:
recommends gcc-3.4. And if you follow the "recommended" link to
it specifically recommends against use of gcc-4.1 for compiling the
linux kernel, as this hasn't been well tested yet.
Jim Wilson, GNU Tools Support,


New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
<Prev in Thread] Current Thread [Next in Thread>