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 ) id 1HJHez-00057M-AJ for garchives@archives.gentoo.org; Mon, 19 Feb 2007 23:11:05 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l1JNAmxB003310; Mon, 19 Feb 2007 23:10:48 GMT Received: from smtp104.plus.mail.re2.yahoo.com (smtp104.plus.mail.re2.yahoo.com [206.190.53.29]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l1JNAkSi003305 for ; Mon, 19 Feb 2007 23:10:47 GMT Received: (qmail 51645 invoked from network); 19 Feb 2007 23:10:46 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:Date:From:X-X-Sender:To:cc:Subject:In-Reply-To:Message-ID:References:MIME-Version:Content-Type; b=zlM/CQZV/PgWF1eiYrEwQfPdc/9x5UYTt0SbXdXo1GM7aKtXeNnvUYXn6gJyJIo5qoXfeipQISed9c1WNhDBOTY5Y7N5hYbGPtZsQsjEKbh2oP0OxV+WxZReCxl0+MHw/A00UPzBJVPcfRZbVAIO6fkkNT8uQYbodT8HSMpcYVo= ; Received: from unknown (HELO ?192.168.254.7?) (jscottkasten@72.185.69.24 with login) by smtp104.plus.mail.re2.yahoo.com with SMTP; 19 Feb 2007 23:10:45 -0000 X-YMail-OSG: 9zOL__sVM1lK9Vl.Z530shS_7BC.GSP0dmPctmatd83ijT6IpC3QmGDHSvZ991trx7VbRIm4Mvh7MHu_eZFTJZ.QNHRo0LuxOxLKyVjyKyaGGknR9AdA5VKoLo_FYW0.DwluajzCCdgXiKg- Date: Mon, 19 Feb 2007 17:54:17 -0500 (EST) From: "J. Scott Kasten" X-X-Sender: jsk@bluefang.tetracon-eng.net To: gentoo-mips@lists.gentoo.org cc: Michael Bevilacqua Subject: Re: [gentoo-mips] O2 IP32 | mips-sources fails to find ldscripts In-Reply-To: <20976ae0702190831wde18e41o6e646c716a005936@mail.gmail.com> Message-ID: References: <20976ae0702190831wde18e41o6e646c716a005936@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-mips@gentoo.org Reply-to: gentoo-mips@lists.gentoo.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Archives-Salt: aa96d038-6da8-4a69-bbce-38446c35008f X-Archives-Hash: e3b003bb9727cd7faa71016e621e15bc Hi, The ldscripts directory that you mention is a part of the bintuils ebuild. Not sure why your other tools are having problems. Here's the present levels of all my relevant stuff: binutils-2.16.1-r3 binutils-config-1.9-r3 gcc-3.4.6-r1 gcc-4.1.1 gcc-config-1.3.13-r4 kgcc64-3.4.6 kgcc64-4.1.1 As I look at it, it appears that only gcc-4.1.1 and kgcc64-4.1.1 are new. The others all came from the mips4 stage3 tarball when I installed the system a few weeks ago. When I call mips64-unknown-linux-gnu-gcc with the -v flag, it is clearly the 3.4.6 compiler. So the 4.1.1 versions would appear somewhat irrelevant at the moment. I built the kernel I'm running on now, and by appearances, it must have been the kgcc/gcc 3.4.6 that was used. It seems the only way I can call the 4.1.1 compiler is by using an explicit path down into it's tree. -S- On Mon, 19 Feb 2007, Michael Bevilacqua wrote: > 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 > > -- gentoo-mips@gentoo.org mailing list