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.43)
	id 1EGGUe-00060f-Bq
	for garchives@archives.gentoo.org; Fri, 16 Sep 2005 13:43:08 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j8GDbiha010680;
	Fri, 16 Sep 2005 13:37:44 GMT
Received: from ices.utexas.edu (vortex.ices.utexas.edu [128.83.68.102])
	by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j8GDbgW7019573
	for <gentoo-mips@lists.gentoo.org>; Fri, 16 Sep 2005 13:37:43 GMT
Received: from block.ices.utexas.edu (block.ices.utexas.edu [128.83.68.107])
	by ices.utexas.edu (Postfix) with ESMTP id 7A37219099
	for <gentoo-mips@lists.gentoo.org>; Fri, 16 Sep 2005 08:43:09 -0500 (CDT)
Received: by block.ices.utexas.edu (Postfix, from userid 2120)
	id 61A09533A7; Fri, 16 Sep 2005 08:42:48 -0500 (CDT)
Date: Fri, 16 Sep 2005 08:42:48 -0500
From: Jason Pepas <cell@ices.utexas.edu>
To: gentoo-mips@lists.gentoo.org
Subject: Re: [gentoo-mips] bootstrap.sh on asus wl500g
Message-ID: <20050916134248.GC1024@ices.utexas.edu>
References: <20050916133443.GA1024@ices.utexas.edu>
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: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20050916133443.GA1024@ices.utexas.edu>
User-Agent: Mutt/1.5.6i
X-Archives-Salt: 1af0c020-e3bd-40ad-9f1d-dde34455702a
X-Archives-Hash: 6a5fe4e79fd5da679081947271ee1a1e

hmm, this guy had a similar problem, and it turned out his path was
incorrect:

http://www.linuxquestions.org/questions/history/339554

-jason pepas

On Fri, Sep 16, 2005 at 08:34:43AM -0500, Jason Pepas wrote:
> Hi,
> 
> I have an asus wl500g (same chip as the linksys wrt54g).  I put openwrt
> on it and chrooted into a 
> experimental/mips/embedded/stages/stage1-mipsel-uclibc-2005.0.tar.bz2
> tarball, with the idea of changing the profile and rebuiling.
> 
> I set up make.conf like so:
> 
>     CFLAGS="-Os -pipe -march=mips1"
>     CHOST="mipsel-unknown-linux-gnu"
> 
> and the profile like so:
> 
>     make.profile -> /usr/portage/profiles/default-linux/mips/2005.0
> 
> then ran scripts/bootstrap.sh
> 
> 
> gnuconfig had some bus errors, but didn't stop the script:
> 
> >>> Install gnuconfig-20050602 into
> >>> /var/tmp/portage/gnuconfig-20050602/image/ category sys-devel
> man:
> prepallstrip:
> strip: strip --strip-unneeded
> strip: strip --strip-unneeded
>    usr/share/gnuconfig/config.sub
> /usr/lib/portage/bin/prepstrip: line 19: 12405 Bus error
> ${STRIP} -g "${x}"
>    usr/share/gnuconfig/config.sub
> /usr/lib/portage/bin/prepstrip: line 19: 12406 Bus error
> ${STRIP} "${x}"
>    usr/share/gnuconfig/config.sub
> /usr/lib/portage/bin/prepstrip: line 19: 12407 Bus error
> ${STRIP} ${PORTAGE_STRIP_FLAGS} "${x}"
> readelf: Error: Unable to read in 0x656e bytes of section headers
> readelf: Error: Not an ELF file - it has the wrong magic bytes at the
> start
>    usr/share/gnuconfig/config.guess
> /usr/lib/portage/bin/prepstrip: line 19: 12411 Bus error
> ${STRIP} -g "${x}"
>    usr/share/gnuconfig/config.guess
> /usr/lib/portage/bin/prepstrip: line 19: 12412 Bus error
> ${STRIP} "${x}"
>    usr/share/gnuconfig/config.guess
> /usr/lib/portage/bin/prepstrip: line 19: 12413 Bus error
> ${STRIP} ${PORTAGE_STRIP_FLAGS} "${x}"
> readelf: Error: Unable to read in 0x6d65 bytes of section headers
> readelf: Error: Not an ELF file - it has the wrong magic bytes at the
> start
> >>> Completed installing gnuconfig-20050602 into
> >>> /var/tmp/portage/gnuconfig-20050602/image/
> 
> 
> and glibc failed during configure:
> 
> checking for suffix of object files... configure: error: cannot compute
> suffix of object files: cannot compile
> See `config.log' for more details.
> 
> !!! ERROR: sys-libs/glibc-2.3.5 failed.
> !!! Function glibc_do_configure, Line 938, Exitcode 1
> !!! failed to configure glibc
> 
> 
> any ideas?  I see the mips project website was just updated today, and I
> just realized last night that the cobalt images are little endian (the
> asus wl500g is little endian), so I'll try chrooting into one of those
> images next.
> 
> Thanks,
> Jason Pepas
> 
> -- 
> gentoo-mips@gentoo.org mailing list
-- 
gentoo-mips@gentoo.org mailing list