Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-mips
Navigation:
Lists: gentoo-mips: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-mips@g.o
From: "Michael Bevilacqua" <michael@...>
Subject: O2 IP32 | mips-sources fails to find ldscripts
Date: Mon, 19 Feb 2007 11:31:38 -0500
During kernel compile ld(1) is unable to find /usr/lib/binutils/mips-unknown-linux-gnu/2.16.1/ldscripts<br><br>I was able to compile my current kernel without problems prior to changing to gcc 4.1.1 and rebuilding world with the -e flag, so I have a bad feeling something was altered to make this error occur.
<br><br>To get through the compile I created a link within /usr/src/linux like so:<br><br>ln -s /usr/lib/binutils/mips-unknown-linux-gnu/2.16.1/ldscripts .<br><br>However, even with the working .config that is running on my machine or the default ip32 config, I can&#39;t get this newly compiled kernel to work. It just hangs or does even load.
<br><br><br>Here is the original error:<br><br>nano linux # make vmlinux.32 modules modules_install CROSS_COMPILE=mips64-unknown-linux-gnu-<br>&nbsp; CHK&nbsp;&nbsp;&nbsp;&nbsp; include/linux/version.h<br>&nbsp; SPLIT&nbsp;&nbsp; include/linux/autoconf.h -&gt; include/config/*
<br>&nbsp; CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; arch/mips/kernel/asm-offsets.s<br>&nbsp; GEN&nbsp;&nbsp;&nbsp;&nbsp; include/asm-mips/asm-offsets.h<br>&nbsp; CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; scripts/mod/empty.o<br>&nbsp; HOSTCC&nbsp; scripts/mod/mk_elfconfig<br>&nbsp; MKELF&nbsp;&nbsp; scripts/mod/elfconfig.h<br>&nbsp; HOSTCC&nbsp; scripts/mod/file2alias.o
<br>&nbsp; HOSTCC&nbsp; scripts/mod/modpost.o<br>&nbsp; HOSTCC&nbsp; scripts/mod/sumversion.o<br>&nbsp; HOSTLD&nbsp; scripts/mod/modpost<br>&nbsp; HOSTCC&nbsp; scripts/pnmtologo<br>&nbsp; HOSTCC&nbsp; scripts/conmakehash<br>&nbsp; HOSTCC&nbsp; scripts/bin2c<br>&nbsp; CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; init/main.o
<br>&nbsp; CHK&nbsp;&nbsp;&nbsp;&nbsp; include/linux/compile.h<br>&nbsp; UPD&nbsp;&nbsp;&nbsp;&nbsp; include/linux/compile.h<br>&nbsp; CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; init/version.o<br>&nbsp; CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; init/do_mounts.o<br>&nbsp; LD&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; init/mounts.o<br>mips64-unknown-linux-gnu-ld: cannot open linker script file ldscripts/elf64btsmip.xr: No such file or directory
<br>make[1]: *** [init/mounts.o] Error 1<br>make: *** [init] Error 2<br><br><br>Here is some system information that I hope will assist someone in pointing me at any mistakes I might have made:<br><br>[ebuild&nbsp;&nbsp; R&nbsp;&nbsp; ] sys-devel/binutils-
2.16.1-r3&nbsp; USE=&quot;-multislot -multitarget -nls -test -vanilla&quot; 12,368 kB
<br><br>[ebuild&nbsp;&nbsp; R&nbsp;&nbsp; ] sys-devel/gcc-4.1.1&nbsp; USE=&quot;(-altivec) -bootstrap -build -doc -fortran -gcj -gtk (-hardened) -ip28 -ip32r10k -mudflap (-multilib) -multislot (-n32) (-n64) -nls -nocxx -objc -objc++ -objc-gc -test -vanilla&quot; 38,303 kB
<br><br>nano linux # gcc-config -l<br>&nbsp;[1] mips-unknown-linux-gnu-4.1.1 *<br>&nbsp;[2] mips64-unknown-linux-gnu-4.1.1 *<br><br><br clear="all"><br>-- <br>Michael D. Bevilacqua<br><a href="mailto:michael@..." target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

michael@...</a>
Replies:
Re: O2 IP32 | mips-sources fails to find ldscripts
-- Kumba
Re: O2 IP32 | mips-sources fails to find ldscripts
-- J. Scott Kasten
Navigation:
Lists: gentoo-mips: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
<no subject>
Next by thread:
Re: O2 IP32 | mips-sources fails to find ldscripts
Previous by date:
Re: Indigo2 IP22 [Was LiveCD RC6]
Next by date:
Re: O2 IP32 | mips-sources fails to find ldscripts


Updated Jun 17, 2009

Summary: Archive of the gentoo-mips mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.