linux-mips
[Top] [All Lists]

Re: compilation problem with kernel 2.6.15

To: James E Wilson <wilson@specifix.com>
Subject: Re: compilation problem with kernel 2.6.15
From: Krishna <dhunjukrishna@yahoo.com>
Date: Wed, 29 Mar 2006 03:49:03 -0800 (PST)
Cc: Ralf Baechle <ralf@linux-mips.org>, Linux-MIPS <linux-mips@linux-mips.org>
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; 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: <1143572962.13954.8.camel@aretha.corp.specifix.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
Reply-to: dhunjukrishna@gmail.com
Sender: linux-mips-bounce@linux-mips.org
I downloaded the exact tools and followed exact procedure suggested in http://www.linux-mips.org/wiki/Toolchains#Prologue. 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
el-unknown-linux-gnu-
  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
  /home/ssf/bdcom/linux-mips-kernels/linux-2.6.15/scripts/gen_initramfs_list.sh:
 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,
Krishna

James E Wilson <wilson@specifix.com> 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
bug.

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:
http://www.linux-mips.org/wiki/Toolchains#Prologue
recommends gcc-3.4. And if you follow the "recommended" link to
http://www.linux-mips.org/wiki/GCC
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, http://www.specifix.com




*Krishna*


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