From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from <gentoo-mips+bounces-278-garchives=archives.gentoo.org@gentoo.org>) id 1HJBQy-0000gn-Uk for garchives@archives.gentoo.org; Mon, 19 Feb 2007 16:32:13 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l1JGVtdZ018558; Mon, 19 Feb 2007 16:31:55 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l1JGVscO018552 for <gentoo-mips@lists.gentoo.org>; Mon, 19 Feb 2007 16:31:54 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id A238B6497C for <gentoo-mips@lists.gentoo.org>; Mon, 19 Feb 2007 16:31:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -2.196 X-Spam-Level: X-Spam-Status: No, score=-2.196 required=5.5 tests=[AWL=0.094, BAYES_00=-2.599, HTML_MESSAGE=0.001, TW_BJ=0.077, TW_CX=0.077, TW_GC=0.077, TW_GT=0.077] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qbRrUkKj4R-x for <gentoo-mips@lists.gentoo.org>; Mon, 19 Feb 2007 16:31:42 +0000 (UTC) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by smtp.gentoo.org (Postfix) with ESMTP id 9F2AB6441C for <gentoo-mips@gentoo.org>; Mon, 19 Feb 2007 16:31:40 +0000 (UTC) Received: by ug-out-1314.google.com with SMTP id h2so525289ugf for <gentoo-mips@gentoo.org>; Mon, 19 Feb 2007 08:31:40 -0800 (PST) Received: by 10.114.78.1 with SMTP id a1mr2971800wab.1171902698849; Mon, 19 Feb 2007 08:31:38 -0800 (PST) Received: by 10.114.211.10 with HTTP; Mon, 19 Feb 2007 08:31:38 -0800 (PST) Message-ID: <20976ae0702190831wde18e41o6e646c716a005936@mail.gmail.com> Date: Mon, 19 Feb 2007 11:31:38 -0500 From: "Michael Bevilacqua" <michael@bevilacqua.us> To: gentoo-mips@lists.gentoo.org Subject: [gentoo-mips] O2 IP32 | mips-sources fails to find ldscripts Cc: "Michael Bevilacqua" <michael@bevilacqua.us> Precedence: bulk List-Post: <mailto:gentoo-mips@lists.gentoo.org> List-Help: <mailto:gentoo-mips+help@gentoo.org> List-Unsubscribe: <mailto:gentoo-mips+unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-mips+subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-mips.gentoo.org> X-BeenThere: gentoo-mips@gentoo.org Reply-to: gentoo-mips@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_28343_6484047.1171902698566" X-Archives-Salt: 803ec705-8ca0-418d-accf-8c47f18f87c8 X-Archives-Hash: 4d0fca32d9111a8ded608da828272985 ------=_Part_28343_6484047.1171902698566 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline During kernel compile ld(1) is unable to find /usr/lib/binutils/mips-unknown-linux-gnu/2.16.1/ldscripts 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. To get through the compile I created a link within /usr/src/linux like so: ln -s /usr/lib/binutils/mips-unknown-linux-gnu/2.16.1/ldscripts . However, even with the working .config that is running on my machine or the default ip32 config, I can't get this newly compiled kernel to work. It just hangs or does even load. Here is the original error: nano linux # make vmlinux.32 modules modules_install CROSS_COMPILE=mips64-unknown-linux-gnu- CHK include/linux/version.h SPLIT include/linux/autoconf.h -> include/config/* CC arch/mips/kernel/asm-offsets.s GEN include/asm-mips/asm-offsets.h CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/sumversion.o HOSTLD scripts/mod/modpost HOSTCC scripts/pnmtologo HOSTCC scripts/conmakehash HOSTCC scripts/bin2c CC init/main.o CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o CC init/do_mounts.o LD init/mounts.o mips64-unknown-linux-gnu-ld: cannot open linker script file ldscripts/elf64btsmip.xr: No such file or directory make[1]: *** [init/mounts.o] Error 1 make: *** [init] Error 2 Here is some system information that I hope will assist someone in pointing me at any mistakes I might have made: [ebuild R ] sys-devel/binutils-2.16.1-r3 USE="-multislot -multitarget -nls -test -vanilla" 12,368 kB [ebuild R ] sys-devel/gcc-4.1.1 USE="(-altivec) -bootstrap -build -doc -fortran -gcj -gtk (-hardened) -ip28 -ip32r10k -mudflap (-multilib) -multislot (-n32) (-n64) -nls -nocxx -objc -objc++ -objc-gc -test -vanilla" 38,303 kB nano linux # gcc-config -l [1] mips-unknown-linux-gnu-4.1.1 * [2] mips64-unknown-linux-gnu-4.1.1 * -- Michael D. Bevilacqua michael@bevilacqua.us ------=_Part_28343_6484047.1171902698566 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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'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> CHK include/linux/version.h<br> SPLIT include/linux/autoconf.h -> include/config/* <br> CC arch/mips/kernel/asm-offsets.s<br> GEN include/asm-mips/asm-offsets.h<br> CC scripts/mod/empty.o<br> HOSTCC scripts/mod/mk_elfconfig<br> MKELF scripts/mod/elfconfig.h<br> HOSTCC scripts/mod/file2alias.o <br> HOSTCC scripts/mod/modpost.o<br> HOSTCC scripts/mod/sumversion.o<br> HOSTLD scripts/mod/modpost<br> HOSTCC scripts/pnmtologo<br> HOSTCC scripts/conmakehash<br> HOSTCC scripts/bin2c<br> CC init/main.o <br> CHK include/linux/compile.h<br> UPD include/linux/compile.h<br> CC init/version.o<br> CC init/do_mounts.o<br> LD 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 R ] sys-devel/binutils- 2.16.1-r3 USE="-multislot -multitarget -nls -test -vanilla" 12,368 kB <br><br>[ebuild R ] sys-devel/gcc-4.1.1 USE="(-altivec) -bootstrap -build -doc -fortran -gcj -gtk (-hardened) -ip28 -ip32r10k -mudflap (-multilib) -multislot (-n32) (-n64) -nls -nocxx -objc -objc++ -objc-gc -test -vanilla" 38,303 kB <br><br>nano linux # gcc-config -l<br> [1] mips-unknown-linux-gnu-4.1.1 *<br> [2] mips64-unknown-linux-gnu-4.1.1 *<br><br><br clear="all"><br>-- <br>Michael D. Bevilacqua<br><a href="mailto:michael@bevilacqua.us" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> michael@bevilacqua.us</a> ------=_Part_28343_6484047.1171902698566-- -- gentoo-mips@gentoo.org mailing list